summaryrefslogtreecommitdiffhomepage
path: root/specs
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-20 15:42:10 -0600
committerAdam <[email protected]>2026-01-20 17:58:06 -0600
commit6037e88ddf3fd08191dfb5e136796e15e8bc163c (patch)
tree050907ccc9ffb8250ba906fa2e76155a1bf1d10d /specs
parentb13c269162e6c858acbce6cc792636cd4cb921a9 (diff)
downloadopencode-6037e88ddf3fd08191dfb5e136796e15e8bc163c.tar.gz
opencode-6037e88ddf3fd08191dfb5e136796e15e8bc163c.zip
wip(app): i18n
Diffstat (limited to 'specs')
-rw-r--r--specs/07-ui-i18n-audit.md20
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