Update: 更新monaco (version: 0.52.2) 同时增加多国语言支持

This commit is contained in:
王立帮
2025-03-22 15:12:37 +08:00
parent dbc3a6af84
commit 26127b2747
40 changed files with 24969 additions and 115 deletions

View File

@@ -50,4 +50,4 @@
font-size: 16px;
}
</style>
<div class="example-tree-body" style="width:100%;height:100%;"></div>
<div class="example-tree-body page-item"></div>

View File

@@ -1,30 +0,0 @@
{
"$id": "en",
"Search for": "Search for",
"All": "All",
"Replace with": "Replace with",
"Replace": "Replace",
"Toggle Replace mode": "Toggle Replace mode",
"RegExp Search": "RegExp Search",
"CaseSensitive Search": "CaseSensitive Search",
"Whole Word Search": "Whole Word Search",
"Search In Selection": "Search In Selection",
"$0 of $1": "$0 of $1",
"Looks good!": "Looks good!",
"Recently used": "Recently used",
"Other commands": "Other commands",
"No matching commands": "No matching commands",
"Autocomplete suggestions": "Autocomplete suggestions",
"Cursor at row $0": "Cursor at row $0",
"Toggle code folding, rows $0 through $1": "Toggle code folding, rows $0 through $1",
"Toggle code folding, row $0": "Toggle code folding, row $0",
"Unfold code": "Unfold code",
"Fold code": "Fold code",
"Read annotations row $0": "Read annotations row $0",
"error": "error",
"errors": "errors",
"warning": "warning",
"warnings": "warnings",
"information message": "information message",
"information messages": "information messages"
}

View File

@@ -1,30 +0,0 @@
{
"$id": "zh-hans",
"Search for": "搜索",
"All": "全部",
"Replace with": "替换为",
"Replace": "替换",
"Toggle Replace mode": "切换替换模式",
"RegExp Search": "正则表达式搜索",
"CaseSensitive Search": "区分大小写搜索",
"Whole Word Search": "全词搜索",
"Search In Selection": "在选择中搜索",
"$0 of $1": "$0 共 $1",
"Looks good!": "看起来不错!",
"Recently used": "最近使用",
"Other commands": "其他命令",
"No matching commands": "没有匹配的命令",
"Autocomplete suggestions": "自动补全",
"Cursor at row $0": "光标位于第 $0 行",
"Toggle code folding, rows $0 through $1": "切换代码折叠,行 $0 至 $1",
"Toggle code folding, row $0": "切换代码折叠,行 $0",
"Unfold code": "展开代码",
"Fold code": "折叠代码",
"Read annotations row $0": "阅读注释行 $0",
"error": "错误",
"errors": "错误",
"warning": "警告",
"warnings": "警告",
"information message": "信息",
"information messages": "信息"
}

View File

@@ -1,30 +0,0 @@
{
"$id": "zh-hans",
"Search for": "搜尋",
"All": "全部",
"Replace with": "替換為",
"Replace": "替換",
"Toggle Replace mode": "切換替換模式",
"RegExp Search": "正規表示式搜尋",
"CaseSensitive Search": "區分大小寫搜尋",
"Whole Word Search": "全詞搜尋",
"Search In Selection": "在選擇中搜尋",
"$0 of $1": "$0 共 $1",
"Looks good!": "看起來不錯!",
"Recently used": "最近使用",
"Other commands": "其他指令",
"No matching commands": "沒有符合的命令",
"Autocomplete suggestions": "自動補全",
"Cursor at row $0": "遊標位於第 $0 行",
"Toggle code folding, rows $0 through $1": "切換代碼折疊,行 $0 至 $1",
"Toggle code folding, row $0": "切換代碼折疊,行 $0",
"Unfold code": "展開代碼",
"Fold code": "折疊代碼",
"Read annotations row $0": "閱讀註解行 $0",
"error": "錯誤",
"errors": "錯誤",
"warning": "警告",
"warnings": "警告",
"information message": "訊息",
"information messages": "訊息"
}

View File

