diff --git a/.vscode/settings.json b/.vscode/settings.json index 811da37..4042c3f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,5 +10,8 @@ "typescript.tsc.autoDetect": "off", "i18n-haru.root": "l10n", "i18n-haru.main": "zh-cn", - "i18n-haru.line-hint-max-length": 20 + "i18n-haru.line-hint-max-length": 20, + "i18n-haru.custom-language-mapping": { + "en": "l10n/bundle.l10n.json" + } } \ No newline at end of file diff --git a/l10n/bundle.l10n.de.json b/l10n/bundle.l10n.de.json index 0e0f3c3..ced92b2 100644 --- a/l10n/bundle.l10n.de.json +++ b/l10n/bundle.l10n.de.json @@ -60,5 +60,6 @@ "info.dide-doc.no-dep-info": "Keine Abhängigkeitsinformationen", "info.dide-doc.source.cannot-find": "Nicht gefunden", "info.command.instantiation.pick-title": "Select a Module", - "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!" + "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!", + "info.launch.launch-digital-lsp": "启动 Digital LSP 语言服务器" } \ No newline at end of file diff --git a/l10n/bundle.l10n.ja.json b/l10n/bundle.l10n.ja.json index 6f2b335..5957d8e 100644 --- a/l10n/bundle.l10n.ja.json +++ b/l10n/bundle.l10n.ja.json @@ -60,5 +60,6 @@ "info.dide-doc.no-dep-info": "依存情報がありません", "info.dide-doc.source.cannot-find": "見つかりません", "info.command.instantiation.pick-title": "Select a Module", - "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!" + "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!", + "info.launch.launch-digital-lsp": "启动 Digital LSP 语言服务器" } \ No newline at end of file diff --git a/l10n/bundle.l10n.en.json b/l10n/bundle.l10n.json similarity index 97% rename from l10n/bundle.l10n.en.json rename to l10n/bundle.l10n.json index 207a78a..d04b720 100644 --- a/l10n/bundle.l10n.en.json +++ b/l10n/bundle.l10n.json @@ -60,5 +60,6 @@ "info.dide-doc.no-dep-info": "No dependency information", "info.dide-doc.source.cannot-find": "Cannot find", "info.command.instantiation.pick-title": "Select a Module", - "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!" + "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!", + "info.launch.launch-digital-lsp": "启动 Digital LSP 语言服务器" } \ No newline at end of file diff --git a/l10n/bundle.l10n.zh-cn.json b/l10n/bundle.l10n.zh-cn.json index 8501c65..b3c128d 100644 --- a/l10n/bundle.l10n.zh-cn.json +++ b/l10n/bundle.l10n.zh-cn.json @@ -60,5 +60,6 @@ "info.dide-doc.no-dep-info": "没有依赖信息", "info.dide-doc.source.cannot-find": "无法找到", "info.command.instantiation.pick-title": "选择一个模块", - "warn.command.clean.prjPath-is-workspace": "arch.prjPath 和当前的工作区目录相同, clean 功能可能会删除整个项目,请检查你的 arch.prjPath !" + "warn.command.clean.prjPath-is-workspace": "arch.prjPath 和当前的工作区目录相同, clean 功能可能会删除整个项目,请检查你的 arch.prjPath !", + "info.launch.launch-digital-lsp": "启动 Digital LSP 语言服务器" } \ No newline at end of file diff --git a/l10n/bundle.l10n.zh-tw.json b/l10n/bundle.l10n.zh-tw.json index 7e1dd85..49c894f 100644 --- a/l10n/bundle.l10n.zh-tw.json +++ b/l10n/bundle.l10n.zh-tw.json @@ -60,5 +60,6 @@ "info.dide-doc.no-dep-info": "沒有依賴信息", "info.dide-doc.source.cannot-find": "無法找到", "info.command.instantiation.pick-title": "Select a Module", - "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!" + "warn.command.clean.prjPath-is-workspace": "arch.prjPath is the same as the workspace path, the clean will delete the project, please check your arch.prjPath!", + "info.launch.launch-digital-lsp": "启动 Digital LSP 语言服务器" } \ No newline at end of file diff --git a/src/extension.ts b/src/extension.ts index e2d7adc..9d35039 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -66,7 +66,7 @@ async function launch(context: vscode.ExtensionContext) { await vscode.window.withProgress({ location: vscode.ProgressLocation.Window, - title: "启动 Digital LSP 语言服务器" + title: t('info.launch.launch-digital-lsp') }, async () => { await lspClient.activate(context, packageJson); });