Skip to content

Commit 4d3433d

Browse files
committed
fix(marketplace): use existing i18n key for missing marketplace-installed mode; remove added en locale key to satisfy translation check
1 parent c6b644a commit 4d3433d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/i18n/locales/en/marketplace.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,5 @@
6565
"removing": "Removing item: \"{{itemName}}\"",
6666
"removeSuccess": "\"{{itemName}}\" removed successfully",
6767
"removeError": "Failed to remove \"{{itemName}}\": {{errorMessage}}"
68-
},
69-
"errors": {
70-
"scopedDeletionNotSupported": "Scoped deletion is not supported in this version. Please update Roo Code to the latest version and try again."
7168
}
7269
}

src/services/marketplace/SimpleInstaller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export class SimpleInstaller {
351351
await (this.customModesManager as any).deleteCustomModeForSource(modeSlug, target, true)
352352
} else {
353353
// Scoped deletion not supported in this version
354-
throw new Error(t("marketplace:errors.scopedDeletionNotSupported"))
354+
throw new Error("Scoped deletion is not supported in this version")
355355
}
356356
}
357357

0 commit comments

Comments
 (0)