Add core languages array
This commit is contained in:
Родитель
c069da4801
Коммит
b466acfdea
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "vscode-nls-dev",
|
||||
"version": "1.0.6",
|
||||
"version": "1.0.7",
|
||||
"description": "Development time npm module to generate strings bundles from Javascript files",
|
||||
"author": "Microsoft Corporation",
|
||||
"license": "MIT",
|
||||
|
|
|
@ -77,6 +77,8 @@ const iso639_3_to_2 = {
|
|||
'trk': 'tr'
|
||||
};
|
||||
|
||||
export const coreLanguages: string[] = ['chs', 'cht', 'jpn', 'kor', 'deu', 'fra', 'esn', 'rus', 'ita'];
|
||||
|
||||
export function createAdditionalLanguageFiles(languages: string[], i18nBaseDir: string, component?: string): ThroughStream {
|
||||
return through(function(file: File) {
|
||||
let basename = path.basename(file.path);
|
||||
|
|
Загрузка…
Ссылка в новой задаче