mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #52113 from twangboy/fix_lgpo
Fix issue with default language in LGPO
This commit is contained in:
commit
a743fff416
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ try:
|
|||
# Default to `en-US` (1033)
|
||||
windll = ctypes.windll.kernel32
|
||||
INSTALL_LANGUAGE = locale.windows_locale.get(
|
||||
windll.GetSystemDefaultUILanguage(), 1033).replace('_', '-')
|
||||
windll.GetSystemDefaultUILanguage(), 'en_US').replace('_', '-')
|
||||
except ImportError:
|
||||
HAS_WINDOWS_MODULES = False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue