fix(i18n): parameterized noChanges; title-case error titles; update tool outputs

This commit is contained in:
Hannes Rudolph 2025-09-03 18:00:20 -06:00
parent e2592f0e40
commit 87b777a943
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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
}