This commit is contained in:
Mateusz Gruszczyński committed 2026-10-14 21:36:19 +02:00
1 parent c41d1e00a2
commit 6987b3ce33
98 files changed
+146 -10827

No files matched your search

+4 -2
View File
@@ -34,7 +34,9 @@ triggers a Cargo rebuild. Duplicate locales, invalid metadata, non-string values
and oversized packs cause a build error. Limits: 128 packs, 256 KiB per pack,
4096 keys per pack, 8 MiB total bundle.
Run `python3 tools/checks/langs_check.py` before a build. The checker also validates
that every static UI translation key has an English fallback. Extra JSON packs survive the managed updater when the new release does not contain
Validate pack JSON locally (`python3 -m json.tool langs/en_US.json > /dev/null`,
repeating for custom packs). The Rust build validates translation metadata and
bundle limits. Ensure static UI keys have an English fallback. Extra JSON packs
survive the managed updater when the new release does not contain
the same filename. Keep a separate backup too; shipped filenames are replaced and
the previous bytes are retained in the source backup.