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() {
580
580
// VS Code moves to Electron 22.
581
581
// Ref https://github.com/microsoft/vscode/issues/159813
582
582
// 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
+ // }
588
588
if ( ! appLocale ) {
589
589
nlsConfiguration = { locale : 'en' , availableLanguages : { } } ;
590
590
} else {
You can’t perform that action at this time.
0 commit comments