feat(web): i18n extraction wave 4 — admin, library, processing, backup, shared components #1185

Merged
chris merged 4 commits from feature/i18n-extraction-wave4 into main 2026-10-13 08:45:49 +02:00
Owner

Summary

  • Wave 4 i18n extraction (Paraglide v2): replaces hardcoded copy in admin, library, processing-issues, backup-export, and remaining shared components (dialogs, toasts, storage, filter menu, HeadingWithHelp) with m.* message calls.
  • Adds 567 new message keys to messages/en.json / de.json / da.json as one contiguous appended block per file (609 → 1176 keys; existing entries untouched, en/de/da key order identical).
  • Updates specs that asserted the previously hardcoded German UI copy to the English base values (message values unchanged — per EXTRACTION.md rule, German/Danish copy moved verbatim into de/da with an English base).

Scope

  • Sources: src/lib/components/admin/* (tabs, discovery domain card, allowed classes, logs feed, admin utils), src/lib/components shared (HeadingWithHelp, ToastContainer, FilterSortMenu, ContributionDialog, ShareInstanceDialog), storage/*, routes: library, backup-export, processing-issues (+incomplete), admin/setup.
  • Messages: 567 keys incl. two 3-selector/8-combo plural toasts (adminClusteringResetToast, adminClusteringResetHardToast), adminRel* relative-time plurals, storage-path hints, map/GeoNames/logs copy.
  • Specs: admin-clustering-max-distance, admin-operator, accessibility — German expectations → English base (Person clustering method, Maximum distance, Save distance, Maps, Diagnostics, Worker resources, No matches., mobile Filtrér → Filter).
  • Docs: EXTRACTION.md wave table marks wave 4 done with deferrals.

Deferrals (→ wave 5)

  • Profile page body, TimelineAxis.
  • Technical single-word tokens left hardcoded: ms/s/min units in formatBytes, —, (loading) sr-only, log-level tokens.

Verification

  • npm run check → 0 errors, 18 warnings (identical to HEAD baseline).
  • npm run build → exit 0.
  • npm run test:unit → 26 files / 200 tests passed.
  • E2E (12 specs covering touched routes: admin-operator, admin-clustering-max-distance, backup-export, filter-sort, incomplete-media, library-stats, processing-issues, storage-paths, search-filters, person-score-sort, share-target-autocomplete, accessibility) → 163 passed, 3 skipped, 0 failed post-rebase (earlier run: 5 load-timing flakes passed on retry, ISSUE-148/149 class — not chased).
## Summary - Wave 4 i18n extraction (Paraglide v2): replaces hardcoded copy in admin, library, processing-issues, backup-export, and remaining shared components (dialogs, toasts, storage, filter menu, HeadingWithHelp) with `m.*` message calls. - Adds **567 new message keys** to `messages/en.json` / `de.json` / `da.json` as one contiguous appended block per file (609 → 1176 keys; existing entries untouched, en/de/da key order identical). - Updates specs that asserted the previously hardcoded German UI copy to the English base values (message values unchanged — per EXTRACTION.md rule, German/Danish copy moved verbatim into `de`/`da` with an English base). ## Scope - **Sources:** `src/lib/components/admin/*` (tabs, discovery domain card, allowed classes, logs feed, admin utils), `src/lib/components` shared (HeadingWithHelp, ToastContainer, FilterSortMenu, ContributionDialog, ShareInstanceDialog), `storage/*`, routes: `library`, `backup-export`, `processing-issues` (+`incomplete`), `admin/setup`. - **Messages:** 567 keys incl. two 3-selector/8-combo plural toasts (`adminClusteringResetToast`, `adminClusteringResetHardToast`), `adminRel*` relative-time plurals, storage-path hints, map/GeoNames/logs copy. - **Specs:** `admin-clustering-max-distance`, `admin-operator`, `accessibility` — German expectations → English base (`Person clustering method`, `Maximum distance`, `Save distance`, `Maps`, `Diagnostics`, `Worker resources`, `No matches.`, mobile `Filtrér` → `Filter`). - **Docs:** `EXTRACTION.md` wave table marks wave 4 done with deferrals. ## Deferrals (→ wave 5) - Profile page body, `TimelineAxis`. - Technical single-word tokens left hardcoded: `ms`/`s`/`min` units in `formatBytes`, `—`, `(loading)` sr-only, log-level tokens. ## Verification - `npm run check` → **0 errors, 18 warnings** (identical to HEAD baseline). - `npm run build` → exit 0. - `npm run test:unit` → 26 files / 200 tests passed. - E2E (12 specs covering touched routes: admin-operator, admin-clustering-max-distance, backup-export, filter-sort, incomplete-media, library-stats, processing-issues, storage-paths, search-filters, person-score-sort, share-target-autocomplete, accessibility) → **163 passed, 3 skipped, 0 failed** post-rebase (earlier run: 5 load-timing flakes passed on retry, ISSUE-148/149 class — not chased).
docs(i18n): mark wave 4 extraction done in EXTRACTION.md
All checks were successful
Wiki Sync / Sync wiki from docs (push) Has been skipped
Build and Deploy / Detect changed services and test scopes (push) Successful in 3s
Build and Deploy / Android unit tests and debug APK (push) Has been skipped
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Smoke people worker (push) Has been skipped
Build and Deploy / Build postgres image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Deploy postgres (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
Build and Deploy / Run scoped PR tests (push) Successful in 8m7s
464546de51
chris merged commit 4772130fac into main 2026-10-13 08:45:49 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!1185
No description provided.