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

@@ -104,7 +104,8 @@
"appearance": "Внешний вид",
"git": "Git",
"apiTokens": "API и токены",
"tasks": "Задачи"
"tasks": "Задачи",
"plugins": "Плагины"
},
"appearanceSettings": {
"darkMode": {
@@ -433,5 +434,41 @@
"title": "О Codex MCP",
"description": "Codex поддерживает MCP серверы на основе 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": "URL git-репозитория плагина",
"tab": "вкладка",
"runningStatus": "запущен"
}
}
}