Skip to content

Commit 14d7e21

Browse files
committed
fix(i18n): parameterized noChanges; title-case error titles; update tool outputs
1 parent 2dd3771 commit 14d7e21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/tools/insertContentTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function insertContentTool(
131131
// For existing files, generate diff and check for changes
132132
diff = formatResponse.createPrettyPatch(relPath, fileContent, updatedContent)
133133
if (!diff) {
134-
pushToolResult(t("tools:generic.noChanges"))
134+
pushToolResult(t("tools:generic.noChanges", { path: relPath }))
135135
return
136136
}
137137
approvalContent = undefined

src/core/tools/searchAndReplaceTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export async function searchAndReplaceTool(
200200
// Generate and validate diff
201201
const diff = formatResponse.createPrettyPatch(validRelPath, fileContent, newContent)
202202
if (!diff) {
203-
pushToolResult(t("tools:generic.noChanges"))
203+
pushToolResult(t("tools:generic.noChanges", { path: relPath }))
204204
await cline.diffViewProvider.reset()
205205
return
206206
}

0 commit comments

Comments
 (0)