Minor translation changes

This commit is contained in:
Yair Morgenstern 2018-12-10 18:10:19 +02:00
parent 437c422817
commit ec80dcc0c0
4 changed files with 5 additions and 10 deletions

View file

@ -3690,6 +3690,7 @@
Portuguese:"Edifícios"
}
"Wonders":{}
"Specialist Buildings":{}
"Population":{
Italian:"Popolazione"
Russian:"Население"

View file

@ -173,7 +173,7 @@ class EmpireOverviewScreen : CameraStageBaseScreen(){
val mapping = playerCivInfo.greatPeople.statToGreatPersonMapping
for(entry in mapping){
greatPeopleTable.add(entry.value)
greatPeopleTable.add(entry.value.tr())
greatPeopleTable.add(greatPersonPoints[entry.key]!!.toInt().toString()+"/"+pointsToGreatPerson)
greatPeopleTable.add(greatPersonPointsPerTurn[entry.key]!!.toInt().toString()).row()
}

View file

@ -35,7 +35,7 @@ class BuildingsTable(private val cityScreen: CityScreen) : Table(CameraStageBase
}
if (!wonders.isEmpty()) {
val wondersExpander = ExpanderTab("Wonders",skin)
val wondersExpander = ExpanderTab("Wonders".tr(),skin)
for (building in wonders) {
wondersExpander.innerTable.add(ImageGetter.getConstructionImage(building.name).surroundWithCircle(30f))
wondersExpander.innerTable.add(Label(building.name.tr(), skin)).pad(5f).align(Align.left).row()
@ -44,7 +44,7 @@ class BuildingsTable(private val cityScreen: CityScreen) : Table(CameraStageBase
}
if (!specialistBuildings.isEmpty()) {
val specialistBuildingsExpander = ExpanderTab("Specialist Buildings",skin)
val specialistBuildingsExpander = ExpanderTab("Specialist Buildings".tr(),skin)
for (building in specialistBuildings) {
specialistBuildingsExpander.innerTable.add(ImageGetter.getConstructionImage(building.name).surroundWithCircle(30f))
specialistBuildingsExpander.innerTable.add(Label(building.name.tr(), skin)).pad(5f)
@ -63,7 +63,7 @@ class BuildingsTable(private val cityScreen: CityScreen) : Table(CameraStageBase
}
if (!others.isEmpty()) {
val buildingsExpanderTab = ExpanderTab("Buildings",skin)
val buildingsExpanderTab = ExpanderTab("Buildings".tr(),skin)
for (building in others) {
buildingsExpanderTab.innerTable.add(ImageGetter.getConstructionImage(building.name).surroundWithCircle(30f))
buildingsExpanderTab.innerTable.add(Label(building.name.tr(), skin)).pad(5f).row()

View file

@ -23,12 +23,6 @@ class CityStatsTable(val cityScreen: CityScreen) : Table(){
columnDefaults(0).padRight(10f)
clear()
val cityStatsHeader = Label("City Stats", CameraStageBaseScreen.skin)
cityStatsHeader.setFontSize(15)
add(cityStatsHeader).colspan(2).pad(10f)
row()
val cityStatsValues = LinkedHashMap<String, String>()
cityStatsValues["Production"] = Math.round(stats.production).toString() + city.cityConstructions.getAmountConstructedText()
cityStatsValues["Food"] = (Math.round(stats.food).toString()