提交 6bdcfaa5 编写于 作者: M Michel Kaporin

Added Hungarian and Turkish to Insiders. Resolves #28062 and #27608.

上级 441bfc3a
......@@ -86,7 +86,7 @@ const BUNDLED_FILE_HEADER = [
var languages = ['chs', 'cht', 'jpn', 'kor', 'deu', 'fra', 'esn', 'rus', 'ita'];
if (process.env.VSCODE_QUALITY !== 'stable') {
languages = languages.concat(['ptb']); // Add languages requested by the community to non-stable builds
languages = languages.concat(['ptb', 'hun', 'trk']); // Add languages requested by the community to non-stable builds
}
gulp.task('clean-optimized-vscode', util.rimraf('out-vscode'));
......@@ -369,7 +369,9 @@ const vscodeLanguages = [
'es',
'ru',
'it',
'pt-br'
'pt-br',
'hu',
'tr'
];
const setupDefaultLanguages = [
'zh-hans',
......
......@@ -3,7 +3,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.__esModule = true;
var path = require("path");
var fs = require("fs");
var event_stream_1 = require("event-stream");
......@@ -664,8 +664,8 @@ function pushXlfFiles(apiHostname, username, password) {
Promise.all(tryGetPromises).then(function () {
Promise.all(updateCreatePromises).then(function () {
_this.emit('end');
}).catch(function (reason) { throw new Error(reason); });
}).catch(function (reason) { throw new Error(reason); });
})["catch"](function (reason) { throw new Error(reason); });
})["catch"](function (reason) { throw new Error(reason); });
});
}
exports.pushXlfFiles = pushXlfFiles;
......@@ -817,7 +817,7 @@ function pullXlfFiles(projectName, apiHostname, username, password, languages, r
retrieveResource(language, resource, apiHostname, credentials).then(function (file) {
stream_1.emit('data', file);
translationsRetrieved++;
}).catch(function (error) { throw new Error(error); });
})["catch"](function (error) { throw new Error(error); });
});
});
}
......@@ -880,8 +880,7 @@ function prepareJsonFiles() {
}, function () {
var _this = this;
Promise.all(parsePromises)
.then(function () { _this.emit('end'); })
.catch(function (reason) { throw new Error(reason); });
.then(function () { _this.emit('end'); })["catch"](function (reason) { throw new Error(reason); });
});
}
exports.prepareJsonFiles = prepareJsonFiles;
......@@ -918,7 +917,9 @@ var encodings = {
'esn': 'CP1252',
'rus': 'CP1251',
'ita': 'CP1252',
'ptb': 'CP1252'
'ptb': 'CP1252',
'hun': 'CP1250',
'trk': 'CP1254'
};
function createIslFile(base, originalFilePath, messages, language) {
var content = [];
......
......@@ -1032,7 +1032,9 @@ const encodings: Map<string> = {
'esn': 'CP1252',
'rus': 'CP1251',
'ita': 'CP1252',
'ptb': 'CP1252'
'ptb': 'CP1252',
'hun': 'CP1250',
'trk': 'CP1254'
};
function createIslFile(base: string, originalFilePath: string, messages: Map<string>, language: string): File {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册