mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-25 12:16:07 +00:00
make locale comparison case-unsensitive; fixes #42304
This commit is contained in:
@@ -484,7 +484,7 @@ app.once('ready', function () {
|
||||
boot({ locale: 'en', availableLanguages: {} });
|
||||
} else {
|
||||
// See above the comment about the loader and case sensitiviness
|
||||
appLocale.toLowerCase();
|
||||
appLocale = appLocale.toLowerCase();
|
||||
getNLSConfiguration(appLocale).then((nlsConfig) => {
|
||||
if (!nlsConfig) {
|
||||
nlsConfig = { locale: appLocale, availableLanguages: {} };
|
||||
|
||||
Reference in New Issue
Block a user