提交 80c7d69a 编写于 作者: B Benjamin Pasero

clean up

上级 2c14f736
<!-- Copyright (C) Microsoft Corporation. All rights reserved. -->
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<meta charset="utf-8" />
<!-- Theming (do not remove, we want to early load it to avoid flashing background) -->
<style>
.monaco-shell.vs-dark { background-color: #1E1E1E; }
.monaco-shell.vs-dark {
background-color: #1E1E1E;
}
</style>
<!-- Helpers -->
......@@ -124,15 +126,13 @@
} catch (e) {
}
}
var uiLanguage = nlsConfig.availableLanguages['*'];
if (uiLanguage) {
if (uiLanguage === 'zh-tw') {
uiLanguage = 'zh-Hant'
} else if (uiLanguage === 'zh-cn') {
uiLanguage = 'zh-Hans'
}
window.document.getElementsByTagName('html')[0].setAttribute('lang', uiLanguage)
var locale = nlsConfig.availableLanguages['*'] || 'en';
if (locale === 'zh-tw') {
locale = 'zh-Hant';
} else if (locale === 'zh-cn') {
locale = 'zh-Hans';
}
window.document.documentElement.setAttribute('lang', locale);
registerListeners(enableDeveloperTools);
......@@ -214,7 +214,7 @@
</script>
</head>
<body class="monaco-shell vs-dark" aria-label=""> <!-- setting aria label to empty here seems to prevent NVDA from reading the full URL of the application on start/reload -->
<body class="monaco-shell vs-dark" aria-label=""><!-- setting aria label to empty here seems to prevent NVDA from reading the full URL of the application on start/reload -->
<script>
(function() {
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册