Skip to content

Commit cecf83c

Browse files
docs(vscode): i18n support of configurations and commands with zh-TW, ru and ja (#5340)
Co-authored-by: KazariEX <[email protected]>
1 parent 2a1a9b2 commit cecf83c

File tree

5 files changed

+86
-4
lines changed

5 files changed

+86
-4
lines changed

extensions/vscode/package.nls.ja.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"configuration.trace.server": "VS Code と Vue 言語サーバー間の通信をトレースします。",
3+
"configuration.server.includeLanguages": "拡張機能がアクティブになる言語を構成します。",
4+
"configuration.doctor.status": "ステータスバーに既知の問題を表示します。",
5+
"configuration.splitEditors.icon": "エディターのタイトル領域に分割エディターのアイコンを表示します。",
6+
"configuration.splitEditors.layout.left": "左分割エディターのブロック。",
7+
"configuration.splitEditors.layout.right": "右分割エディターのブロック。",
8+
"configuration.codeActions.enabled": "コードアクションを有効にします。",
9+
"configuration.codeActions.askNewComponentName": "コンポーネントを抽出する時に新しいコンポーネント名を尋ねます。",
10+
"configuration.codeLens.enabled": "コード透鏡を有効にします。",
11+
"configuration.complete.casing.tags": "タグ名のケース。",
12+
"configuration.complete.casing.props": "属性名のケース。",
13+
"configuration.complete.defineAssignment": "補完項目 `props` を選択する時に `defineProps` の前に `const props = ` を自動で追加します。(`emit` と `slots` も同様)",
14+
"configuration.autoInsert.dotValue": "Ref 値に `.value` を自動で追加します。",
15+
"configuration.autoInsert.bracketSpacing": "ダブルクォーテーションの前後にスペースを自動で追加します。",
16+
"configuration.inlayHints.destructuredProps": "解構された props のインレイ ヒントを表示します:\n\n```ts\nwatch(() => /* props. */foo, () => { ... });\n```",
17+
"configuration.inlayHints.missingProps": "不足している必要な属性のインレイ ヒントを表示します:\n\n```html\n<Comp />\n<!-- ^ foo! -->\n```",
18+
"configuration.inlayHints.inlineHandlerLeading": "インラインハンドラーの引数のインレイ ヒントを表示します:\n\n```html\n<Comp @foo=\"/* $event => */console.log($event)\" />\n```",
19+
"configuration.inlayHints.optionsWrapper": "コンポーネントオプションラッパーのインレイ ヒントを表示します:\n\n```vue\n<script lang=\"ts\">\nexport default /* (await import('vue')).defineComponent( */{}/* ) */;\n</script>\n```",
20+
"configuration.inlayHints.vBindShorthand": "v-bind のショートハンドのインレイ ヒントを表示します:\n\n```html\n<Comp :foo />\n <!-- ^ =\"foo\" -->\n```",
21+
"configuration.format.template.initialIndent": "テンプレートブロックの初期インデント。",
22+
"configuration.format.script.initialIndent": "スクリプトブロックの初期インデント。",
23+
"configuration.format.style.initialIndent": "スタイルブロックの初期インデント。",
24+
"configuration.format.wrapAttributes": "属性を折り返します。",
25+
"command.action.restartServer": "Vue と TS サーバーを再起動",
26+
"command.action.doctor": "プロジェクト診断",
27+
"command.action.splitEditors": "スクリプト、テンプレート、スタイルエディターを分割"
28+
}

extensions/vscode/package.nls.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"configuration.splitEditors.layout.right": "Blocks in the right split editor.",
88
"configuration.codeActions.enabled": "Enable code actions.",
99
"configuration.codeActions.askNewComponentName": "Ask for new component name when extract component.",
10-
1110
"configuration.codeLens.enabled": "Enable code lens.",
1211
"configuration.complete.casing.tags": "Preferred tag name case.",
1312
"configuration.complete.casing.props": "Preferred attr name case.",
@@ -26,4 +25,4 @@
2625
"command.action.restartServer": "Restart Vue and TS servers",
2726
"command.action.doctor": "Doctor",
2827
"command.action.splitEditors": "Split <script>, <template>, <style> Editors"
29-
}
28+
}

