mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix(i18n): unify keys at tools root; use t('tools:noChanges'|'tools:changesRejected') in tools
This commit is contained in:
parent
87b777a943
commit
9b0cdcdffc
2 changed files with 2 additions and 4 deletions
|
|
@ -131,7 +131,7 @@ export async function insertContentTool(
|
|||
// For existing files, generate diff and check for changes
|
||||
diff = formatResponse.createPrettyPatch(relPath, fileContent, updatedContent)
|
||||
if (!diff) {
|
||||
pushToolResult(t("tools:generic.noChanges", { path: relPath }))
|
||||
pushToolResult(t("tools:noChanges", { path: relPath }))
|
||||
return
|
||||
}
|
||||
approvalContent = undefined
|
||||
|
|
@ -165,7 +165,7 @@ export async function insertContentTool(
|
|||
if (!isPreventFocusDisruptionEnabled) {
|
||||
await cline.diffViewProvider.revertChanges()
|
||||
}
|
||||
pushToolResult(t("tools:generic.changesRejected"))
|
||||
pushToolResult(t("tools:changesRejected"))
|
||||
await cline.diffViewProvider.reset()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,8 +28,6 @@
|
|||
"noChanges": "No changes needed for '{{path}}'.",
|
||||
"changesRejected": "Changes were rejected by the user."
|
||||
},
|
||||
"noChanges": "No changes needed for '{{path}}'.",
|
||||
"changesRejected": "Changes were rejected by the user.",
|
||||
"errors": {
|
||||
"toolCallError": "Tool call error: {{toolName}}",
|
||||
"toolExecutionError": "Tool execution error",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue