From aceab544e40f789acea1c79d10073187c00b78b1 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 12 Aug 2025 08:50:14 +0000 Subject: [PATCH] fix: add i18n support for Account button title - Replace hardcoded "Account" title with localization key in package.json - Add "command.account.title" translation to all package.nls.*.json files - Provide appropriate translations for each supported language Fixes #6975 --- src/package.json | 2 +- src/package.nls.ca.json | 1 + src/package.nls.de.json | 1 + src/package.nls.es.json | 1 + src/package.nls.fr.json | 1 + src/package.nls.hi.json | 1 + src/package.nls.id.json | 1 + src/package.nls.it.json | 1 + src/package.nls.ja.json | 1 + src/package.nls.json | 1 + src/package.nls.ko.json | 1 + src/package.nls.nl.json | 1 + src/package.nls.pl.json | 1 + src/package.nls.pt-BR.json | 1 + src/package.nls.ru.json | 1 + src/package.nls.tr.json | 1 + src/package.nls.vi.json | 1 + src/package.nls.zh-CN.json | 1 + src/package.nls.zh-TW.json | 1 + 19 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/package.json b/src/package.json index 29effb2f3a..7ce461ba3d 100644 --- a/src/package.json +++ b/src/package.json @@ -102,7 +102,7 @@ }, { "command": "roo-cline.accountButtonClicked", - "title": "Account", + "title": "%command.account.title%", "icon": "$(account)" }, { diff --git a/src/package.nls.ca.json b/src/package.nls.ca.json index 4340b80c2b..b8ad46e208 100644 --- a/src/package.nls.ca.json +++ b/src/package.nls.ca.json @@ -23,6 +23,7 @@ "command.history.title": "Historial", "command.marketplace.title": "Mercat", "command.openInEditor.title": "Obrir a l'Editor", + "command.account.title": "Compte", "command.settings.title": "Configuració", "command.documentation.title": "Documentació", "configuration.title": "Roo Code", diff --git a/src/package.nls.de.json b/src/package.nls.de.json index c0d84fb0bd..0200d7db70 100644 --- a/src/package.nls.de.json +++ b/src/package.nls.de.json @@ -23,6 +23,7 @@ "command.history.title": "Verlauf", "command.marketplace.title": "Marktplatz", "command.openInEditor.title": "Im Editor Öffnen", + "command.account.title": "Konto", "command.settings.title": "Einstellungen", "command.documentation.title": "Dokumentation", "configuration.title": "Roo Code", diff --git a/src/package.nls.es.json b/src/package.nls.es.json index 37c1eda344..9aa4b8b884 100644 --- a/src/package.nls.es.json +++ b/src/package.nls.es.json @@ -23,6 +23,7 @@ "command.history.title": "Historial", "command.marketplace.title": "Mercado", "command.openInEditor.title": "Abrir en Editor", + "command.account.title": "Cuenta", "command.settings.title": "Configuración", "command.documentation.title": "Documentación", "configuration.title": "Roo Code", diff --git a/src/package.nls.fr.json b/src/package.nls.fr.json index e040bd201b..3427325b11 100644 --- a/src/package.nls.fr.json +++ b/src/package.nls.fr.json @@ -23,6 +23,7 @@ "command.history.title": "Historique", "command.marketplace.title": "Marché", "command.openInEditor.title": "Ouvrir dans l'Éditeur", + "command.account.title": "Compte", "command.settings.title": "Paramètres", "command.documentation.title": "Documentation", "configuration.title": "Roo Code", diff --git a/src/package.nls.hi.json b/src/package.nls.hi.json index a67d8f30ed..24a3f0e3e9 100644 --- a/src/package.nls.hi.json +++ b/src/package.nls.hi.json @@ -23,6 +23,7 @@ "command.history.title": "इतिहास", "command.marketplace.title": "मार्केटप्लेस", "command.openInEditor.title": "एडिटर में खोलें", + "command.account.title": "खाता", "command.settings.title": "सेटिंग्स", "command.documentation.title": "दस्तावेज़ीकरण", "configuration.title": "Roo Code", diff --git a/src/package.nls.id.json b/src/package.nls.id.json index 988c41bf36..9b5b5900df 100644 --- a/src/package.nls.id.json +++ b/src/package.nls.id.json @@ -11,6 +11,7 @@ "command.history.title": "Riwayat", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Buka di Editor", + "command.account.title": "Akun", "command.settings.title": "Pengaturan", "command.documentation.title": "Dokumentasi", "command.openInNewTab.title": "Buka di Tab Baru", diff --git a/src/package.nls.it.json b/src/package.nls.it.json index 726e28593b..63f398742c 100644 --- a/src/package.nls.it.json +++ b/src/package.nls.it.json @@ -23,6 +23,7 @@ "command.history.title": "Cronologia", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Apri nell'Editor", + "command.account.title": "Account", "command.settings.title": "Impostazioni", "command.documentation.title": "Documentazione", "configuration.title": "Roo Code", diff --git a/src/package.nls.ja.json b/src/package.nls.ja.json index fa1e6c202d..5f6d746686 100644 --- a/src/package.nls.ja.json +++ b/src/package.nls.ja.json @@ -11,6 +11,7 @@ "command.history.title": "履歴", "command.marketplace.title": "マーケットプレイス", "command.openInEditor.title": "エディタで開く", + "command.account.title": "アカウント", "command.settings.title": "設定", "command.documentation.title": "ドキュメント", "command.openInNewTab.title": "新しいタブで開く", diff --git a/src/package.nls.json b/src/package.nls.json index 36ef72a823..de4bdfc311 100644 --- a/src/package.nls.json +++ b/src/package.nls.json @@ -11,6 +11,7 @@ "command.history.title": "History", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Open in Editor", + "command.account.title": "Account", "command.settings.title": "Settings", "command.documentation.title": "Documentation", "command.openInNewTab.title": "Open In New Tab", diff --git a/src/package.nls.ko.json b/src/package.nls.ko.json index c55566f043..2b3dff8ee4 100644 --- a/src/package.nls.ko.json +++ b/src/package.nls.ko.json @@ -23,6 +23,7 @@ "command.history.title": "기록", "command.marketplace.title": "마켓플레이스", "command.openInEditor.title": "에디터에서 열기", + "command.account.title": "계정", "command.settings.title": "설정", "command.documentation.title": "문서", "configuration.title": "Roo Code", diff --git a/src/package.nls.nl.json b/src/package.nls.nl.json index edcc5f7d12..99651a7204 100644 --- a/src/package.nls.nl.json +++ b/src/package.nls.nl.json @@ -11,6 +11,7 @@ "command.history.title": "Geschiedenis", "command.marketplace.title": "Marktplaats", "command.openInEditor.title": "Openen in Editor", + "command.account.title": "Account", "command.settings.title": "Instellingen", "command.documentation.title": "Documentatie", "command.openInNewTab.title": "Openen in Nieuw Tabblad", diff --git a/src/package.nls.pl.json b/src/package.nls.pl.json index c7547ac4c9..7fa93218ad 100644 --- a/src/package.nls.pl.json +++ b/src/package.nls.pl.json @@ -23,6 +23,7 @@ "command.history.title": "Historia", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Otwórz w Edytorze", + "command.account.title": "Konto", "command.settings.title": "Ustawienia", "command.documentation.title": "Dokumentacja", "configuration.title": "Roo Code", diff --git a/src/package.nls.pt-BR.json b/src/package.nls.pt-BR.json index 0b7f6c0d47..e81a8ee85c 100644 --- a/src/package.nls.pt-BR.json +++ b/src/package.nls.pt-BR.json @@ -23,6 +23,7 @@ "command.history.title": "Histórico", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Abrir no Editor", + "command.account.title": "Conta", "command.settings.title": "Configurações", "command.documentation.title": "Documentação", "configuration.title": "Roo Code", diff --git a/src/package.nls.ru.json b/src/package.nls.ru.json index 380337249d..92cb53df3c 100644 --- a/src/package.nls.ru.json +++ b/src/package.nls.ru.json @@ -11,6 +11,7 @@ "command.history.title": "История", "command.marketplace.title": "Маркетплейс", "command.openInEditor.title": "Открыть в редакторе", + "command.account.title": "Аккаунт", "command.settings.title": "Настройки", "command.documentation.title": "Документация", "command.openInNewTab.title": "Открыть в новой вкладке", diff --git a/src/package.nls.tr.json b/src/package.nls.tr.json index d5ba65da73..1a5dd78741 100644 --- a/src/package.nls.tr.json +++ b/src/package.nls.tr.json @@ -23,6 +23,7 @@ "command.history.title": "Geçmiş", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Düzenleyicide Aç", + "command.account.title": "Hesap", "command.settings.title": "Ayarlar", "command.documentation.title": "Dokümantasyon", "configuration.title": "Roo Code", diff --git a/src/package.nls.vi.json b/src/package.nls.vi.json index 503d1139b8..674402cb40 100644 --- a/src/package.nls.vi.json +++ b/src/package.nls.vi.json @@ -23,6 +23,7 @@ "command.history.title": "Lịch Sử", "command.marketplace.title": "Marketplace", "command.openInEditor.title": "Mở trong Trình Soạn Thảo", + "command.account.title": "Tài khoản", "command.settings.title": "Cài Đặt", "command.documentation.title": "Tài Liệu", "configuration.title": "Roo Code", diff --git a/src/package.nls.zh-CN.json b/src/package.nls.zh-CN.json index b93e022334..b17ff51cfe 100644 --- a/src/package.nls.zh-CN.json +++ b/src/package.nls.zh-CN.json @@ -23,6 +23,7 @@ "command.history.title": "历史记录", "command.marketplace.title": "应用市场", "command.openInEditor.title": "在编辑器中打开", + "command.account.title": "账户", "command.settings.title": "设置", "command.documentation.title": "文档", "configuration.title": "Roo Code", diff --git a/src/package.nls.zh-TW.json b/src/package.nls.zh-TW.json index 42aef592bd..66bf81c831 100644 --- a/src/package.nls.zh-TW.json +++ b/src/package.nls.zh-TW.json @@ -23,6 +23,7 @@ "command.history.title": "歷史記錄", "command.marketplace.title": "應用市場", "command.openInEditor.title": "在編輯器中開啟", + "command.account.title": "帳戶", "command.settings.title": "設定", "command.documentation.title": "文件", "configuration.title": "Roo Code",