extensions/vscode/package.nls.ru.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"configuration.trace.server": "Отслеживает коммуникацию между VS Code и языковым сервером Vue.",
3+
"configuration.server.includeLanguages": "Конфигурирует языки, для которых должна быть активирована расширение.",
4+
"configuration.doctor.status": "Отображает известные проблемы в строке состояния.",
5+
"configuration.splitEditors.icon": "Отображает иконку разделенного редактора в области заголовка редактора.",
6+
"configuration.splitEditors.layout.left": "Блоки в левом разделенном редакторе.",
7+
"configuration.splitEditors.layout.right": "Блоки в правом разделенном редакторе.",
8+
"configuration.codeActions.enabled": "Включает код-действия.",
9+
"configuration.codeActions.askNewComponentName": "Запрашивает новое имя компонента при извлечении компонента.",
10+
"configuration.codeLens.enabled": "Включает код-линзы.",
11+
"configuration.complete.casing.tags": "Предпочитаемый формат имени тега.",
12+
"configuration.complete.casing.props": "Предпочитаемый формат имени атрибута.",
13+
"configuration.complete.defineAssignment": "Автоматически добавляет `const props = ` перед `defineProps` при выборе элемента завершения `props`. (также `emit` и `slots`)",
14+
"configuration.autoInsert.dotValue": "Автоматически добавляет `.value` при вводе ответной переменной.",
15+
"configuration.autoInsert.bracketSpacing": "Автоматически добавляет пробелы между двойными фигурными скобками: `{{|}}` -> `{{ | }}`",
16+
"configuration.inlayHints.destructuredProps": "Отображает подсказки для деструктуризированных props:\n\n```ts\nwatch(() => /* props. */foo, () => { ... });\n```",
17+
"configuration.inlayHints.missingProps": "Отображает подсказки для отсутствующих обязательных атрибутов:\n\n```html\n<Comp />\n<!-- ^ foo! -->\n```",
18+
"configuration.inlayHints.inlineHandlerLeading": "Отображает подсказки для аргументов встроенных обработчиков событий:\n\n```html\n<Comp @foo=\"/* $event => */console.log($event)\" />\n```",
19+
"configuration.inlayHints.optionsWrapper": "Отображает подсказки для оберток компонентов:\n\n```vue\n<script lang=\"ts\">\nexport default /* (await import('vue')).defineComponent( */{}/* ) */;\n</script>\n```",
20+
"configuration.inlayHints.vBindShorthand": "Отображает подсказки для сокращенного синтаксиса v-bind:\n\n```html\n<Comp :foo />\n <!-- ^ =\"foo\" -->\n```",
21+
"configuration.format.template.initialIndent": "Начальный отступ для блока `<template>`.",
22+
"configuration.format.script.initialIndent": "Начальный отступ для блока `<script>`.",
23+
"configuration.format.style.initialIndent": "Начальный отступ для блока `<style>`.",
24+
"configuration.format.wrapAttributes": "Отображает подсказки для оберток компонентов.",
25+
"command.action.restartServer": "Перезапускает Vue и TS сервер",
26+
"command.action.doctor": "Проект диагностика",
27+
"command.action.splitEditors": "Разделяет `<script>`, `<template>`, `<style>` редакторы"
28+
}

extensions/vscode/package.nls.zh-CN.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"configuration.splitEditors.layout.right": "位于右侧拆分编辑器的块。",
88
"configuration.codeActions.enabled": "启用代码操作。",
99
"configuration.codeActions.askNewComponentName": "提取组件时询问新组件名称。",
10-
1110
"configuration.codeLens.enabled": "启用代码透镜。",
1211
"configuration.complete.casing.tags": "首选标签命名格式。",
1312
"configuration.complete.casing.props": "首选属性命名格式。",
@@ -26,4 +25,4 @@
2625
"command.action.restartServer": "重启 Vue 和 TS 服务器",
2726
"command.action.doctor": "项目诊断",
2827
"command.action.splitEditors": "拆分 <script>, <template>, <style> 编辑器"
29-
}
28+
}
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"configuration.trace.server": "追蹤 VS Code 和 Vue 語言伺服器之間的通訊。",
3+
"configuration.server.includeLanguages": "配置擴充功能應該啟動的語言類型。",
4+
"configuration.doctor.status": "在狀態列顯示已知問題。",
5+
"configuration.splitEditors.icon": "在選項卡列顯示拆分編輯器圖示",
6+
"configuration.splitEditors.layout.left": "位於左側拆分編輯器的區塊。",
7+
"configuration.splitEditors.layout.right": "位於右側拆分編輯器的區塊。",
8+
"configuration.codeActions.enabled": "啟用程式碼動作。",
9+
"configuration.codeActions.askNewComponentName": "提取元件時詢問新元件名稱。",
10+
"configuration.codeLens.enabled": "啟用程式碼透鏡。",
11+
"configuration.complete.casing.tags": "首選標籤名稱格式。",
12+
"configuration.complete.casing.props": "首選屬性名稱格式。",
13+
"configuration.complete.defineAssignment": "選取補全項目 `props` 時,自動在 `defineProps` 前添加 `const props = `(也包括 `emit` 和 `slots`)。",
14+
"configuration.autoInsert.dotValue": "當輸入響應式變量時,自動補全 `.value`。",
15+
"configuration.autoInsert.bracketSpacing": "在雙花括號之間自動添加空格: `{{|}}` -> `{{ | }}`",
16+
"configuration.inlayHints.destructuredProps": "顯示解構 props 的內嵌提示:\n\n```ts\nwatch(() => /* props. */foo, () => { ... });\n```",
17+
"configuration.inlayHints.missingProps": "顯示缺失的必要屬性的內嵌提示:\n\n```html\n<Comp />\n<!-- ^ foo! -->\n```",
18+
"configuration.inlayHints.inlineHandlerLeading": "顯示內聯事件處理參數的內嵌提示:\n\n```html\n<Comp @foo=\"/* $event => */console.log($event)\" />\n```",
19+
"configuration.inlayHints.optionsWrapper": "顯示預設導出的元件選項包裝器的內嵌提示:\n\n```vue\n<script lang=\"ts\">\nexport default /* (await import('vue')).defineComponent( */{}/* ) */;\n</script>\n```",
20+
"configuration.inlayHints.vBindShorthand": "顯示 v-bind 簡寫的內嵌提示:\n\n```html\n<Comp :foo />\n <!-- ^ =\"foo\" -->\n```",
21+
"configuration.format.template.initialIndent": "`<template>` 區塊的初始縮排。",
22+
"configuration.format.script.initialIndent": "`<script>` 區塊的初始縮排。",
23+
"configuration.format.style.initialIndent": "`<style>` 區塊的初始縮排。",
24+
"configuration.format.wrapAttributes": "對屬性進行換行。",
25+
"command.action.restartServer": "重新啟動 Vue 和 TS 伺服器",
26+
"command.action.doctor": "專案診斷",
27+
"command.action.splitEditors": "拆分 <script>, <template>, <style> 編輯器"
28+
}

0 commit comments

Comments
 (0)