Commit 2283cd9
committed
refactor(field-labels): read the label languages off the spec instead of mirroring them by hand
The list carried a comment saying it mirrors the locale files, which is the
shape that goes stale: an eighth language would generate no labels and raise
nothing, so its fields would render in English with every gate green. The spec
lang enum already decides the set, and the locale suite is already checked
against it. Same seven languages, byte-identical output.1 parent f44169f commit 2283cd9
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
| |||
0 commit comments