@@ -0,0 +1,50 @@
{
"$id": "zh-hans",
"autocomplete.popup.aria-roledescription": "自动补全建议",
"autocomplete.popup.aria-label": "自动补全建议",
"autocomplete.popup.item.aria-roledescription": "项目",
"autocomplete.loading": "正在加载...",
"editor.scroller.aria-roledescription": "编辑器",
"editor.scroller.aria-label": "编辑器内容,按 Enter 开始编辑,按 Esc 退出",
"editor.gutter.aria-roledescription": "编辑器边缘",
"editor.gutter.aria-label": "编辑器边缘,按 Enter 使用箭头键与控件交互,按 Esc 退出",
"error-marker.good-state": "看起来不错!",
"prompt.recently-used": "最近使用",
"prompt.other-commands": "其他命令",
"prompt.no-matching-commands": "没有匹配的命令",
"search-box.find.placeholder": "搜索",
"search-box.find-all.text": "全部",
"search-box.replace.placeholder": "替换为",
"search-box.replace-next.text": "替换",
"search-box.replace-all.text": "全部",
"search-box.toggle-replace.title": "切换替换模式",
"search-box.toggle-regexp.title": "正则表达式搜索",
"search-box.toggle-case.title": "区分大小写搜索",
"search-box.toggle-whole-word.title": "全词搜索",
"search-box.toggle-in-selection.title": "在选定内容中搜索",
"search-box.search-counter": "$0 / $1",
"text-input.aria-roledescription": "编辑器",
"text-input.aria-label": "光标位于第 $0 行",
"gutter.code-folding.range.aria-label": "切换代码折叠,第 $0 行至第 $1 行",
"gutter.code-folding.closed.aria-label": "切换代码折叠,第 $0 行至第 $1 行",
"gutter.code-folding.open.aria-label": "切换代码折叠,第 $0 行",
"gutter.code-folding.closed.title": "展开代码",
"gutter.code-folding.open.title": "折叠代码",
"gutter.annotation.aria-label.error": "错误,读取注释第 $0 行",
"gutter.annotation.aria-label.warning": "警告,读取注释第 $0 行",
"gutter.annotation.aria-label.info": "信息,读取注释第 $0 行",
"inline-fold.closed.title": "展开代码",
"gutter-tooltip.aria-label.error.singular": "错误",
"gutter-tooltip.aria-label.error.plural": "错误",
"gutter-tooltip.aria-label.warning.singular": "警告",
"gutter-tooltip.aria-label.warning.plural": "警告",
"gutter-tooltip.aria-label.info.singular": "信息消息",
"gutter-tooltip.aria-label.info.plural": "信息消息",
"gutter.annotation.aria-label.security": "安全发现,阅读注释行 $0",
"gutter.annotation.aria-label.hint": "建议,阅读注释行 $0",
"gutter-tooltip.aria-label.security.singular": "安全发现",
"gutter-tooltip.aria-label.security.plural": "安全发现",
"gutter-tooltip.aria-label.hint.singular": "建议",
"gutter-tooltip.aria-label.hint.plural": "建议",
"editor.tooltip.disable-editing": "编辑功能已禁用"
}

View File

@@ -0,0 +1,50 @@
{
"$id": "zh-hant",
"autocomplete.popup.aria-roledescription": "自動補全建議",
"autocomplete.popup.aria-label": "自動補全建議",
"autocomplete.popup.item.aria-roledescription": "專案",
"autocomplete.loading": "正在載入...",
"editor.scroller.aria-roledescription": "編輯器",
"editor.scroller.aria-label": "編輯器內容,按 Enter 開始編輯,按 Esc 退出",
"editor.gutter.aria-roledescription": "編輯器邊緣",
"editor.gutter.aria-label": "編輯器邊緣,按 Enter 使用箭頭鍵與控制項交互,按 Esc 退出",
"error-marker.good-state": "看起來不錯!",
"prompt.recently-used": "最近使用",
"prompt.other-commands": "其他指令",
"prompt.no-matching-commands": "沒有符合的命令",
"search-box.find.placeholder": "搜尋",
"search-box.find-all.text": "全部",
"search-box.replace.placeholder": "替換為",
"search-box.replace-next.text": "替換",
"search-box.replace-all.text": "全部",
"search-box.toggle-replace.title": "切換替換模式",
"search-box.toggle-regexp.title": "正規表示式搜尋",
"search-box.toggle-case.title": "區分大小寫搜尋",
"search-box.toggle-whole-word.title": "全詞搜尋",
"search-box.toggle-in-selection.title": "在選定內容中搜尋",
"search-box.search-counter": "$0 / $1",
"text-input.aria-roledescription": "編輯器",
"text-input.aria-label": "遊標位於第 $0 行",
"gutter.code-folding.range.aria-label": "切換程式碼折疊,第 $0 行至第 $1 行",
"gutter.code-folding.closed.aria-label": "切換程式碼折疊,第 $0 行至第 $1 行",
"gutter.code-folding.open.aria-label": "切換程式碼折疊,第 $0 行",
"gutter.code-folding.closed.title": "展開代碼",
"gutter.code-folding.open.title": "折疊代碼",
"gutter.annotation.aria-label.error": "錯誤,讀取註解第 $0 行",
"gutter.annotation.aria-label.warning": "警告,讀取註解第 $0 行",
"gutter.annotation.aria-label.info": "訊息,讀取註解第 $0 行",
"inline-fold.closed.title": "展開代碼",
"gutter-tooltip.aria-label.error.singular": "錯誤",
"gutter-tooltip.aria-label.error.plural": "錯誤",
"gutter-tooltip.aria-label.warning.singular": "警告",
"gutter-tooltip.aria-label.warning.plural": "警告",
"gutter-tooltip.aria-label.info.singular": "訊息訊息",
"gutter-tooltip.aria-label.info.plural": "訊息訊息",
"gutter.annotation.aria-label.security": "安全發現,閱讀註解行 $0",
"gutter.annotation.aria-label.hint": "建議,閱讀註解行 $0",
"gutter-tooltip.aria-label.security.singular": "安全發現",
"gutter-tooltip.aria-label.security.plural": "安全發現",
"gutter-tooltip.aria-label.hint.singular": "建議",
"gutter-tooltip.aria-label.hint.plural": "建議",
"editor.tooltip.disable-editing": "編輯功能已停用"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff