From 9e29094af20a50e2a7152e4307ed3545324ea1a4 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Mon, 5 Jan 2009 12:16:35 +0000 Subject: [PATCH] * Add CFBundleLocalizations which will allow users to set the language via the System language setting. * Rename the binary from aegisub to Aegisub so it shows up properly in the title bar. (I have no idea why it uses this when using CFBundleLocalizations) Originally committed to SVN as r2653. --- packages/osx_bundle/Contents/Info.plist | 19 ++++++++++++++++++- scripts/osx-bundle.sh | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/packages/osx_bundle/Contents/Info.plist b/packages/osx_bundle/Contents/Info.plist index c0a5132df..979f04f5f 100644 --- a/packages/osx_bundle/Contents/Info.plist +++ b/packages/osx_bundle/Contents/Info.plist @@ -9,7 +9,7 @@ CFBundleDevelopmentRegion English CFBundleExecutable - aegisub + Aegisub CFBundleIconFile Aegisub CFBundleIdentifier @@ -49,6 +49,23 @@ CSResourcesFileMapped + + CFBundleLocalizations + + ca + da + de + en + es + fr_FR + hu + it + ko + ru + pt_BR + zh_TW + + CFBundleDocumentTypes diff --git a/scripts/osx-bundle.sh b/scripts/osx-bundle.sh index 8bddc40d1..6e6cb2b9e 100755 --- a/scripts/osx-bundle.sh +++ b/scripts/osx-bundle.sh @@ -54,7 +54,7 @@ cp -v aegisub/.libs/aegisub ${PKG_DIR}/Contents/MacOS echo echo "---- Libraries ----" -python scripts/osx-fix-libs.py "${PKG_DIR}/Contents/MacOS/aegisub" +python scripts/osx-fix-libs.py "${PKG_DIR}/Contents/MacOS/Aegisub" echo echo "Done Creating ${PKG_DIR}"