diff options
| author | Adam <[email protected]> | 2026-01-20 15:00:46 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2026-01-20 17:58:06 -0600 |
| commit | b13c269162e6c858acbce6cc792636cd4cb921a9 (patch) | |
| tree | d4e81f96109919ce41b36c175bd8da9aba5506ee /specs | |
| parent | ef36af0e55d814dc80893af923886ccff40f46e5 (diff) | |
| download | opencode-b13c269162e6c858acbce6cc792636cd4cb921a9.tar.gz opencode-b13c269162e6c858acbce6cc792636cd4cb921a9.zip | |
wip(app): i18n
Diffstat (limited to 'specs')
| -rw-r--r-- | specs/07-ui-i18n-audit.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/specs/07-ui-i18n-audit.md b/specs/07-ui-i18n-audit.md index 280818c00..f6f67db73 100644 --- a/specs/07-ui-i18n-audit.md +++ b/specs/07-ui-i18n-audit.md @@ -122,12 +122,12 @@ Examples (non-exhaustive): ## Prioritized Implementation Plan -1. Add `@opencode-ai/ui` i18n context (`packages/ui/src/context/i18n.tsx`) + export it. -2. Add UI dictionaries (`packages/ui/src/i18n/en.ts`, `packages/ui/src/i18n/zh.ts`) + export them. -3. Wire `I18nProvider` into: +1. Completed (2026-01-20): Add `@opencode-ai/ui` i18n context (`packages/ui/src/context/i18n.tsx`) + export it. +2. Completed (2026-01-20): Add UI dictionaries (`packages/ui/src/i18n/en.ts`, `packages/ui/src/i18n/zh.ts`) + export them. +3. Completed (2026-01-20): Wire `I18nProvider` into: - `packages/app/src/app.tsx` - - `packages/enterprise/src/routes/share/[shareID].tsx` -4. Convert `packages/ui/src/components/session-review.tsx` and `packages/ui/src/components/session-turn.tsx` to use `useI18n().t(...)`. + - `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. |
