Skip to content

Review 10 — Admin UI in English: template designer + content library (translation complete) - #34

Draft
ArneeMe wants to merge 1 commit into
claude/review-9-docsfrom
claude/review-10-designer-english
Draft

Review 10 — Admin UI in English: template designer + content library (translation complete)#34
ArneeMe wants to merge 1 commit into
claude/review-9-docsfrom
claude/review-10-designer-english

Conversation

@ArneeMe

@ArneeMe ArneeMe commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Stacked on #33 (part 10 of the review stack). Pure language refactor — easy approve. This completes the English translation of the entire application.

The last two Norwegian-only surfaces now render from strings.ts via the persisted useAdminLang toggle:

  • Template designer (edit_pdf/): editor page, DesignerComponent (toolbar buttons, save/preview dialogs, toasts), BindingsEditor (all seven source-kind labels, four system slots, every field config and helper text), SchemaEditor (field-type labels, lookup-list preview), StarterTemplatePicker.
  • Content library (rediger/): shell + tabs, all four panels and their rows (signatures, logos, text blocks, lookup lists), usage badges, delete confirmations with Norwegian definite-form grammar handled per kind, ImageUpload's error messages.

Deliberately untouched: anything persisted to the database (asset names, template content, starter-template data) — only UI chrome is localized. Module-level label constants became value lists with labels looked up from the typed dictionary, so NO/EN parity remains a compile error to break. ~110 new keys per language.

Verification: typecheck, lint, 110 unit tests, 8/8 E2E, production build — all green. (One E2E flake observed from dev-server first-compile latency; passes consistently in isolation, and CI retries cover it.)

🤖 Generated with Claude Code

https://claude.ai/code/session_01BFHkXUuHJME4cF9AJWbavB


Generated by Claude Code

The last two Norwegian-only surfaces now render from strings.ts via
useAdminLang, completing the admin translation:

- edit_pdf: editor page, DesignerComponent (toolbar, dialogs, toasts),
  BindingsEditor (source/system labels, all field configs and helper
  texts), SchemaEditor (field types, lookup-list preview),
  StarterTemplatePicker.
- rediger: content library shell, all four panels and rows (signatures,
  logos, text blocks, lookup lists), usage badges, delete confirmations,
  ImageUpload messages.

Deliberately untouched: database-persisted values (asset names,
template content, starter template data) — only UI chrome. Module-level
label constants became value lists with labels looked up from the
dictionary, so both languages stay compile-enforced in sync.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BFHkXUuHJME4cF9AJWbavB
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying inf319-certificate with  Cloudflare Pages  Cloudflare Pages

Latest commit: 23d322f
Status: ✅  Deploy successful!
Preview URL: https://ffaff82a.inf319-certificate.pages.dev
Branch Preview URL: https://claude-review-10-designer-en.inf319-certificate.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants