提交 4d492484 编写于 作者: D Dirk Baeumer

Mark the VSCODE_NLS_CONFIG to have language pack support

上级 3a619f24
......@@ -475,6 +475,7 @@ app.once('ready', function () {
// If that fails we fall back to English.
nlsConfiguration.then((nlsConfig) => {
let boot = (nlsConfig) => {
nlsConfig._languagePackSupport = true;
process.env['VSCODE_NLS_CONFIG'] = JSON.stringify(nlsConfig);
if (cachedDataDir) process.env['VSCODE_NODE_CACHED_DATA_DIR_' + process.pid] = cachedDataDir;
require('./bootstrap-amd').bootstrap('vs/code/electron-main/main');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册