diff options
| author | Adam <[email protected]> | 2026-01-20 15:42:10 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-20 17:58:06 -0600 |
| commit | 6037e88ddf3fd08191dfb5e136796e15e8bc163c (patch) | |
| tree | 050907ccc9ffb8250ba906fa2e76155a1bf1d10d /specs | |
| parent | b13c269162e6c858acbce6cc792636cd4cb921a9 (diff) | |
| download | opencode-6037e88ddf3fd08191dfb5e136796e15e8bc163c.tar.gz opencode-6037e88ddf3fd08191dfb5e136796e15e8bc163c.zip | |
wip(app): i18n
Diffstat (limited to 'specs')
| -rw-r--r-- | specs/07-ui-i18n-audit.md | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/specs/07-ui-i18n-audit.md b/specs/07-ui-i18n-audit.md index f6f67db73..26bc552bb 100644 --- a/specs/07-ui-i18n-audit.md +++ b/specs/07-ui-i18n-audit.md @@ -120,6 +120,22 @@ Examples (non-exhaustive): - `Type your own answer` - `Review your answers` +### 4) Additional Hardcoded Strings (Full Audit) + +Found during a full `packages/ui/src/components` + `packages/ui/src/context` sweep: + +- `packages/ui/src/components/list.tsx` + - `Loading` + - `No results` + - `No results for "{{filter}}"` +- `packages/ui/src/components/message-nav.tsx` + - `New message` +- `packages/ui/src/components/text-field.tsx` + - `Copied` + - `Copy to clipboard` +- `packages/ui/src/components/image-preview.tsx` + - `Image preview` (alt text) + ## Prioritized Implementation Plan 1. Completed (2026-01-20): Add `@opencode-ai/ui` i18n context (`packages/ui/src/context/i18n.tsx`) + export it. @@ -128,8 +144,8 @@ Examples (non-exhaustive): - `packages/app/src/app.tsx` - `packages/enterprise/src/app.tsx` 4. Completed (2026-01-20): Convert `packages/ui/src/components/session-review.tsx` and `packages/ui/src/components/session-turn.tsx` to use `useI18n().t(...)`. -5. Convert `packages/ui/src/components/message-part.tsx`. -6. Do a full `packages/ui/src/components` + `packages/ui/src/context` audit for additional hardcoded copy. +5. Completed (2026-01-20): Convert `packages/ui/src/components/message-part.tsx`. +6. Completed (2026-01-20): Do a full `packages/ui/src/components` + `packages/ui/src/context` audit for additional hardcoded copy. ## Notes / Risks |
