diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2023-07-08 06:50:22 +0000 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2023-07-08 06:51:54 +0000 |
| commit | 16c96886b0d14a2e6b32af90cd4a35d0b9d9c5a9 (patch) | |
| tree | 85b2ee8410aab8f9e4d540b76b8e4e3a987135f7 /editors/vscode/files/patch-src_main.js | |
| parent | 3581ffd9e04ed1330141c7948d0be0d228d39c0f (diff) | |
Diffstat (limited to 'editors/vscode/files/patch-src_main.js')
| -rw-r--r-- | editors/vscode/files/patch-src_main.js | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/editors/vscode/files/patch-src_main.js b/editors/vscode/files/patch-src_main.js index cc43d1226b39..2375cc8af39e 100644 --- a/editors/vscode/files/patch-src_main.js +++ b/editors/vscode/files/patch-src_main.js @@ -1,7 +1,16 @@ ---- src/main.js.orig 2023-06-14 08:28:08 UTC +--- src/main.js.orig 2023-07-04 10:23:33 UTC +++ src/main.js -@@ -193,7 +193,7 @@ function configureCommandlineSwitchesSync(cliArgs) { - 'force-color-profile' +@@ -139,7 +139,7 @@ if (locale) { + // Pseudo Language Language Pack is being used. + // In that case, use `en` as the Electron locale. + +-if (process.platform === 'win32' || process.platform === 'linux') { ++if (process.platform === 'win32' || process.platform === 'linux' || process.platform === 'freebsd') { + const electronLocale = (!locale || locale === 'qps-ploc') ? 'en' : locale; + app.commandLine.appendSwitch('lang', electronLocale); + } +@@ -207,7 +207,7 @@ function configureCommandlineSwitchesSync(cliArgs) { + 'password-store' ]; - if (process.platform === 'linux') { |
