Add an empty 'en.lproj' directory so Aqua knows aegisub supports english.

(stupid thing.)

Originally committed to SVN as r2641.
This commit is contained in:
Amar Takhar 2009-01-04 10:53:54 +00:00
parent 548a9b6499
commit c29a1c71f9
1 changed files with 5 additions and 1 deletions

View File

@ -35,10 +35,14 @@ cat ${SKEL_DIR}/Contents/Info.plist |sed -f scripts/osx-bundle.sed > ${PKG_DIR}/
echo echo
echo "---- Copying locale files ----" 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 for i in `cat po/LINGUAS`; do
if test -f "po/${i}.gmo"; then if test -f "po/${i}.gmo"; then
mkdir -v ${PKG_DIR}/Contents/Resources/${i}.lproj; 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 else
echo "${i}.gmo not found!" echo "${i}.gmo not found!"
fi fi