fix(marketplace): use existing i18n key for missing marketplace-installed mode; remove added en locale key to satisfy translation check

This commit is contained in:
matt-rudolph 2025-09-19 14:38:54 -06:00
parent c6b644a1b6
commit 4d3433d74c
2 changed files with 1 additions and 4 deletions

View file

@ -65,8 +65,5 @@
"removing": "Removing item: \"{{itemName}}\"",
"removeSuccess": "\"{{itemName}}\" removed successfully",
"removeError": "Failed to remove \"{{itemName}}\": {{errorMessage}}"
},
"errors": {
"scopedDeletionNotSupported": "Scoped deletion is not supported in this version. Please update Roo Code to the latest version and try again."
}
}

View file

@ -351,7 +351,7 @@ export class SimpleInstaller {
await (this.customModesManager as any).deleteCustomModeForSource(modeSlug, target, true)
} else {
// Scoped deletion not supported in this version
throw new Error(t("marketplace:errors.scopedDeletionNotSupported"))
throw new Error("Scoped deletion is not supported in this version")
}
}