feat(i18n): localize plugin settings for all languages (#515)

* chore(gitignore): add .worktrees/ to .gitignore

* fix(gitignore): add .worktrees/ to .gitignore

* feat(i18n): localize plugin settings

- Add missing mainTabs.plugins key in Russian locale.
- Add useTranslation to PluginSettingsTab and MobileNav.
- Add pluginSettings translations for en, ru, ja, ko, zh-CN.
- Localize the mobile navigation More button.

* fix: remove Japanese symbols in Rorean translate

* fix: fix Korean typo and localize starter plugin error

* fix(plugins): localize toggle labels and fix translation issues

* refactor(plugins): extract inline onToggle to named handleToggle

* fix(plugins): localize repo input aria-label and "tab" badge
- Replace hardcoded aria-label with t('pluginSettings.installAriaLabel')
- Replace hardcoded "tab" badge text with t('pluginSettings.tab')
- Add missing keys to all settings.json locale files

* fix(plugins): localize "running" status badge
This commit is contained in:
Igor Zarubin
2026-03-11 15:09:54 +08:00
committed by GitHub
parent 4d8fb6e30a
commit 621853cbfb
8 changed files with 261 additions and 71 deletions

View File

@@ -434,5 +434,41 @@
"title": "Codex MCPについて",
"description": "Codexはstdioベースのツールサーバーをサポートしています。追加のツールやリソースでCodexの機能を拡張するサーバーを追加できます。"
}
},
"pluginSettings": {
"title": "プラグイン",
"description": "カスタムプラグインでインターフェースを拡張します。gitからインストールするか、~/.claude-code-ui/plugins/ にフォルダを配置してください。",
"installPlaceholder": "https://github.com/user/my-plugin",
"installButton": "インストール",
"installing": "インストール中…",
"securityWarning": "信頼できる作成者のプラグイン、またはソースコードを確認済みのプラグインのみをインストールしてください。",
"scanningPlugins": "プラグインをスキャン中…",
"noPluginsInstalled": "プラグインがインストールされていません",
"pullLatest": "gitから最新を取得",
"noGitRemote": "リモートgitリポジトリがありません — アップデート不可",
"uninstallPlugin": "プラグインを削除",
"confirmUninstall": "クリックして確定",
"confirmUninstallMessage": "{{name}} を削除しますか?この操作は取り消せません。",
"cancel": "キャンセル",
"remove": "削除",
"updateFailed": "アップデートに失敗しました",
"installFailed": "インストールに失敗しました",
"uninstallFailed": "削除に失敗しました",
"toggleFailed": "切り替えに失敗しました",
"buildYourOwn": "プラグインを自作する",
"starter": "スターター",
"docs": "ドキュメント",
"starterPlugin": {
"name": "プロジェクト統計",
"badge": "スターター",
"description": "プロジェクトのファイル数、コード行数、ファイルタイプの内訳、最近のアクティビティを表示します。",
"install": "インストール"
},
"morePlugins": "詳細",
"enable": "有効にする",
"disable": "無効にする",
"installAriaLabel": "プラグインのgitリポジトリURL",
"tab": "タブ",
"runningStatus": "実行中"
}
}
}