From 19cb98aa1de0e6a69bfd59604d9b415240ffdf2d Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Thu, 10 Dec 2015 16:37:12 -0600 Subject: [PATCH] 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 Signed-off-by: Alexandre Julliard --- loader/wine_info.plist.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader/wine_info.plist.in b/loader/wine_info.plist.in index 2895aea1407..6495b8f90f0 100644 --- a/loader/wine_info.plist.in +++ b/loader/wine_info.plist.in @@ -2,6 +2,8 @@ + CFBundleAllowMixedLocalizations + CFBundleDevelopmentRegion English CFBundleExecutable