Centeralized translations of alerts to translations file, for Spanish
This commit is contained in:
parent
f9f46391ea
commit
a6b4a62abc
7 changed files with 68 additions and 68 deletions
|
@ -46,7 +46,7 @@
|
||||||
{
|
{
|
||||||
name:"King",
|
name:"King",
|
||||||
baseHappiness:9,
|
baseHappiness:9,
|
||||||
researchCostModifier:1,
|
researchCostModifier:1.1,
|
||||||
unhappinessModifier:1,
|
unhappinessModifier:1,
|
||||||
aiCityGrowthModifier:0.9,
|
aiCityGrowthModifier:0.9,
|
||||||
aiUnitMaintainanceModifier:0.8,
|
aiUnitMaintainanceModifier:0.8,
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
{
|
{
|
||||||
name:"Emperor",
|
name:"Emperor",
|
||||||
baseHappiness:9,
|
baseHappiness:9,
|
||||||
researchCostModifier:1,
|
researchCostModifier:1.2,
|
||||||
unhappinessModifier:1,
|
unhappinessModifier:1,
|
||||||
aiCityGrowthModifier:0.85,
|
aiCityGrowthModifier:0.85,
|
||||||
aiUnitMaintainanceModifier:0.75,
|
aiUnitMaintainanceModifier:0.75,
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
{
|
{
|
||||||
name:"Immortal",
|
name:"Immortal",
|
||||||
baseHappiness:9,
|
baseHappiness:9,
|
||||||
researchCostModifier:1,
|
researchCostModifier:1.3,
|
||||||
unhappinessModifier:1,
|
unhappinessModifier:1,
|
||||||
aiCityGrowthModifier:0.75,
|
aiCityGrowthModifier:0.75,
|
||||||
aiUnitMaintainanceModifier:0.65,
|
aiUnitMaintainanceModifier:0.65,
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
{
|
{
|
||||||
name:"Deity",
|
name:"Deity",
|
||||||
baseHappiness:9,
|
baseHappiness:9,
|
||||||
researchCostModifier:1,
|
researchCostModifier:1.5,
|
||||||
unhappinessModifier:1,
|
unhappinessModifier:1,
|
||||||
aiCityGrowthModifier:0.6,
|
aiCityGrowthModifier:0.6,
|
||||||
aiUnitMaintainanceModifier:0.5,
|
aiUnitMaintainanceModifier:0.5,
|
||||||
|
|
|
@ -689,31 +689,31 @@
|
||||||
// If so then we need to deal with that as well
|
// If so then we need to deal with that as well
|
||||||
// I remember that some languages have upside-down question marks before to mark a question
|
// I remember that some languages have upside-down question marks before to mark a question
|
||||||
|
|
||||||
"has grown":{
|
"[cityName] has grown!":{
|
||||||
Italian:"è cresciuta"
|
Italian:"[cityName] è cresciuta!"
|
||||||
Russian:"вырос"
|
Russian:"[cityName] вырос!"
|
||||||
French:"a grandi"
|
French:"[cityName] a grandi!"
|
||||||
Romanian:"a crescut"
|
Romanian:"[cityName] a crescut!"
|
||||||
German:"ist gewachsen"
|
German:"[cityName] ist gewachsen!"
|
||||||
Dutch:"is gegroeid"
|
Dutch:"[cityName] is gegroeid!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"has been founded":{
|
"[cityName] has been founded!":{
|
||||||
Italian:"è stata fondata"
|
Italian:"[cityName] è stata fondata!"
|
||||||
Russian:"был основан"
|
Russian:"[cityName] был основан!"
|
||||||
French:"a été fondé"
|
French:"[cityName] a été fondé!"
|
||||||
Romanian:"a fost fondat"
|
Romanian:"[cityName] a fost fondat!"
|
||||||
German:"wurde gegründet"
|
German:"[cityName] wurde gegründet!"
|
||||||
Dutch:"is gesticht"
|
Dutch:"[cityName] is gesticht!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"has been razed to the ground":{
|
"[cityName] has been razed to the ground!":{
|
||||||
Italian:"è stata rasa al suolo"
|
Italian:"[cityName] è stata rasa al suolo!"
|
||||||
Russian:"был разрушен до основания"
|
Russian:"[cityName] был разрушен до основания!"
|
||||||
French:"a été rasé à terre"
|
French:"[cityName] a été rasé à terre!"
|
||||||
Romanian:"a fost distrus la pământ"
|
Romanian:"[cityName] a fost distrus la pământ!"
|
||||||
German:"wurde dem Erdboden gleichgemacht"
|
German:"[cityName] wurde dem Erdboden gleichgemacht!"
|
||||||
Dutch:"Is totaal verwoest"
|
Dutch:"[cityName] Is totaal verwoest!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"We have conquered the city of [cityname]!":{
|
"We have conquered the city of [cityname]!":{
|
||||||
|
@ -725,40 +725,40 @@
|
||||||
Dutch:"We hebben de stad [cityname] ingenomen!"
|
Dutch:"We hebben de stad [cityname] ingenomen!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Research of [tehnologyName] has completed!":{ // For technology notifications EG Research of Writing has completed
|
"Research of [technologyName] has completed!":{ // For technology notifications EG Research of Writing has completed
|
||||||
Italian:"Ricerca di [tehnologyName] completata!"
|
Italian:"Ricerca di [technologyName] completata!"
|
||||||
Russian:"Исследование [tehnologyName] завершено!"
|
Russian:"Исследование [technologyName] завершено!"
|
||||||
French:"Recherche de [tehnologyName] a completé!"
|
French:"Recherche de [technologyName] a completé!"
|
||||||
Romanian:"Cercetarea [tehnologyName] a finalizat!"
|
Romanian:"Cercetarea [technologyName] a finalizat!"
|
||||||
German:"[tehnologyName] wurde erforscht!"
|
German:"[technologyName] wurde erforscht!"
|
||||||
Dutch:"[tehnologyName] is onderzocht!"
|
Dutch:"[technologyName] is onderzocht!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"You have entered a golden age":{
|
"You have entered a golden age!":{
|
||||||
Italian:"Sei entrato in un'età dell'oro"
|
Italian:"Sei entrato in un'età dell'oro!"
|
||||||
Russian:"Вы вошли в золотой век"
|
Russian:"Вы вошли в золотой век!"
|
||||||
French:"Vous êtes entré dans un âge d'or"
|
French:"Vous êtes entré dans un âge d'or!"
|
||||||
Romanian:"Ați intrat într-o epocă de aur"
|
Romanian:"Ați intrat într-o epocă de aur!"
|
||||||
German:"Ein goldenes Zeitalter ist eingetreten"
|
German:"Ein goldenes Zeitalter ist eingetreten!"
|
||||||
Dutch:"Een gouden eeuw is geariveerd"
|
Dutch:"Een gouden eeuw is geariveerd!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"is starving":{
|
"[cityName] is starving!":{
|
||||||
Italian:"sta morendo di fame"
|
Italian:"[cityName] sta morendo di fame!"
|
||||||
Russian:"голодает"
|
Russian:"[cityName] голодает!"
|
||||||
French:"est affamé"
|
French:"[cityName] est affamé!"
|
||||||
Romanian:"suferă de foame"
|
Romanian:"[cityName] suferă de foame!"
|
||||||
German:"verhungert"
|
German:"[cityName] verhungert!"
|
||||||
Dutch:"verhongerd"
|
Dutch:"[cityName] verhongerd!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"has been built in":{
|
"[construction] has been built in [cityName]":{
|
||||||
Italian:"è stato/a costruito/a in"
|
Italian:"[construction] è stato/a costruito/a in [cityName]"
|
||||||
Russian:"была построена в"
|
Russian:"[construction] была построена в [cityName]"
|
||||||
French:"a été construit en"
|
French:"[construction] a été construit en [cityName]"
|
||||||
Romanian:"a fost construit in"
|
Romanian:"[construction] a fost construit in [cityName]"
|
||||||
German:"wurde erbaut in"
|
German:"[construction] wurde erbaut in [cityName]"
|
||||||
Dutch:"is gebouwd in"
|
Dutch:"[construction] is gebouwd in [cityName]"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Work has started on [construction]":{
|
"Work has started on [construction]":{
|
||||||
|
@ -779,13 +779,13 @@
|
||||||
Dutch:"Er kan niet meer veder gewerkt worden aan [construction]"
|
Dutch:"Er kan niet meer veder gewerkt worden aan [construction]"
|
||||||
}
|
}
|
||||||
|
|
||||||
"has expanded its borders":{
|
"[cityname] has expanded its borders!":{
|
||||||
Italian:"ha espanso i suoi confini"
|
Italian:"[cityname] ha espanso i suoi confini!"
|
||||||
Russian:"расширил свои границы"
|
Russian:"[cityname] расширил свои границы!"
|
||||||
French:"a élargi ses frontières"
|
French:"[cityname] a élargi ses frontières!"
|
||||||
Romanian:"și-a extins frontierele"
|
Romanian:"[cityname] și-a extins frontierele!"
|
||||||
German:"hat seine Grenzen erweitert"
|
German:"[cityname] hat seine Grenzen erweitert!"
|
||||||
Dutch:"heeft zijn grenzen uitgebreid"
|
Dutch:"[cityname] heeft zijn grenzen uitgebreid!"
|
||||||
}
|
}
|
||||||
"An enemy [unit] has attacked [cityname]":{
|
"An enemy [unit] has attacked [cityname]":{
|
||||||
Italian:"Un [unit] nemico ha attaccato [cityname]"
|
Italian:"Un [unit] nemico ha attaccato [cityname]"
|
||||||
|
|
|
@ -145,10 +145,10 @@ class CityConstructions {
|
||||||
if(construction is Building && construction.isWonder && construction.requiredBuildingInAllCities==null) {
|
if(construction is Building && construction.isWonder && construction.requiredBuildingInAllCities==null) {
|
||||||
val playerCiv = cityInfo.civInfo.gameInfo.getPlayerCivilization()
|
val playerCiv = cityInfo.civInfo.gameInfo.getPlayerCivilization()
|
||||||
val builtLocation = if(playerCiv.exploredTiles.contains(cityInfo.location)) cityInfo.name else "a faraway land"
|
val builtLocation = if(playerCiv.exploredTiles.contains(cityInfo.location)) cityInfo.name else "a faraway land"
|
||||||
playerCiv.addNotification("{$currentConstruction} {has been built in} $builtLocation", cityInfo.location, Color.BROWN)
|
playerCiv.addNotification("[$currentConstruction] has been built in [$builtLocation]", cityInfo.location, Color.BROWN)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
cityInfo.civInfo.addNotification("{$currentConstruction} {has been built in} " + cityInfo.name, cityInfo.location, Color.BROWN)
|
cityInfo.civInfo.addNotification("[$currentConstruction] has been built in [" + cityInfo.name+"]", cityInfo.location, Color.BROWN)
|
||||||
|
|
||||||
currentConstruction=""
|
currentConstruction=""
|
||||||
Automation().chooseNextConstruction(this)
|
Automation().chooseNextConstruction(this)
|
||||||
|
|
|
@ -102,7 +102,7 @@ class CityExpansionManager {
|
||||||
cultureStored += culture.toInt()
|
cultureStored += culture.toInt()
|
||||||
if (cultureStored >= getCultureToNextTile()) {
|
if (cultureStored >= getCultureToNextTile()) {
|
||||||
addNewTileWithCulture()
|
addNewTileWithCulture()
|
||||||
cityInfo.civInfo.addNotification(cityInfo.name + " {has expanded its borders}!", cityInfo.location, Color.PURPLE)
|
cityInfo.civInfo.addNotification("["+cityInfo.name + "] has expanded its borders!", cityInfo.location, Color.PURPLE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@ class CityInfo {
|
||||||
this.location = cityLocation
|
this.location = cityLocation
|
||||||
civInfo.cities = civInfo.cities.toMutableList().apply { add(this@CityInfo) }
|
civInfo.cities = civInfo.cities.toMutableList().apply { add(this@CityInfo) }
|
||||||
if(civInfo == civInfo.gameInfo.getPlayerCivilization())
|
if(civInfo == civInfo.gameInfo.getPlayerCivilization())
|
||||||
civInfo.addNotification("$name {has been founded}!", cityLocation, Color.PURPLE)
|
civInfo.addNotification("[$name] has been founded!", cityLocation, Color.PURPLE)
|
||||||
if (civInfo.policies.isAdopted("Legalism") && civInfo.cities.size <= 4) cityConstructions.addCultureBuilding()
|
if (civInfo.policies.isAdopted("Legalism") && civInfo.cities.size <= 4) cityConstructions.addCultureBuilding()
|
||||||
if (civInfo.cities.size == 1) {
|
if (civInfo.cities.size == 1) {
|
||||||
cityConstructions.builtBuildings.add("Palace")
|
cityConstructions.builtBuildings.add("Palace")
|
||||||
|
@ -169,7 +169,7 @@ class CityInfo {
|
||||||
if(isBeingRazed){
|
if(isBeingRazed){
|
||||||
population.population--
|
population.population--
|
||||||
if(population.population<=0){ // there are strange cases where we geet to -1
|
if(population.population<=0){ // there are strange cases where we geet to -1
|
||||||
civInfo.addNotification("$name {has been razed to the ground}!",location, Color.RED)
|
civInfo.addNotification("[$name] has been razed to the ground!",location, Color.RED)
|
||||||
destroyCity()
|
destroyCity()
|
||||||
if(isCapital() && civInfo.cities.isNotEmpty()) // Yes, we actually razed the capital. Some people do this.
|
if(isCapital() && civInfo.cities.isNotEmpty()) // Yes, we actually razed the capital. Some people do this.
|
||||||
civInfo.cities.first().cityConstructions.builtBuildings.add("Palace")
|
civInfo.cities.first().cityConstructions.builtBuildings.add("Palace")
|
||||||
|
|
|
@ -52,7 +52,7 @@ class PopulationManager {
|
||||||
fun nextTurn(food: Float) {
|
fun nextTurn(food: Float) {
|
||||||
foodStored += food.roundToInt()
|
foodStored += food.roundToInt()
|
||||||
if(food.roundToInt() < 0)
|
if(food.roundToInt() < 0)
|
||||||
cityInfo.civInfo.addNotification(cityInfo.name + " {is starving}!", cityInfo.location, Color.RED)
|
cityInfo.civInfo.addNotification("["+cityInfo.name + "] is starving!", cityInfo.location, Color.RED)
|
||||||
if (foodStored < 0)
|
if (foodStored < 0)
|
||||||
// starvation!
|
// starvation!
|
||||||
{
|
{
|
||||||
|
@ -69,7 +69,7 @@ class PopulationManager {
|
||||||
if (cityInfo.getBuildingUniques().contains("25% of food carried over after a new citizen is born")) foodStored += (0.25f * getFoodToNextPopulation()).toInt() // Medical Lab special
|
if (cityInfo.getBuildingUniques().contains("25% of food carried over after a new citizen is born")) foodStored += (0.25f * getFoodToNextPopulation()).toInt() // Medical Lab special
|
||||||
population++
|
population++
|
||||||
autoAssignPopulation()
|
autoAssignPopulation()
|
||||||
cityInfo.civInfo.addNotification(cityInfo.name + " {has grown}!", cityInfo.location, Color.GREEN)
|
cityInfo.civInfo.addNotification("["+cityInfo.name + "] has grown!", cityInfo.location, Color.GREEN)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ class GoldenAgeManager{
|
||||||
if (civInfo.getBuildingUniques().contains("Golden Age length increases +50%")) turnsToGoldenAge *= 1.5
|
if (civInfo.getBuildingUniques().contains("Golden Age length increases +50%")) turnsToGoldenAge *= 1.5
|
||||||
if (civInfo.policies.isAdopted("Freedom Complete")) turnsToGoldenAge *= 1.5
|
if (civInfo.policies.isAdopted("Freedom Complete")) turnsToGoldenAge *= 1.5
|
||||||
turnsLeftForCurrentGoldenAge += turnsToGoldenAge.toInt()
|
turnsLeftForCurrentGoldenAge += turnsToGoldenAge.toInt()
|
||||||
civInfo.addNotification("{You have entered a golden age}!", null, Color.GOLD)
|
civInfo.addNotification("You have entered a golden age!", null, Color.GOLD)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun endTurn(happiness: Int) {
|
fun endTurn(happiness: Int) {
|
||||||
|
|
Loading…
Reference in a new issue