Delete i18n folder since we ship all languages in language packs

This commit is contained in:
Dirk Baeumer
2018-08-31 15:12:55 +02:00
parent 095400ad6c
commit b0cf441a78
8911 changed files with 2 additions and 148576 deletions

View File

@@ -403,8 +403,6 @@ gulp.task('vscode-translations-push-test', ['optimize-vscode'], function () {
gulp.task('vscode-translations-pull', function () {
return es.merge([...i18n.defaultLanguages, ...i18n.extraLanguages].map(language => {
i18n.pullCoreAndExtensionsXlfFiles(apiHostname, apiName, apiToken, language).pipe(vfs.dest(`../vscode-localization/${language.id}/build`));
let includeDefault = !!innoSetupConfig[language.id].defaultInfo;
return i18n.pullSetupXlfFiles(apiHostname, apiName, apiToken, language, includeDefault).pipe(vfs.dest(`../vscode-localization/${language.id}/setup`));
}));
@@ -412,13 +410,9 @@ gulp.task('vscode-translations-pull', function () {
gulp.task('vscode-translations-import', function () {
return es.merge([...i18n.defaultLanguages, ...i18n.extraLanguages].map(language => {
return es.merge([gulp.src(`../vscode-localization/${language.id}/build/*/*.xlf`)
.pipe(i18n.prepareI18nFiles())
.pipe(vfs.dest(`./i18n/${language.folderName}`)),
gulp.src(`../vscode-localization/${language.id}/setup/*/*.xlf`)
return gulp.src(`../vscode-localization/${language.id}/setup/*/*.xlf`)
.pipe(i18n.prepareIslFiles(language, innoSetupConfig[language.id]))
.pipe(vfs.dest(`./build/win32/i18n`))
]);
.pipe(vfs.dest(`./build/win32/i18n`));
}));
});