From 07684c017d15cb98a4e321bb61f996c68af3988a Mon Sep 17 00:00:00 2001 From: Bruno Bergher Date: Fri, 19 Sep 2025 19:40:23 +0100 Subject: [PATCH] bug: Incorrect copy for "Run" command when approving execution (#8179) --- webview-ui/src/components/chat/ChatRow.tsx | 4 +++- webview-ui/src/i18n/locales/ca/chat.json | 2 +- webview-ui/src/i18n/locales/de/chat.json | 2 +- webview-ui/src/i18n/locales/en/chat.json | 4 ++-- webview-ui/src/i18n/locales/es/chat.json | 2 +- webview-ui/src/i18n/locales/fr/chat.json | 2 +- webview-ui/src/i18n/locales/hi/chat.json | 2 +- webview-ui/src/i18n/locales/id/chat.json | 2 +- webview-ui/src/i18n/locales/it/chat.json | 2 +- webview-ui/src/i18n/locales/ja/chat.json | 2 +- webview-ui/src/i18n/locales/ko/chat.json | 2 +- webview-ui/src/i18n/locales/nl/chat.json | 1 + webview-ui/src/i18n/locales/pl/chat.json | 1 + webview-ui/src/i18n/locales/ru/chat.json | 1 + webview-ui/src/i18n/locales/tr/chat.json | 1 + webview-ui/src/i18n/locales/vi/chat.json | 1 + webview-ui/src/i18n/locales/zh-CN/chat.json | 1 + webview-ui/src/i18n/locales/zh-TW/chat.json | 1 + 18 files changed, 21 insertions(+), 12 deletions(-) diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 6413d5c808..dc5b007dab 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -232,7 +232,9 @@ export const ChatRowContent = ({ ) : ( ), - {t("chat:runCommand.title")}, + + {t("chat:commandExecution.running")} + , ] case "use_mcp_server": const mcpServerUse = safeJsonParse(message.text) diff --git a/webview-ui/src/i18n/locales/ca/chat.json b/webview-ui/src/i18n/locales/ca/chat.json index f0fd167b27..d906a99419 100644 --- a/webview-ui/src/i18n/locales/ca/chat.json +++ b/webview-ui/src/i18n/locales/ca/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "Sortida de la comanda", "commandExecution": { - "running": "Corrent", "abort": "Avortar", + "running": "En execució", "pid": "PID: {{pid}}", "exitStatus": "S'ha sortit amb l'estat {{exitCode}}", "manageCommands": "Comandes aprovades automàticament", diff --git a/webview-ui/src/i18n/locales/de/chat.json b/webview-ui/src/i18n/locales/de/chat.json index a245fbcb55..c16da8f576 100644 --- a/webview-ui/src/i18n/locales/de/chat.json +++ b/webview-ui/src/i18n/locales/de/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "Befehlsausgabe", "commandExecution": { - "running": "Wird ausgeführt", "abort": "Abbrechen", + "running": "Wird ausgeführt", "pid": "PID: {{pid}}", "exitStatus": "Beendet mit Status {{exitCode}}", "manageCommands": "Automatisch genehmigte Befehle", diff --git a/webview-ui/src/i18n/locales/en/chat.json b/webview-ui/src/i18n/locales/en/chat.json index 619a01a74d..ce20fce36c 100644 --- a/webview-ui/src/i18n/locales/en/chat.json +++ b/webview-ui/src/i18n/locales/en/chat.json @@ -69,7 +69,7 @@ } }, "runCommand": { - "title": "Command", + "title": "Run", "tooltip": "Execute this command" }, "proceedWhileRunning": { @@ -222,8 +222,8 @@ }, "commandOutput": "Command Output", "commandExecution": { - "running": "Running", "abort": "Abort", + "running": "Running", "pid": "PID: {{pid}}", "exitStatus": "Exited with status {{exitCode}}", "manageCommands": "Auto-approved commands", diff --git a/webview-ui/src/i18n/locales/es/chat.json b/webview-ui/src/i18n/locales/es/chat.json index 2f90fcf253..94d33b9474 100644 --- a/webview-ui/src/i18n/locales/es/chat.json +++ b/webview-ui/src/i18n/locales/es/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "Salida del comando", "commandExecution": { - "running": "Corriendo", "abort": "Abortar", + "running": "Ejecutando", "pid": "PID: {{pid}}", "exitStatus": "Salió con el estado {{exitCode}}", "manageCommands": "Comandos aprobados automáticamente", diff --git a/webview-ui/src/i18n/locales/fr/chat.json b/webview-ui/src/i18n/locales/fr/chat.json index c5a448e925..ce32537765 100644 --- a/webview-ui/src/i18n/locales/fr/chat.json +++ b/webview-ui/src/i18n/locales/fr/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "Sortie de la Commande", "commandExecution": { - "running": "En cours", "abort": "Abandonner", + "running": "En cours d'exécution", "pid": "PID : {{pid}}", "exitStatus": "Terminé avec le statut {{exitCode}}", "manageCommands": "Commandes approuvées automatiquement", diff --git a/webview-ui/src/i18n/locales/hi/chat.json b/webview-ui/src/i18n/locales/hi/chat.json index c6a1159aff..2a8648d1f0 100644 --- a/webview-ui/src/i18n/locales/hi/chat.json +++ b/webview-ui/src/i18n/locales/hi/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "कमांड आउटपुट", "commandExecution": { - "running": "चल रहा है", "abort": "रद्द करें", + "running": "चल रहा है", "pid": "पीआईडी: {{pid}}", "exitStatus": "{{exitCode}} स्थिति के साथ बाहर निकल गया", "manageCommands": "स्वतः-अनुमोदित कमांड", diff --git a/webview-ui/src/i18n/locales/id/chat.json b/webview-ui/src/i18n/locales/id/chat.json index 7218c6f878..ee2aea1483 100644 --- a/webview-ui/src/i18n/locales/id/chat.json +++ b/webview-ui/src/i18n/locales/id/chat.json @@ -225,8 +225,8 @@ }, "commandOutput": "Keluaran Perintah", "commandExecution": { - "running": "Sedang berjalan", "abort": "Batalkan", + "running": "Menjalankan", "pid": "PID: {{pid}}", "exitStatus": "Keluar dengan status {{exitCode}}", "manageCommands": "Perintah yang disetujui secara otomatis", diff --git a/webview-ui/src/i18n/locales/it/chat.json b/webview-ui/src/i18n/locales/it/chat.json index fe25764281..695a22c596 100644 --- a/webview-ui/src/i18n/locales/it/chat.json +++ b/webview-ui/src/i18n/locales/it/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "Output del Comando", "commandExecution": { - "running": "In esecuzione", "abort": "Interrompi", + "running": "In esecuzione", "pid": "PID: {{pid}}", "exitStatus": "Uscito con stato {{exitCode}}", "manageCommands": "Comandi approvati automaticamente", diff --git a/webview-ui/src/i18n/locales/ja/chat.json b/webview-ui/src/i18n/locales/ja/chat.json index 4aa699d940..d86c7c5e34 100644 --- a/webview-ui/src/i18n/locales/ja/chat.json +++ b/webview-ui/src/i18n/locales/ja/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "コマンド出力", "commandExecution": { - "running": "実行中", "abort": "中止", + "running": "実行中", "pid": "PID: {{pid}}", "exitStatus": "ステータス {{exitCode}} で終了しました", "manageCommands": "自動承認されたコマンド", diff --git a/webview-ui/src/i18n/locales/ko/chat.json b/webview-ui/src/i18n/locales/ko/chat.json index d1fa63bbd8..e6f6d57458 100644 --- a/webview-ui/src/i18n/locales/ko/chat.json +++ b/webview-ui/src/i18n/locales/ko/chat.json @@ -203,8 +203,8 @@ }, "commandOutput": "명령 출력", "commandExecution": { - "running": "실행 중", "abort": "중단", + "running": "실행 중", "pid": "PID: {{pid}}", "exitStatus": "상태 {{exitCode}}(으)로 종료됨", "manageCommands": "자동 승인된 명령", diff --git a/webview-ui/src/i18n/locales/nl/chat.json b/webview-ui/src/i18n/locales/nl/chat.json index abebcb7f5a..de7e570b8e 100644 --- a/webview-ui/src/i18n/locales/nl/chat.json +++ b/webview-ui/src/i18n/locales/nl/chat.json @@ -200,6 +200,7 @@ "commandExecution": { "running": "Lopend", "abort": "Afbreken", + "running": "Lopend", "pid": "PID: {{pid}}", "exitStatus": "Afgesloten met status {{exitCode}}", "manageCommands": "Automatisch goedgekeurde commando's", diff --git a/webview-ui/src/i18n/locales/pl/chat.json b/webview-ui/src/i18n/locales/pl/chat.json index 4319553caf..bf34810280 100644 --- a/webview-ui/src/i18n/locales/pl/chat.json +++ b/webview-ui/src/i18n/locales/pl/chat.json @@ -205,6 +205,7 @@ "commandExecution": { "running": "Wykonywanie", "abort": "Przerwij", + "running": "Uruchomiony", "pid": "PID: {{pid}}", "exitStatus": "Zakończono ze statusem {{exitCode}}", "manageCommands": "Polecenia zatwierdzone automatycznie", diff --git a/webview-ui/src/i18n/locales/ru/chat.json b/webview-ui/src/i18n/locales/ru/chat.json index 9367529b88..bc262fa073 100644 --- a/webview-ui/src/i18n/locales/ru/chat.json +++ b/webview-ui/src/i18n/locales/ru/chat.json @@ -200,6 +200,7 @@ "commandExecution": { "running": "Выполняется", "abort": "Прервать", + "running": "Выполняется", "pid": "PID: {{pid}}", "exitStatus": "Завершено со статусом {{exitCode}}", "manageCommands": "Управление разрешениями команд", diff --git a/webview-ui/src/i18n/locales/tr/chat.json b/webview-ui/src/i18n/locales/tr/chat.json index 9538f62e2c..06fbe184f7 100644 --- a/webview-ui/src/i18n/locales/tr/chat.json +++ b/webview-ui/src/i18n/locales/tr/chat.json @@ -205,6 +205,7 @@ "commandExecution": { "running": "Çalışıyor", "abort": "İptal Et", + "running": "Çalışıyor", "pid": "PID: {{pid}}", "exitStatus": "{{exitCode}} durumuyla çıkıldı", "manageCommands": "Komut İzinlerini Yönet", diff --git a/webview-ui/src/i18n/locales/vi/chat.json b/webview-ui/src/i18n/locales/vi/chat.json index 634f1a05f9..2f966dde8f 100644 --- a/webview-ui/src/i18n/locales/vi/chat.json +++ b/webview-ui/src/i18n/locales/vi/chat.json @@ -205,6 +205,7 @@ "commandExecution": { "running": "Đang chạy", "abort": "Hủy bỏ", + "running": "Đang chạy", "pid": "PID: {{pid}}", "exitStatus": "Đã thoát với trạng thái {{exitCode}}", "manageCommands": "Quản lý quyền lệnh", diff --git a/webview-ui/src/i18n/locales/zh-CN/chat.json b/webview-ui/src/i18n/locales/zh-CN/chat.json index e256bff5bc..1f5bfa5099 100644 --- a/webview-ui/src/i18n/locales/zh-CN/chat.json +++ b/webview-ui/src/i18n/locales/zh-CN/chat.json @@ -205,6 +205,7 @@ "commandExecution": { "running": "正在运行", "abort": "中止", + "running": "运行中", "pid": "PID: {{pid}}", "exitStatus": "已退出,状态码 {{exitCode}}", "manageCommands": "管理命令权限", diff --git a/webview-ui/src/i18n/locales/zh-TW/chat.json b/webview-ui/src/i18n/locales/zh-TW/chat.json index 698e6f6a55..9ec3b3b7cc 100644 --- a/webview-ui/src/i18n/locales/zh-TW/chat.json +++ b/webview-ui/src/i18n/locales/zh-TW/chat.json @@ -224,6 +224,7 @@ "commandExecution": { "running": "正在執行", "abort": "中止", + "running": "執行中", "pid": "PID: {{pid}}", "exitStatus": "已結束,狀態碼 {{exitCode}}", "manageCommands": "管理命令權限",