feat: l10n support

This commit is contained in:
Levi Yan
2025-04-22 22:32:06 +08:00
parent 05a1edb8fb
commit 5385a9bc84
8 changed files with 70 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ export default class DSHome {
async toggle(devstarHomePageUrl: string = this.devstarHomePageUrl) {
const panel = vscode.window.createWebviewPanel(
'homeWebview',
'Home',
vscode.l10n.t('Home'),
vscode.ViewColumn.One,
{
enableScripts: true,