Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3f11766

Browse files
committed
L10N: Include country name in the language list
1 parent 44c670b commit 3f11766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExplorerPatcher/Localization.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ EP_L10N_Language LangIDToEPLanguage(LANGID wLanguage)
1313
EP_L10N_Language language = {};
1414
language.id = wLanguage;
1515
GetLocaleInfoW(wLanguage, LOCALE_SNAME, language.wszId, ARRAYSIZE(language.wszId));
16-
GetLocaleInfoW(wLanguage, LOCALE_SLOCALIZEDLANGUAGENAME, language.wszDisplayName, ARRAYSIZE(language.wszDisplayName));
16+
GetLocaleInfoW(wLanguage, LOCALE_SLOCALIZEDDISPLAYNAME, language.wszDisplayName, ARRAYSIZE(language.wszDisplayName));
1717
return language;
1818
}
1919

0 commit comments

Comments
 (0)