Skip to content

Commit 3b9fdfc

Browse files
committed
chore: genericize release announcement highlight keys
1 parent 53bbd50 commit 3b9fdfc

20 files changed

Lines changed: 63 additions & 63 deletions

File tree

webview-ui/src/components/chat/Announcement.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ const Announcement = ({ hideAnnouncement }: AnnouncementProps) => {
6666
<div className="mb-4">
6767
<p className="mb-3">{t("chat:announcement.release.heading")}</p>
6868
<ul className="list-disc list-inside text-sm space-y-1.5">
69-
<li>{t("chat:announcement.release.gpt55")}</li>
70-
<li>{t("chat:announcement.release.claudeOpus47")}</li>
71-
<li>{t("chat:announcement.release.checkpointNav")}</li>
69+
<li>{t("chat:announcement.release.highlight1")}</li>
70+
<li>{t("chat:announcement.release.highlight2")}</li>
71+
<li>{t("chat:announcement.release.highlight3")}</li>
7272
</ul>
7373
</div>
7474

webview-ui/src/components/chat/__tests__/Announcement.spec.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ vi.mock("@src/utils/vscode", () => ({
1313

1414
vi.mock("@roo/package", () => ({
1515
Package: {
16-
version: "3.53.0",
16+
version: "3.55.0",
1717
},
1818
}))
1919

@@ -40,11 +40,11 @@ vi.mock("@src/i18n/TranslationContext", () => ({
4040
t: (key: string, options?: { version?: string }) => {
4141
const translations: Record<string, string> = {
4242
"chat:announcement.release.heading": "What's New:",
43-
"chat:announcement.release.gpt55":
43+
"chat:announcement.release.highlight1":
4444
"Xiaomi MiMo provider: Added Xiaomi MiMo as a first-class API provider so you can configure MiMo models directly in Zoo Code.",
45-
"chat:announcement.release.claudeOpus47":
45+
"chat:announcement.release.highlight2":
4646
"Upstream Zoo Code handoff: Pulled in the latest upstream sunset merge and related platform updates to keep Zoo Code aligned with the community handoff work.",
47-
"chat:announcement.release.checkpointNav":
47+
"chat:announcement.release.highlight3":
4848
"Stability fixes across chat and providers: Fixed MCP sign-in copy, Gemini full-tool requests, OpenAI temperature handling, and Markdown single-tilde rendering.",
4949
"chat:announcement.handoff.heading": "The Roo Code plugin is not going away.",
5050
}
@@ -59,10 +59,10 @@ vi.mock("@src/i18n/TranslationContext", () => ({
5959
}))
6060

6161
describe("Announcement", () => {
62-
it("renders the v3.53.0 announcement title and highlights", () => {
62+
it("renders the announcement title and highlights", () => {
6363
render(<Announcement hideAnnouncement={vi.fn()} />)
6464

65-
expect(screen.getByText("Zoo Code 3.53.0 Released")).toBeInTheDocument()
65+
expect(screen.getByText("Zoo Code 3.55.0 Released")).toBeInTheDocument()
6666
expect(
6767
screen.getByText(
6868
"Xiaomi MiMo provider: Added Xiaomi MiMo as a first-class API provider so you can configure MiMo models directly in Zoo Code.",

webview-ui/src/i18n/locales/ca/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/de/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/en/chat.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,9 @@
356356
},
357357
"release": {
358358
"heading": "What's New:",
359-
"gpt55": "Xiaomi MiMo provider: Added Xiaomi MiMo as a first-class API provider so you can configure MiMo models directly in Zoo Code.",
360-
"claudeOpus47": "Upstream Zoo Code handoff: Pulled in the latest upstream sunset merge and related platform updates to keep Zoo Code aligned with the community handoff work.",
361-
"checkpointNav": "Stability fixes across chat and providers: Fixed MCP sign-in copy, Gemini full-tool requests, OpenAI temperature handling, and Markdown single-tilde rendering."
359+
"highlight1": "Xiaomi MiMo provider: Added Xiaomi MiMo as a first-class API provider so you can configure MiMo models directly in Zoo Code.",
360+
"highlight2": "Upstream Zoo Code handoff: Pulled in the latest upstream sunset merge and related platform updates to keep Zoo Code aligned with the community handoff work.",
361+
"highlight3": "Stability fixes across chat and providers: Fixed MCP sign-in copy, Gemini full-tool requests, OpenAI temperature handling, and Markdown single-tilde rendering."
362362
},
363363
"cloudAgents": {
364364
"heading": "New in the Cloud:",

webview-ui/src/i18n/locales/es/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/fr/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/hi/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/id/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webview-ui/src/i18n/locales/it/chat.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)