Commit 91bf026
fix(i18n): PR-P G-31 + G-33 — language audit + /games sunset backdrop
G-31 — language mutation audit pass.
Programmatic sweep for cross-locale character leaks across
lib/locales/{pl,uk,cs,en}.ts + app/ + components/:
- Slovak-only chars (ô ľ ĺ ŕ) in pl/uk/cs/en
- Polish-only chars (ą ę ł ń ś ź ż) in uk/cs/en
- Cyrillic in pl/cs/en
- Strict Latin diacritics in uk
Findings:
- pl/uk/cs/en dicts: clean. PL chars in non-pl strings are all
protected proper nouns (zł, BLIK, Sklepik, Mała elektrownia,
Sąsiad, Konto dla Młodych, Bezpieczny Kredyt, huta szkła) —
flagged as intentional per the existing "PL termíny chráněny"
spec line in cs/uk/en pipeline notes.
- 1 real leak fixed: `app/dla-szkol/materialy/page.tsx:219`
"Plně auditovateľné" → "Plně auditovatelné" (the curly L
`ľ` is Slovak-only; Czech uses `l`).
- 1 hardcoded PL surface upgraded: `app/verify/page.tsx` (G-14
expired-token explainer) shipped as PL-only on first cut.
Now per-locale COPY × 4 langs (pl/uk/cs/en) so a teacher who
receives the verify email under any locale lands on a
readable error page when their token expires.
- `/rodzic/*` pages remain hardcoded PL by design — `/parent/*`
is the multi-lang counterpart (separate audience-routed
surfaces). Documented as Pass-11 audit candidate.
G-33 — `/games` CityScene sunset backdrop (user-reported drift).
After PR-P G-27 added `backdrop="sunset"` to the compact
CityScene previews (homepage + dashboard), the FULL-size hero on
/games hub still rendered the legacy night palette — so visiting
the hub felt like jumping to a different product. Set
`backdrop="sunset"` on the /games CityScene call to match the
rest of the app.
Validation:
- pnpm typecheck → 0 errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cdf5843 commit 91bf026
3 files changed
Lines changed: 48 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
24 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
25 | 57 | | |
26 | 58 | | |
27 | 59 | | |
| |||
35 | 67 | | |
36 | 68 | | |
37 | 69 | | |
| 70 | + | |
| 71 | + | |
38 | 72 | | |
39 | 73 | | |
40 | 74 | | |
41 | 75 | | |
42 | 76 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 77 | + | |
| 78 | + | |
49 | 79 | | |
50 | 80 | | |
51 | | - | |
| 81 | + | |
52 | 82 | | |
53 | 83 | | |
54 | | - | |
| 84 | + | |
55 | 85 | | |
56 | 86 | | |
57 | 87 | | |
| |||
0 commit comments