From 0b714fdb42f23e645fd52126a63d23c60dccdae0 Mon Sep 17 00:00:00 2001 From: hannesrudolph Date: Tue, 15 Jul 2025 12:19:06 -0600 Subject: [PATCH] fix: add missing translations for disableLlmSuggestions setting - Added English placeholder translations for all non-English locales - This fixes the check-translations CI failure - Translations can be properly localized in future updates --- webview-ui/src/i18n/locales/ca/settings.json | 6 +++++- webview-ui/src/i18n/locales/de/settings.json | 6 +++++- webview-ui/src/i18n/locales/es/settings.json | 6 +++++- webview-ui/src/i18n/locales/fr/settings.json | 6 +++++- webview-ui/src/i18n/locales/hi/settings.json | 6 +++++- webview-ui/src/i18n/locales/id/settings.json | 6 +++++- webview-ui/src/i18n/locales/it/settings.json | 6 +++++- webview-ui/src/i18n/locales/ja/settings.json | 6 +++++- webview-ui/src/i18n/locales/ko/settings.json | 6 +++++- webview-ui/src/i18n/locales/nl/settings.json | 6 +++++- webview-ui/src/i18n/locales/pl/settings.json | 6 +++++- webview-ui/src/i18n/locales/pt-BR/settings.json | 6 +++++- webview-ui/src/i18n/locales/ru/settings.json | 6 +++++- webview-ui/src/i18n/locales/tr/settings.json | 6 +++++- webview-ui/src/i18n/locales/vi/settings.json | 6 +++++- webview-ui/src/i18n/locales/zh-CN/settings.json | 6 +++++- webview-ui/src/i18n/locales/zh-TW/settings.json | 6 +++++- 17 files changed, 85 insertions(+), 17 deletions(-) diff --git a/webview-ui/src/i18n/locales/ca/settings.json b/webview-ui/src/i18n/locales/ca/settings.json index 0dd08afb29..2899fcdc60 100644 --- a/webview-ui/src/i18n/locales/ca/settings.json +++ b/webview-ui/src/i18n/locales/ca/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Introduïu prefix de comanda (ex. 'git ')", "deniedCommandPlaceholder": "Introduïu prefix de comanda a denegar (ex. 'rm -rf')", "addButton": "Afegir", - "autoDenied": "Les comandes amb el prefix `{{prefix}}` han estat prohibides per l'usuari. No eludeixis aquesta restricció executant una altra comanda." + "autoDenied": "Les comandes amb el prefix `{{prefix}}` han estat prohibides per l'usuari. No eludeixis aquesta restricció executant una altra comanda.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/de/settings.json b/webview-ui/src/i18n/locales/de/settings.json index 923475d3fd..45fc0b5004 100644 --- a/webview-ui/src/i18n/locales/de/settings.json +++ b/webview-ui/src/i18n/locales/de/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Befehlspräfix eingeben (z.B. 'git ')", "deniedCommandPlaceholder": "Befehlspräfix zum Verweigern eingeben (z.B. 'rm -rf')", "addButton": "Hinzufügen", - "autoDenied": "Befehle mit dem Präfix `{{prefix}}` wurden vom Benutzer verboten. Umgehe diese Beschränkung nicht durch das Ausführen eines anderen Befehls." + "autoDenied": "Befehle mit dem Präfix `{{prefix}}` wurden vom Benutzer verboten. Umgehe diese Beschränkung nicht durch das Ausführen eines anderen Befehls.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/es/settings.json b/webview-ui/src/i18n/locales/es/settings.json index 7f6af9bd72..35b748808e 100644 --- a/webview-ui/src/i18n/locales/es/settings.json +++ b/webview-ui/src/i18n/locales/es/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Ingrese prefijo de comando (ej. 'git ')", "deniedCommandPlaceholder": "Ingrese prefijo de comando a denegar (ej. 'rm -rf')", "addButton": "Añadir", - "autoDenied": "Los comandos con el prefijo `{{prefix}}` han sido prohibidos por el usuario. No eludes esta restricción ejecutando otro comando." + "autoDenied": "Los comandos con el prefijo `{{prefix}}` han sido prohibidos por el usuario. No eludes esta restricción ejecutando otro comando.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/fr/settings.json b/webview-ui/src/i18n/locales/fr/settings.json index 5986a5bf17..d26c832f86 100644 --- a/webview-ui/src/i18n/locales/fr/settings.json +++ b/webview-ui/src/i18n/locales/fr/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Entrez le préfixe de commande (ex. 'git ')", "deniedCommandPlaceholder": "Entrez le préfixe de commande à refuser (ex. 'rm -rf')", "addButton": "Ajouter", - "autoDenied": "Les commandes avec le préfixe `{{prefix}}` ont été interdites par l'utilisateur. Ne contourne pas cette restriction en exécutant une autre commande." + "autoDenied": "Les commandes avec le préfixe `{{prefix}}` ont été interdites par l'utilisateur. Ne contourne pas cette restriction en exécutant une autre commande.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/hi/settings.json b/webview-ui/src/i18n/locales/hi/settings.json index 0a99064588..edc45dbafd 100644 --- a/webview-ui/src/i18n/locales/hi/settings.json +++ b/webview-ui/src/i18n/locales/hi/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "कमांड प्रीफिक्स दर्ज करें (उदा. 'git ')", "deniedCommandPlaceholder": "अस्वीकार करने के लिए कमांड प्रीफिक्स दर्ज करें (उदा. 'rm -rf')", "addButton": "जोड़ें", - "autoDenied": "प्रीफिक्स `{{prefix}}` वाले कमांड उपयोगकर्ता द्वारा प्रतिबंधित किए गए हैं। दूसरा कमांड चलाकर इस प्रतिबंध को दरकिनार न करें।" + "autoDenied": "प्रीफिक्स `{{prefix}}` वाले कमांड उपयोगकर्ता द्वारा प्रतिबंधित किए गए हैं। दूसरा कमांड चलाकर इस प्रतिबंध को दरकिनार न करें।", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "टूडू", diff --git a/webview-ui/src/i18n/locales/id/settings.json b/webview-ui/src/i18n/locales/id/settings.json index 9ae5dd846c..ea00242c15 100644 --- a/webview-ui/src/i18n/locales/id/settings.json +++ b/webview-ui/src/i18n/locales/id/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Masukkan prefix perintah (misalnya, 'git ')", "deniedCommandPlaceholder": "Masukkan prefix perintah untuk ditolak (misalnya, 'rm -rf')", "addButton": "Tambah", - "autoDenied": "Perintah dengan awalan `{{prefix}}` telah dilarang oleh pengguna. Jangan menghindari pembatasan ini dengan menjalankan perintah lain." + "autoDenied": "Perintah dengan awalan `{{prefix}}` telah dilarang oleh pengguna. Jangan menghindari pembatasan ini dengan menjalankan perintah lain.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "showMenu": { "label": "Tampilkan menu auto-approve di tampilan chat", diff --git a/webview-ui/src/i18n/locales/it/settings.json b/webview-ui/src/i18n/locales/it/settings.json index a2897496ec..e40c18ddfc 100644 --- a/webview-ui/src/i18n/locales/it/settings.json +++ b/webview-ui/src/i18n/locales/it/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Inserisci prefisso comando (es. 'git ')", "deniedCommandPlaceholder": "Inserisci prefisso comando da negare (es. 'rm -rf')", "addButton": "Aggiungi", - "autoDenied": "I comandi con il prefisso `{{prefix}}` sono stati vietati dall'utente. Non aggirare questa restrizione eseguendo un altro comando." + "autoDenied": "I comandi con il prefisso `{{prefix}}` sono stati vietati dall'utente. Non aggirare questa restrizione eseguendo un altro comando.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/ja/settings.json b/webview-ui/src/i18n/locales/ja/settings.json index bda4182851..cfcfb37647 100644 --- a/webview-ui/src/i18n/locales/ja/settings.json +++ b/webview-ui/src/i18n/locales/ja/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "コマンドプレフィックスを入力(例:'git ')", "deniedCommandPlaceholder": "拒否するコマンドプレフィックスを入力(例:'rm -rf')", "addButton": "追加", - "autoDenied": "プレフィックス `{{prefix}}` を持つコマンドはユーザーによって禁止されています。別のコマンドを実行してこの制限を回避しないでください。" + "autoDenied": "プレフィックス `{{prefix}}` を持つコマンドはユーザーによって禁止されています。別のコマンドを実行してこの制限を回避しないでください。", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/ko/settings.json b/webview-ui/src/i18n/locales/ko/settings.json index 5053ed62f3..100c83aa17 100644 --- a/webview-ui/src/i18n/locales/ko/settings.json +++ b/webview-ui/src/i18n/locales/ko/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "명령 접두사 입력(예: 'git ')", "deniedCommandPlaceholder": "거부할 명령 접두사 입력(예: 'rm -rf')", "addButton": "추가", - "autoDenied": "접두사 `{{prefix}}`를 가진 명령어는 사용자에 의해 금지되었습니다. 다른 명령어를 실행하여 이 제한을 우회하지 마세요." + "autoDenied": "접두사 `{{prefix}}`를 가진 명령어는 사용자에 의해 금지되었습니다. 다른 명령어를 실행하여 이 제한을 우회하지 마세요.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/nl/settings.json b/webview-ui/src/i18n/locales/nl/settings.json index ab12e1931c..c57c9e1299 100644 --- a/webview-ui/src/i18n/locales/nl/settings.json +++ b/webview-ui/src/i18n/locales/nl/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Voer commando-prefix in (bijv. 'git ')", "deniedCommandPlaceholder": "Voer te weigeren commando-prefix in (bijv. 'rm -rf')", "addButton": "Toevoegen", - "autoDenied": "Commando's met het prefix `{{prefix}}` zijn verboden door de gebruiker. Omzeil deze beperking niet door een ander commando uit te voeren." + "autoDenied": "Commando's met het prefix `{{prefix}}` zijn verboden door de gebruiker. Omzeil deze beperking niet door een ander commando uit te voeren.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/pl/settings.json b/webview-ui/src/i18n/locales/pl/settings.json index 266c668606..4b79ec6fd3 100644 --- a/webview-ui/src/i18n/locales/pl/settings.json +++ b/webview-ui/src/i18n/locales/pl/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Wprowadź prefiks polecenia (np. 'git ')", "deniedCommandPlaceholder": "Wprowadź prefiks polecenia do odrzucenia (np. 'rm -rf')", "addButton": "Dodaj", - "autoDenied": "Polecenia z prefiksem `{{prefix}}` zostały zabronione przez użytkownika. Nie obchodź tego ograniczenia uruchamiając inne polecenie." + "autoDenied": "Polecenia z prefiksem `{{prefix}}` zostały zabronione przez użytkownika. Nie obchodź tego ograniczenia uruchamiając inne polecenie.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/pt-BR/settings.json b/webview-ui/src/i18n/locales/pt-BR/settings.json index e9825ae749..bf5ee2e8d8 100644 --- a/webview-ui/src/i18n/locales/pt-BR/settings.json +++ b/webview-ui/src/i18n/locales/pt-BR/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Digite o prefixo do comando (ex. 'git ')", "deniedCommandPlaceholder": "Digite o prefixo do comando para negar (ex. 'rm -rf')", "addButton": "Adicionar", - "autoDenied": "Comandos com o prefixo `{{prefix}}` foram proibidos pelo usuário. Não contorne esta restrição executando outro comando." + "autoDenied": "Comandos com o prefixo `{{prefix}}` foram proibidos pelo usuário. Não contorne esta restrição executando outro comando.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/ru/settings.json b/webview-ui/src/i18n/locales/ru/settings.json index 1b74b2253f..89b647582b 100644 --- a/webview-ui/src/i18n/locales/ru/settings.json +++ b/webview-ui/src/i18n/locales/ru/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Введите префикс команды (например, 'git ')", "deniedCommandPlaceholder": "Введите префикс команды для запрета (например, 'rm -rf')", "addButton": "Добавить", - "autoDenied": "Команды с префиксом `{{prefix}}` были запрещены пользователем. Не обходи это ограничение, выполняя другую команду." + "autoDenied": "Команды с префиксом `{{prefix}}` были запрещены пользователем. Не обходи это ограничение, выполняя другую команду.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/tr/settings.json b/webview-ui/src/i18n/locales/tr/settings.json index 49d1803ddf..2855b3c247 100644 --- a/webview-ui/src/i18n/locales/tr/settings.json +++ b/webview-ui/src/i18n/locales/tr/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Komut öneki girin (örn. 'git ')", "deniedCommandPlaceholder": "Reddetmek için komut öneki girin (örn. 'rm -rf')", "addButton": "Ekle", - "autoDenied": "`{{prefix}}` önekli komutlar kullanıcı tarafından yasaklandı. Başka bir komut çalıştırarak bu kısıtlamayı aşma." + "autoDenied": "`{{prefix}}` önekli komutlar kullanıcı tarafından yasaklandı. Başka bir komut çalıştırarak bu kısıtlamayı aşma.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/vi/settings.json b/webview-ui/src/i18n/locales/vi/settings.json index c12b5778a2..ce424babe6 100644 --- a/webview-ui/src/i18n/locales/vi/settings.json +++ b/webview-ui/src/i18n/locales/vi/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "Nhập tiền tố lệnh (ví dụ: 'git ')", "deniedCommandPlaceholder": "Nhập tiền tố lệnh để từ chối (ví dụ: 'rm -rf')", "addButton": "Thêm", - "autoDenied": "Các lệnh có tiền tố `{{prefix}}` đã bị người dùng cấm. Đừng vượt qua hạn chế này bằng cách chạy lệnh khác." + "autoDenied": "Các lệnh có tiền tố `{{prefix}}` đã bị người dùng cấm. Đừng vượt qua hạn chế này bằng cách chạy lệnh khác.", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "Todo", diff --git a/webview-ui/src/i18n/locales/zh-CN/settings.json b/webview-ui/src/i18n/locales/zh-CN/settings.json index c75578067d..c61c79be9c 100644 --- a/webview-ui/src/i18n/locales/zh-CN/settings.json +++ b/webview-ui/src/i18n/locales/zh-CN/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "输入命令前缀(例如 'git ')", "deniedCommandPlaceholder": "输入要拒绝的命令前缀(例如 'rm -rf')", "addButton": "添加", - "autoDenied": "前缀为 `{{prefix}}` 的命令已被用户禁止。不要通过运行其他命令来绕过此限制。" + "autoDenied": "前缀为 `{{prefix}}` 的命令已被用户禁止。不要通过运行其他命令来绕过此限制。", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "待办", diff --git a/webview-ui/src/i18n/locales/zh-TW/settings.json b/webview-ui/src/i18n/locales/zh-TW/settings.json index dec9e936b2..ba0ddfe488 100644 --- a/webview-ui/src/i18n/locales/zh-TW/settings.json +++ b/webview-ui/src/i18n/locales/zh-TW/settings.json @@ -180,7 +180,11 @@ "commandPlaceholder": "輸入命令前綴(例如 'git ')", "deniedCommandPlaceholder": "輸入要拒絕的命令前綴(例如 'rm -rf')", "addButton": "新增", - "autoDenied": "前綴為 `{{prefix}}` 的命令已被使用者禁止。不要透過執行其他命令來繞過此限制。" + "autoDenied": "前綴為 `{{prefix}}` 的命令已被使用者禁止。不要透過執行其他命令來繞過此限制。", + "disableLlmSuggestions": { + "label": "Disable LLM Command Suggestions", + "description": "When enabled, command patterns will be generated programmatically instead of by the LLM, reducing token usage" + } }, "updateTodoList": { "label": "待辦",