From c29a1c71f9349f3b75e151cfc52fb7fad54261d8 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Sun, 4 Jan 2009 10:53:54 +0000 Subject: [PATCH] Add an empty 'en.lproj' directory so Aqua knows aegisub supports english. (stupid thing.) Originally committed to SVN as r2641. --- scripts/osx-bundle.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/osx-bundle.sh b/scripts/osx-bundle.sh index f18a53c15..8bddc40d1 100755 --- a/scripts/osx-bundle.sh +++ b/scripts/osx-bundle.sh @@ -35,10 +35,14 @@ cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/ echo echo "---- Copying locale files ----" +# Let Aqua know that aegisub supports english. English strings are +# internal so we don't need an aegisub.mo file. +mkdir -v ${PKG_DIR}/Contents/Resources/en.lproj + for i in `cat po/LINGUAS`; do if test -f "po/${i}.gmo"; then mkdir -v ${PKG_DIR}/Contents/Resources/${i}.lproj; - cp -v po/${i}.gmo ${PKG_DIR}/Contents/Resources//${i}.lproj/aegisub.po; + cp -v po/${i}.gmo ${PKG_DIR}/Contents/Resources/${i}.lproj/aegisub.mo; else echo "${i}.gmo not found!" fi