File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -580,11 +580,11 @@ async function resolveNlsConfiguration() {
580580 // VS Code moves to Electron 22.
581581 // Ref https://github.com/microsoft/vscode/issues/159813
582582 // and https://github.com/electron/electron/pull/36035
583- if ( 'getPreferredSystemLanguages' in app
584- && typeof app . getPreferredSystemLanguages === 'function'
585- && app . getPreferredSystemLanguages ( ) . length ) {
586- appLocale = app . getPreferredSystemLanguages ( ) [ 0 ] ;
587- }
583+ // if ('getPreferredSystemLanguages' in app
584+ // && typeof app.getPreferredSystemLanguages === 'function'
585+ // && app.getPreferredSystemLanguages().length) {
586+ // appLocale = app.getPreferredSystemLanguages()[0];
587+ // }
588588 if ( ! appLocale ) {
589589 nlsConfiguration = { locale : 'en' , availableLanguages : { } } ;
590590 } else {
You can’t perform that action at this time.
0 commit comments