We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f45f99 commit 51cd953Copy full SHA for 51cd953
webview-ui/src/components/settings/__tests__/ModelPicker.deprecated.spec.tsx
@@ -12,6 +12,10 @@ import type { ModelInfo } from "@roo-code/types"
12
vi.mock("@src/i18n/TranslationContext", () => ({
13
useAppTranslation: () => ({
14
t: (key: string, options?: any) => {
15
+ // Handle specific translation keys
16
+ if (key === "settings:validation.modelDeprecated") {
17
+ return "This model is no longer available. Please select a different model."
18
+ }
19
if (options) return `${key} ${JSON.stringify(options)}`
20
return key
21
},
0 commit comments