Skip to content

Commit b126f6b

Browse files
committed
Added 'pt-br' to supported languages.
1 parent 98b92df commit b126f6b

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

build/gulpfile.vscode.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ gulp.task('electron', ['clean-electron'], getElectron(process.arch));
158158
gulp.task('electron-ia32', ['clean-electron'], getElectron('ia32'));
159159
gulp.task('electron-x64', ['clean-electron'], getElectron('x64'));
160160

161-
const languages = ['chs', 'cht', 'jpn', 'kor', 'deu', 'fra', 'esn', 'rus', 'ita'];
161+
const languages = ['chs', 'cht', 'jpn', 'kor', 'deu', 'fra', 'esn', 'rus', 'ita', 'ptb'];
162162

163163
/**
164164
* Compute checksums for some files.
@@ -363,7 +363,8 @@ const vscodeLanguages = [
363363
'fr',
364364
'es',
365365
'ru',
366-
'it'
366+
'it',
367+
'pt-br'
367368
];
368369
const setupDefaultLanguages = [
369370
'zh-hans',

build/lib/i18n.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,8 @@ var encodings = {
968968
'fra': 'CP1252',
969969
'esn': 'CP1252',
970970
'rus': 'CP1251',
971-
'ita': 'CP1252'
971+
'ita': 'CP1252',
972+
'ptb': 'CP1252'
972973
};
973974
function createIslFile(base, originalFilePath, messages, language) {
974975
var content = [];

build/lib/i18n.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,8 @@ const encodings: Map<string> = {
10851085
'fra': 'CP1252',
10861086
'esn': 'CP1252',
10871087
'rus': 'CP1251',
1088-
'ita': 'CP1252'
1088+
'ita': 'CP1252',
1089+
'ptb': 'CP1252'
10891090
};
10901091

10911092
function createIslFile(base: string, originalFilePath: string, messages: Map<string>, language: string): File {

0 commit comments

Comments
 (0)