提交 d4bace7f 编写于 作者: D Dirk Baeumer

Fixes #45370: tr is not supported to load "Turkish Language Pack"

上级 024f5bc3
...@@ -282,7 +282,7 @@ function getNLSConfiguration(locale) { ...@@ -282,7 +282,7 @@ function getNLSConfiguration(locale) {
let isCoreLangaguage = true; let isCoreLangaguage = true;
if (locale) { if (locale) {
isCoreLangaguage = ['de', 'es', 'fr', 'it', 'ja', 'ko', 'ru', 'tr', 'zh-cn', 'zh-tw'].some((language) => { isCoreLangaguage = ['de', 'es', 'fr', 'it', 'ja', 'ko', 'ru', 'zh-cn', 'zh-tw'].some((language) => {
return locale === language || locale.startsWith(language + '-'); return locale === language || locale.startsWith(language + '-');
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册