mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
fix(i18n): parameterized noChanges; title-case error titles; update tool outputs
This commit is contained in:
parent
e2592f0e40
commit
87b777a943
2 changed files with 2 additions and 2 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"))
|
||||
pushToolResult(t("tools:generic.noChanges", { path: relPath }))
|
||||
return
|
||||
}
|
||||
approvalContent = undefined
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ export async function searchAndReplaceTool(
|
|||
// Generate and validate diff
|
||||
const diff = formatResponse.createPrettyPatch(validRelPath, fileContent, newContent)
|
||||
if (!diff) {
|
||||
pushToolResult(t("tools:generic.noChanges"))
|
||||
pushToolResult(t("tools:generic.noChanges", { path: relPath }))
|
||||
await cline.diffViewProvider.reset()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue