[Translation] Add back "general" unit types (#10526)

* Add back "general" unit types

These entries have been removed from translation files, making them untranslated in-game (in Civilopedia articles)

* Revert changes in template.properties

* Fix missing unit type translations

Fix by @SomeTroglodyte
This commit is contained in:
Ouaz
2023-11-21 10:07:19 +01:00
committed by GitHub
parent 8dc0db49e7
commit 810392a55e

View File

@ -114,6 +114,8 @@ enum class UniqueParameterType(
if (UnitTypeFilter.isKnownValue(parameterText, ruleset)) return true if (UnitTypeFilter.isKnownValue(parameterText, ruleset)) return true
return false return false
} }
override fun getTranslationWriterStringsForOutput() = knownValues
}, },
/** Implemented by [UnitType.matchesFilter][com.unciv.models.ruleset.unit.UnitType.matchesFilter] */ /** Implemented by [UnitType.matchesFilter][com.unciv.models.ruleset.unit.UnitType.matchesFilter] */