Set CFBundleAllowMixedLocalizations in the app bundle to have NSLocale.currentLocale return the correct locale on non-English systems
This commit is contained in:
parent
e96dfadae7
commit
8818b5d8df
3
setup.py
3
setup.py
@ -857,7 +857,10 @@ def macos_info_plist() -> bytes:
|
||||
import plistlib
|
||||
VERSION = '.'.join(map(str, version))
|
||||
pl = dict(
|
||||
# see https://github.com/kovidgoyal/kitty/issues/1233
|
||||
CFBundleDevelopmentRegion='English',
|
||||
CFBundleAllowMixedLocalizations=True,
|
||||
|
||||
CFBundleDisplayName=appname,
|
||||
CFBundleName=appname,
|
||||
CFBundleIdentifier='net.kovidgoyal.' + appname,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user