* 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.
This commit is contained in:
Amar Takhar 2009-01-05 12:16:35 +00:00
parent 0d84a87098
commit 9e29094af2
2 changed files with 19 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>aegisub</string>
<string>Aegisub</string>
<key>CFBundleIconFile</key>
<string>Aegisub</string>
<key>CFBundleIdentifier</key>
@ -49,6 +49,23 @@
<key>CSResourcesFileMapped</key>
<true/>
<!-- Localizations supported -->
<key>CFBundleLocalizations</key>
<array>
<string>ca</string>
<string>da</string>
<string>de</string>
<string>en</string>
<string>es</string>
<string>fr_FR</string>
<string>hu</string>
<string>it</string>
<string>ko</string>
<string>ru</string>
<string>pt_BR</string>
<string>zh_TW</string>
</array>
<!-- Supported document types -->
<key>CFBundleDocumentTypes</key>
<array>

View File

@ -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}"