-
Notifications
You must be signed in to change notification settings - Fork 2.4k
bug: Incorrect copy for "Run" command when approving execution #8179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| "commandExecution": { | ||
| "running": "Corriendo", | ||
| "abort": "Abortar", | ||
| "running": "Ejecutando", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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ó", |
There was a problem hiding this comment.
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.
| "running": "En execució", |
| "commandExecution": { | ||
| "running": "Wird ausgeführt", | ||
| "abort": "Abbrechen", | ||
| "running": "Wird ausgeführt", |
There was a problem hiding this comment.
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.
| "running": "Wird ausgeführt", |
| }, | ||
| "commandOutput": "Salida del comando", | ||
| "commandExecution": { | ||
| "running": "Corriendo", |
There was a problem hiding this comment.
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.
| "running": "Corriendo", |
| "commandExecution": { | ||
| "running": "En cours", | ||
| "abort": "Abandonner", | ||
| "running": "En cours d'exécution", |
There was a problem hiding this comment.
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.
| "running": "En cours d'exécution", |
| "commandExecution": { | ||
| "running": "चल रहा है", | ||
| "abort": "रद्द करें", | ||
| "running": "चल रहा है", |
There was a problem hiding this comment.
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.
| "running": "चल रहा है", |
| "commandExecution": { | ||
| "running": "Выполняется", | ||
| "abort": "Прервать", | ||
| "running": "Выполняется", |
There was a problem hiding this comment.
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.
| "running": "Выполняется", |
This comment was generated because it violated a code review rule: irule_PTI8rjtnhwrWq6jS.
| "commandExecution": { | ||
| "running": "Çalışıyor", | ||
| "abort": "İptal Et", | ||
| "running": "Çalışıyor", |
There was a problem hiding this comment.
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.
| "running": "Çalışıyor", |
| "commandExecution": { | ||
| "running": "Đang chạy", | ||
| "abort": "Hủy bỏ", | ||
| "running": "Đang chạy", |
There was a problem hiding this comment.
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.
| "running": "Đang chạy", |
| "commandExecution": { | ||
| "running": "正在运行", | ||
| "abort": "中止", | ||
| "running": "运行中", |
There was a problem hiding this comment.
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.
| "running": "运行中", |
| "commandExecution": { | ||
| "running": "正在執行", | ||
| "abort": "中止", | ||
| "running": "執行中", |
There was a problem hiding this comment.
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.
| "running": "執行中", |
There was a problem hiding this 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ó", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
This was happening because the incorrect key was being used in two places.
Important
Fixes incorrect text for 'Run' command during execution approval by updating translation keys and values in
ChatRow.tsxand multiplechat.jsonfiles.ChatRow.tsxby changing the translation key fromchat:runCommand.titletochat:commandExecution.running.runningtranslation inchat.jsonfiles 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.runCommand.titletranslation inen/chat.jsonfrom "Command" to "Run".This description was created by
for a400916. You can customize this summary. It will automatically update as commits are pushed.