Skip to content

Conversation

@brunobergher
Copy link
Collaborator

@brunobergher brunobergher commented Sep 19, 2025

This was happening because the incorrect key was being used in two places.

image

Important

Fixes incorrect text for 'Run' command during execution approval by updating translation keys and values in ChatRow.tsx and multiple chat.json files.

  • Behavior:
    • Fixes incorrect text for 'Run' command in ChatRow.tsx by changing the translation key from chat:runCommand.title to chat:commandExecution.running.
  • Translations:
    • Updates running translation in chat.json files for multiple locales (e.g., ca, de, en, es, fr, hi, id, it, ja, ko, nl, pl, ru, tr, vi, zh-CN, zh-TW) to correct the text for command execution status.
    • Corrects runCommand.title translation in en/chat.json from "Command" to "Run".

This description was created by Ellipsis for a400916. You can customize this summary. It will automatically update as commits are pushed.

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Sep 19, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 19, 2025
"commandExecution": {
"running": "Corriendo",
"abort": "Abortar",
"running": "Ejecutando",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it duplicated the "running" key here and maybe didn't update the runCommand.title?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😓 , yup

"commandExecution": {
"running": "Corrent",
"abort": "Avortar",
"running": "En execució",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate key 'running' found in the same JSON object. This may result in one of the values being ignored. Please remove or rename one of them to ensure the intended translation is used.

Suggested change
"running": "En execució",

"commandExecution": {
"running": "Wird ausgeführt",
"abort": "Abbrechen",
"running": "Wird ausgeführt",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate key 'running' found on line 208. This key already exists on line 206 with the same value. Please remove or modify the duplicate to avoid potential issues.

Suggested change
"running": "Wird ausgeführt",

},
"commandOutput": "Salida del comando",
"commandExecution": {
"running": "Corriendo",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: There is a duplicate key 'running' in this JSON object (lines 206 and 208). Please verify if having two entries is intentional or if one of them should be removed/renamed.

Suggested change
"running": "Corriendo",

"commandExecution": {
"running": "En cours",
"abort": "Abandonner",
"running": "En cours d'exécution",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical note: There appears to be a duplicate key 'running' in this JSON object. This might be a typo or unintended duplication. Please verify if both entries are needed or consider removing/renaming one of them.

Suggested change
"running": "En cours d'exécution",

"commandExecution": {
"running": "चल रहा है",
"abort": "रद्द करें",
"running": "चल रहा है",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: The key 'running' is duplicated in this JSON object. Likely one of them was mistakenly added. Please remove or correct the duplicate entry.

Suggested change
"running": "चल रहा है",

"commandExecution": {
"running": "Выполняется",
"abort": "Прервать",
"running": "Выполняется",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a duplicate translation key "running" added in this diff (line 203). JSON objects shouldn't have duplicate keys as it can lead to unexpected behavior. Please remove one of the duplicate entries.

Suggested change
"running": "Выполняется",

This comment was generated because it violated a code review rule: irule_PTI8rjtnhwrWq6jS.

"commandExecution": {
"running": "Çalışıyor",
"abort": "İptal Et",
"running": "Çalışıyor",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typographical issue: Duplicate key 'running' is present in the 'commandExecution' object. Please remove the duplicate to avoid potential conflicts.

Suggested change
"running": "Çalışıyor",

"commandExecution": {
"running": "Đang chạy",
"abort": "Hủy bỏ",
"running": "Đang chạy",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a duplicate key "running" in this JSON object. Please remove or consolidate the duplicate entry to avoid unintended behavior.

Suggested change
"running": "Đang chạy",

"commandExecution": {
"running": "正在运行",
"abort": "中止",
"running": "运行中",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a duplicate key 'running' in this JSON object. This is likely a copy-paste error. Consider removing or renaming one of the 'running' keys to avoid ambiguity.

Suggested change
"running": "运行中",

"commandExecution": {
"running": "正在執行",
"abort": "中止",
"running": "執行中",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a duplicate key 'running' in this JSON object. In JSON, keys must be unique, so please remove or update the redundant entry instead of adding another 'running' key.

Suggested change
"running": "執行中",

Copy link

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I've reviewed the changes and found critical issues that need attention.

"commandExecution": {
"running": "Corrent",
"abort": "Avortar",
"running": "En execució",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates a duplicate "running" key in the commandExecution object. JSON doesn't allow duplicate keys - this will cause parsing errors or unexpected behavior.

You should remove the existing "running" key on line 206 before adding the new one, or update the existing key instead of adding a duplicate.

"commandExecution": {
"running": "Wird ausgeführt",
"abort": "Abbrechen",
"running": "Wird ausgeführt",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate "running" key detected. Please remove the duplicate to avoid JSON parsing issues.

"commandExecution": {
"running": "Corriendo",
"abort": "Abortar",
"running": "Ejecutando",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate "running" key detected. Also, is the translation change intentional? "Corriendo" vs "Ejecutando" have slightly different meanings.

@daniel-lxs daniel-lxs moved this from Triage to PR [Draft / In Progress] in Roo Code Roadmap Sep 19, 2025
@hannesrudolph hannesrudolph added PR - Draft / In Progress and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Sep 19, 2025
Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Sep 19, 2025
@daniel-lxs daniel-lxs moved this from PR [Draft / In Progress] to PR [Needs Review] in Roo Code Roadmap Sep 19, 2025
@mrubens mrubens merged commit 07684c0 into main Sep 19, 2025
14 of 15 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Sep 19, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 19, 2025
@mrubens mrubens deleted the bug/run-command branch September 19, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants