From ca5a7378deb77ad35a70d7182f750a544a2b7426 Mon Sep 17 00:00:00 2001 From: David Hill Date: Wed, 4 Mar 2026 15:58:58 +0000 Subject: docs: localize Go graph and testimonial copy --- packages/console/app/src/routes/go/index.tsx | 63 +++++++++++++++------------- 1 file changed, 33 insertions(+), 30 deletions(-) (limited to 'packages/console/app/src/routes') diff --git a/packages/console/app/src/routes/go/index.tsx b/packages/console/app/src/routes/go/index.tsx index ca445e04a..ac2f10a99 100644 --- a/packages/console/app/src/routes/go/index.tsx +++ b/packages/console/app/src/routes/go/index.tsx @@ -27,10 +27,12 @@ const checkLoggedIn = query(async () => { if (workspaceID) throw redirect(`/workspace/${workspaceID}`) }, "checkLoggedIn.get") -function LimitsGraph(props: { href: string; labels: { free: string; go: string } }) { +function LimitsGraph(props: { href: string }) { let root!: HTMLElement const [visible, setVisible] = createSignal(false) + const i18n = useI18n() + onMount(() => { if (typeof IntersectionObserver === "undefined") return setVisible(true) const observer = new IntersectionObserver( @@ -73,7 +75,7 @@ function LimitsGraph(props: { href: string; labels: { free: string; go: string } return (
- {t}x + {i18n.t("go.graph.tick", { n: t })} )} @@ -118,10 +120,10 @@ function LimitsGraph(props: { href: string; labels: { free: string; go: string }
- {props.labels.free} + {i18n.t("go.graph.free")} - {props.labels.go} + {i18n.t("go.graph.go")}
@@ -130,15 +132,15 @@ function LimitsGraph(props: { href: string; labels: { free: string; go: string }
- Requests/month + {i18n.t("go.graph.label")} - Usage limits + {i18n.t("go.graph.usageLimits")}
- Free + {i18n.t("go.graph.free")} {free.toLocaleString()} @@ -274,10 +276,7 @@ export default function Home() {
- +
@@ -349,57 +348,61 @@ export default function Home() {
- Dax Raad - ex-CEO, Terminal Products + {i18n.t("go.testimonials.dax.name")} + {i18n.t("go.testimonials.dax.title")}
- @OpenCode Zen Go has been life changing, it's truly a no-brainer. + {i18n.t("go.testimonials.handle")} {i18n.t("go.testimonials.brand.zen")}{" "} + {i18n.t("go.testimonials.brand.go")} {i18n.t("go.testimonials.dax.quoteAfter")}
{/*Jay*/}
- Jay V - ex-Founder, SEED, PM, Melt, Pop, Dapt, Cadmus, and ViewPoint + {i18n.t("go.testimonials.jay.name")} + {i18n.t("go.testimonials.jay.title")}
- {"4 out of 5 people on our team love using "} - @OpenCode Zen Go. + {i18n.t("go.testimonials.jay.quoteBefore")} {i18n.t("go.testimonials.handle")}{" "} + {i18n.t("go.testimonials.brand.zen")} {i18n.t("go.testimonials.brand.go")} + {i18n.t("go.testimonials.jay.quoteAfter")}
{/*Adam*/}
- Adam Elmore - ex-Hero, AWS + {i18n.t("go.testimonials.adam.name")} + {i18n.t("go.testimonials.adam.title")}
- {"I can't recommend "} - @OpenCode Zen Go enough. Seriously, it's really good. + {i18n.t("go.testimonials.adam.quoteBefore")} {i18n.t("go.testimonials.handle")}{" "} + {i18n.t("go.testimonials.brand.zen")} {i18n.t("go.testimonials.brand.go")}{" "} + {i18n.t("go.testimonials.adam.quoteAfter")}
{/*David*/}
- David Hill - ex-Head of Design, Laravel + {i18n.t("go.testimonials.david.name")} + {i18n.t("go.testimonials.david.title")}
- {"With "} - @OpenCode Zen Go I know all the models are tested and perfect for coding agents. + {i18n.t("go.testimonials.david.quoteBefore")} {i18n.t("go.testimonials.handle")}{" "} + {i18n.t("go.testimonials.brand.zen")} {i18n.t("go.testimonials.brand.go")}{" "} + {i18n.t("go.testimonials.david.quoteAfter")}
{/*Frank*/}
- Frank Wang - ex-Intern, Nvidia (4 times) + {i18n.t("go.testimonials.frank.name")} + {i18n.t("go.testimonials.frank.title")}
-
I wish I was still at Nvidia.
+
{i18n.t("go.testimonials.frank.quote")}
-- cgit v1.2.3