mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-09 23:39:40 +07:00
[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:
@ -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] */
|
||||||
|
Reference in New Issue
Block a user