summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/components/dialog-release-notes.tsx
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-02-27 09:45:00 -0600
committerGitHub <[email protected]>2026-02-27 09:45:00 -0600
commit6ef3af73dfa1c72bb2001c86d898f2edf8ea4b10 (patch)
tree845adb9ccc47884a0f102a59cb887bd17a51a75c /packages/app/src/components/dialog-release-notes.tsx
parente5ae6c51b0d2f5dececd16970250aa2ab6c71a2f (diff)
downloadopencode-6ef3af73dfa1c72bb2001c86d898f2edf8ea4b10.tar.gz
opencode-6ef3af73dfa1c72bb2001c86d898f2edf8ea4b10.zip
chore(app): i18n sync (#15362)
Diffstat (limited to 'packages/app/src/components/dialog-release-notes.tsx')
-rw-r--r--packages/app/src/components/dialog-release-notes.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/app/src/components/dialog-release-notes.tsx b/packages/app/src/components/dialog-release-notes.tsx
index 2040009a8..d0a35b71b 100644
--- a/packages/app/src/components/dialog-release-notes.tsx
+++ b/packages/app/src/components/dialog-release-notes.tsx
@@ -2,6 +2,7 @@ import { createSignal } from "solid-js"
import { Dialog } from "@opencode-ai/ui/dialog"
import { Button } from "@opencode-ai/ui/button"
import { useDialog } from "@opencode-ai/ui/context/dialog"
+import { useLanguage } from "@/context/language"
import { useSettings } from "@/context/settings"
export type Highlight = {
@@ -16,6 +17,7 @@ export type Highlight = {
export function DialogReleaseNotes(props: { highlights: Highlight[] }) {
const dialog = useDialog()
+ const language = useLanguage()
const settings = useSettings()
const [index, setIndex] = createSignal(0)
@@ -83,16 +85,16 @@ export function DialogReleaseNotes(props: { highlights: Highlight[] }) {
<div class="flex flex-col items-start gap-3">
{isLast() ? (
<Button variant="primary" size="large" onClick={handleClose}>
- Get started
+ {language.t("dialog.releaseNotes.action.getStarted")}
</Button>
) : (
<Button variant="secondary" size="large" onClick={handleNext}>
- Next
+ {language.t("dialog.releaseNotes.action.next")}
</Button>
)}
<Button variant="ghost" size="small" onClick={handleDisable}>
- Don't show these in the future
+ {language.t("dialog.releaseNotes.action.hideFuture")}
</Button>
</div>
@@ -128,7 +130,7 @@ export function DialogReleaseNotes(props: { highlights: Highlight[] }) {
{feature()!.media!.type === "image" ? (
<img
src={feature()!.media!.src}
- alt={feature()!.media!.alt ?? feature()?.title ?? "Release preview"}
+ alt={feature()!.media!.alt ?? feature()?.title ?? language.t("dialog.releaseNotes.media.alt")}
class="w-full h-full object-cover"
/>
) : (