mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-04 15:27:50 +07:00
Added missing notification translations (#792)
This commit is contained in:
@ -133,6 +133,8 @@
|
||||
Portuguese:"o(a) [construction] foi construirdo em [cityName]"
|
||||
Japanese:"[construction]は[cityName]に建てられました"
|
||||
}
|
||||
|
||||
"[wonder] has been built in a faraway land":{}
|
||||
|
||||
"Work has started on [construction]":{
|
||||
Italian:"Sono iniziati i lavori per [construction]"
|
||||
@ -226,6 +228,9 @@
|
||||
Portuguese:"Um(a) [unit] inimigo(a) atacout nossa [ourUnit]"
|
||||
Japanese:"敵[unit]が私たちの[ourUnit]を攻撃しました"
|
||||
}
|
||||
|
||||
"Enemy city [cityName] has attacked our [ourUnit]":{}
|
||||
|
||||
"An enemy [unit] has captured [cityname]":{
|
||||
Italian:"Un'unità nemica [unit] ha conquistato [cityname]"
|
||||
Russian:"Вражеский [unit] захватил [cityname]"
|
||||
@ -264,6 +269,8 @@
|
||||
Portuguese:"Um(a) [unit] inimigo(a) destruiu nosso(a) [ourUnit]"
|
||||
Japanese:"敵[unit]が私たちの[ourUnit]を破壊しました"
|
||||
}
|
||||
|
||||
"Enemy city [cityName] has destroyed our [ourUnit]":{}
|
||||
|
||||
"An enemy [unit] was destroyed while attacking [cityname]":{
|
||||
Italian:"Un'unità nemica [unit] è stata distrutta mentre attaccava [cityname]"
|
||||
|
@ -21,8 +21,8 @@ android {
|
||||
applicationId "com.unciv.app"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 28
|
||||
versionCode 244
|
||||
versionName "2.16.7"
|
||||
versionCode 245
|
||||
versionName "2.16.8"
|
||||
}
|
||||
|
||||
// Had to add this crap for Travis to build, it wanted to sign the app
|
||||
|
@ -182,8 +182,11 @@ class CityConstructions {
|
||||
|
||||
if (construction is Building && construction.isWonder && construction.requiredBuildingInAllCities == null) {
|
||||
for (civ in cityInfo.civInfo.gameInfo.civilizations) {
|
||||
val builtLocation = if (civ.exploredTiles.contains(cityInfo.location)) cityInfo.name else "a faraway land"
|
||||
civ.addNotification("[$currentConstruction] has been built in [$builtLocation]", cityInfo.location, Color.BROWN)
|
||||
if (civ.exploredTiles.contains(cityInfo.location))
|
||||
civ.addNotification("[$currentConstruction] has been built in [${cityInfo.name}]", cityInfo.location, Color.BROWN)
|
||||
else
|
||||
civ.addNotification("[$currentConstruction] has been built in a faraway land",null,Color.BROWN)
|
||||
|
||||
}
|
||||
} else
|
||||
cityInfo.civInfo.addNotification("[$currentConstruction] has been built in [" + cityInfo.name + "]", cityInfo.location, Color.BROWN)
|
||||
|
Reference in New Issue
Block a user