Improve TranslationFileWriter (less hardcoding, fixes PolicyBranch) (#6421)

* Allow TranslationFileWriter to follow several superclass levels (fixes PolicyBranch names)

* Bring German and template up to par as baseline

* Framework to feed TranslationFileWriter from UniqueParameterType, also fixes Fountain of Youth

* TranslationFileWriter legacy guessing now _much_ simpler

* Fix "chance to be destroyed by nukes" case

* Fix tests (allTranslationsHaveCorrectPlaceholders goes cross-language)
This commit is contained in:
SomeTroglodyte
2022-03-25 15:27:25 +01:00
committed by GitHub
parent f013d400b0
commit 0b50715fb3
39 changed files with 2834 additions and 1920 deletions

View File

@ -1246,8 +1246,8 @@ Simple unique parameters are explained by mouseover. Complex parameters are expl
??? example "Rare feature"
Applicable to: Terrain
??? example "[amount]% chance to be destroyed by nukes"
Example: "[20]% chance to be destroyed by nukes"
??? example "[amount]% Chance to be destroyed by nukes"
Example: "[20]% Chance to be destroyed by nukes"
Applicable to: Terrain