mirror of
https://github.com/LorenEteval/Furious.git
synced 2026-10-09 15:19:56 +03:00
1.3 KiB
1.3 KiB
Generated translation catalog guidance
GenTranslation.pyis generated by the repository-rootTranslation.py; do not hand-edit it. Change source strings or the translation data and regenerate.- Each catalog entry uses this key order:
source, supported language keys in the generator's canonical order, thenisReviewed. sourceis a deduplicated list of fully qualified Python module names discovered by the generator. Preserve generated ordering and remove stale sources through regeneration, not manual cleanup._()/gettext()extraction accepts static literals. The only f-string exception consists exclusively of bare names defined inFurious.Frozenlib.Constants; the extractor substitutes those values before catalog lookup.- Do not put runtime values, attribute expressions, calls, format specifications,
.format(...), or ordinary brace placeholders inside a translatable expression. - New or changed translations remain unreviewed until a human verifies meaning. Preserve Unicode, HTML/newline semantics, and natural RU/ZH wording rather than literal word order.
Verification
- Run
Translation.pyfor the affected languages, inspect the generated diff for source/key ordering and stale entries, and ensure a second generation is stable.