loader: Add the CFBundleAllowMixedLocalizations key to the embedded Info.plist to...
commit19cb98aa1de0e6a69bfd59604d9b415240ffdf2d
authorKen Thomases <ken@codeweavers.com>
Thu, 10 Dec 2015 22:37:12 +0000 (10 16:37 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 12 Dec 2015 04:28:02 +0000 (12 05:28 +0100)
treee213a801a0a1cc9601e2af55ebdbb90407a32318
parentbcabae6f40fcd5338f1cd5acb7a77e6bcebf9d48
loader: Add the CFBundleAllowMixedLocalizations key to the embedded Info.plist to allow Cocoa to localize its strings.

The loader itself is not a bundled application, so it has no localizations as
far as the Mac APIs are concerned.  Its CFBundleDevelopmentRegion is English,
so that's the preferred localization that the Mac APIs choose for it.

Cocoa manages the Enter Full Screen menu item that the Mac driver creates.  By
default, Cocoa prefers not to mix localizations.  Therefore, even though Cocoa
contains localized strings for "Enter Full Screen", it was just using the
English one for Wine, regardless of system language.

Setting this key tells it to use the non-English localizations from Cocoa even
though the loader's own preferred localization is English.

Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
loader/wine_info.plist.in