Mod description translation (#4801)

This commit is contained in:
SomeTroglodyte 2021-08-07 22:42:12 +02:00 committed by GitHub
parent 124d614a9f
commit ad82f63794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 10 deletions

View File

@ -304,7 +304,16 @@ No human players selected! = Keine menschlichen Spieler ausgewählt!
Mods: = Modifikationen:
Base ruleset mods: = Basisregelsatz Modifikationen:
Extension mods: = Erweiterungs Modifikationen:
Base Ruleset = Basisregelsatz
[amount] Techs = [amount] Technologien
[amount] Nations = [amount] Nationen
[amount] Units = [amount] Einheiten
[amount] Buildings = [amount] Gebäude
[amount] Resources = [amount] Ressourcen
[amount] Improvements = [amount] Feldverbesserungen
[amount] Religions = [amount] Religionen
[amount] Beliefs = [amount] Glauben
World Wrap = World Wrap
World wrap maps are very memory intensive - creating large world wrap maps on Android can lead to crashes! = 'World Wrap' Karten verbrauchen sehr viel Speicher - Das erstellen von großen 'World Wrap' Karten kann bei Android zu einem Absturz führen!
Anything above 80 by 50 may work very slowly on Android! = Auf Android kann alles über 80 mal 50 sehr langsam sein.
@ -1113,7 +1122,7 @@ The mod you selected is incompatible with the defined ruleset! = Die gewählte M
# Uniques that are relevant to more than one type of game object
[stats] from every [param] = [stats] von jedem Gebäude "[param]"
[stats] from every [param] = Alle [param] geben [stats]
[stats] from [param] tiles in this city = [stats] von [param] Feld in dieser Stadt
[stats] from every [param] on [tileFilter] tiles = [stats] von jedem [param] auf [tileFilter] Feldern
[stats] for each adjacent [param] = [stats] für jedes anliegende [param]

View File

@ -304,6 +304,15 @@ No human players selected! =
Mods: =
Base ruleset mods: =
Extension mods: =
Base Ruleset =
[amount] Techs =
[amount] Nations =
[amount] Units =
[amount] Buildings =
[amount] Resources =
[amount] Improvements =
[amount] Religions =
[amount] Beliefs =
World Wrap =
World wrap maps are very memory intensive - creating large world wrap maps on Android can lead to crashes! =

View File

@ -17,6 +17,7 @@ import com.unciv.models.ruleset.unit.UnitType
import com.unciv.models.stats.INamed
import com.unciv.models.stats.NamedStats
import com.unciv.models.stats.Stat
import com.unciv.models.translations.tr
import com.unciv.ui.utils.colorFromRGB
import kotlin.collections.set
@ -244,14 +245,15 @@ class Ruleset {
fun getSummary(): String {
val stringList = ArrayList<String>()
if (modOptions.isBaseRuleset) stringList += "Base Ruleset"
if (technologies.isNotEmpty()) stringList.add(technologies.size.toString() + " Techs")
if (nations.isNotEmpty()) stringList.add(nations.size.toString() + " Nations")
if (units.isNotEmpty()) stringList.add(units.size.toString() + " Units")
if (buildings.isNotEmpty()) stringList.add(buildings.size.toString() + " Buildings")
if (tileResources.isNotEmpty()) stringList.add(tileResources.size.toString() + " Resources")
if (tileImprovements.isNotEmpty()) stringList.add(tileImprovements.size.toString() + " Improvements")
if (beliefs.isNotEmpty()) stringList.add(beliefs.size.toString() + " Beliefs")
return stringList.joinToString()
if (technologies.isNotEmpty()) stringList += "[${technologies.size}] Techs"
if (nations.isNotEmpty()) stringList += "[${nations.size}] Nations"
if (units.isNotEmpty()) stringList += "[${units.size}] Units"
if (buildings.isNotEmpty()) stringList += "[${buildings.size}] Buildings"
if (tileResources.isNotEmpty()) stringList += "[${tileResources.size}] Resources"
if (tileImprovements.isNotEmpty()) stringList += "[${tileImprovements.size}] Improvements"
if (religions.isNotEmpty()) stringList += "[${religions.size}] Religions"
if (beliefs.isNotEmpty()) stringList += "[${beliefs.size}] Beliefs"
return stringList.joinToString { it.tr() }
}
/** Severity level of Mod RuleSet check */