Tests, CHANGELOG and docs for the peering desk

This commit is contained in:
Frederic Jung 2026-10-29 21:41:28 +01:00
parent 9ba7f197f1
commit 92536606dd
No known key found for this signature in database
16 changed files with 266 additions and 280 deletions

View file

@ -35,7 +35,7 @@ fell back to English. Long sentences as keys made dictionary diffs hard to read
- **`npm run i18n:check`** verifies that every label used in `src/` is defined in English, every
English label is used, every translation keeps its English's placeholders, HTML tags and plural forms,
and every dictionary is sorted.
- **Saves:** a few things in a save hold text to show later (the peering inbox log, sold-out reasons,
- **Saves:** a few things in a save hold text to show later (sold-out reasons,
attack names). New saves hold labels. Saves from before labels (1.34 and older) hold the English text; `tr()` maps it
back to its label the first time it sees one, so old saves still show the player's language.
- **Translators** read `src/i18n/en.js` next to their file; both are sorted by the same labels, so the