Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xxadev
vscode
提交
6bdcfaa5
V
vscode
项目概览
xxadev
/
vscode
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vscode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6bdcfaa5
编写于
6月 09, 2017
作者:
M
Michel Kaporin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added Hungarian and Turkish to Insiders. Resolves #28062 and #27608.
上级
441bfc3a
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
1006 addition
and
1001 deletion
+1006
-1001
build/gulpfile.vscode.js
build/gulpfile.vscode.js
+4
-2
build/lib/i18n.js
build/lib/i18n.js
+999
-998
build/lib/i18n.ts
build/lib/i18n.ts
+3
-1
未找到文件。
build/gulpfile.vscode.js
浏览文件 @
6bdcfaa5
...
...
@@ -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
'
,
...
...
build/lib/i18n.js
浏览文件 @
6bdcfaa5
...
...
@@ -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
=
[];
...
...
build/lib/i18n.ts
浏览文件 @
6bdcfaa5
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录