This commit is contained in:
Dirk Baeumer 2016-03-09 11:41:51 +01:00
Родитель c069da4801
Коммит b466acfdea
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -1,6 +1,6 @@
{ {
"name": "vscode-nls-dev", "name": "vscode-nls-dev",
"version": "1.0.6", "version": "1.0.7",
"description": "Development time npm module to generate strings bundles from Javascript files", "description": "Development time npm module to generate strings bundles from Javascript files",
"author": "Microsoft Corporation", "author": "Microsoft Corporation",
"license": "MIT", "license": "MIT",

Просмотреть файл

@ -77,6 +77,8 @@ const iso639_3_to_2 = {
'trk': 'tr' '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 { export function createAdditionalLanguageFiles(languages: string[], i18nBaseDir: string, component?: string): ThroughStream {
return through(function(file: File) { return through(function(file: File) {
let basename = path.basename(file.path); let basename = path.basename(file.path);