diff --git a/android/assets/jsons/translations/Dutch.properties b/android/assets/jsons/translations/Dutch.properties index 2602e64f9c..4eb54e361c 100644 --- a/android/assets/jsons/translations/Dutch.properties +++ b/android/assets/jsons/translations/Dutch.properties @@ -87,7 +87,7 @@ Denounce ([numberOfTurns] turns) = Beschuldig ([numberOfTurns] rondes) We will remember this. = We zullen dit onthouden. [civName] has declared war on [targetCivName]! = [civName] heeft de oorlog verklaard aan [targetCivName]! -[civName] and [targetCivName] have signed the Peace Treaty! = [civName] en [targetCivName] hebben een vredesverdrag getekend! +[civName] and [targetCivName] have signed a Peace Treaty! = [civName] en [targetCivName] hebben een vredesverdrag getekend! [civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] en [targetCivName] hebben een vriendschapsovereenkomst getekend. [civName] has denounced [targetCivName]! = [civName] heeft [targetCivName] beschuldigd! diff --git a/android/assets/jsons/translations/Hungarian.properties b/android/assets/jsons/translations/Hungarian.properties index 18c16802c0..34d9c1e7b1 100644 --- a/android/assets/jsons/translations/Hungarian.properties +++ b/android/assets/jsons/translations/Hungarian.properties @@ -79,7 +79,7 @@ Denounce ([numberOfTurns] turns) = Megvádolás ([numberOfTurns] kör) We will remember this. = Emlékezni fogunk erre. [civName] has declared war on [targetCivName]! = [civName] hadat üzent [targetCivName] ellen! -[civName] and [targetCivName] have signed the Peace Treaty! = [civName] és [targetCivName] aláírták a békeszerződést! +[civName] and [targetCivName] have signed a Peace Treaty! = [civName] és [targetCivName] aláírták a békeszerződést! [civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] és [targetCivName] aláírták a barátsgányilatkozatot! [civName] has denounced [targetCivName]! = [civName] megvádolta a [targetCivName] nemzetet! diff --git a/android/assets/jsons/translations/Indonesian.properties b/android/assets/jsons/translations/Indonesian.properties index 3f37ad7606..8fc898129a 100644 --- a/android/assets/jsons/translations/Indonesian.properties +++ b/android/assets/jsons/translations/Indonesian.properties @@ -79,7 +79,7 @@ Denounce ([numberOfTurns] turns) = Hina ([numberOfTurns] giliran) We will remember this. = Kami akan mengingat ini. [civName] has declared war on [targetCivName]! = [civName] menyatakan perang kepada [targetCivName]! -[civName] and [targetCivName] have signed the Peace Treaty! = [civName] dan [targetCivName] menandatangani Perjanjian Perdamaian! +[civName] and [targetCivName] have signed a Peace Treaty! = [civName] dan [targetCivName] menandatangani Perjanjian Perdamaian! [civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] and [targetCivName] sudah menandatangani Deklarasi Pertemanan! [civName] has denounced [targetCivName]! = [civName] telah menghina [targetCivName]! diff --git a/android/assets/jsons/translations/Malay.properties b/android/assets/jsons/translations/Malay.properties index c9e642d9fa..8be0c90258 100644 --- a/android/assets/jsons/translations/Malay.properties +++ b/android/assets/jsons/translations/Malay.properties @@ -126,7 +126,7 @@ We will remember this. = Kami akan ingat perkara ini # Requires translation! [civName] has declared war on [targetCivName]! = # Requires translation! -[civName] and [targetCivName] have signed the Peace Treaty! = +[civName] and [targetCivName] have signed a Peace Treaty! = # Requires translation! [civName] and [targetCivName] have signed the Declaration of Friendship! = # Requires translation! diff --git a/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties b/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties index bc1c05cb23..ace0738dae 100644 --- a/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties +++ b/android/assets/jsons/translations/Persian_(Pinglish-DIN).properties @@ -80,7 +80,7 @@ Denounce ([numberOfTurns] turns) = Dar jāme’e ye jahāni mahkoom kardan ([num We will remember this. = Mā inrā be yād ḵāhim dāšt. [civName] has declared war on [targetCivName]! = [civName] be [targetCivName] e’elām jang karde ast! -[civName] and [targetCivName] have signed the Peace Treaty! = [civName] va [targetCivName] bā ham Mo’āhede ye Solh bastand! +[civName] and [targetCivName] have signed a Peace Treaty! = [civName] va [targetCivName] bā ham Mo’āhede ye Solh bastand! [civName] and [targetCivName] have signed the Declaration of Friendship! = [civName] va [targetCivName] bā ham peymān doosti bastand! [civName] has denounced [targetCivName]! = [civName], [targetCivName] rā mahkoom karde ast! diff --git a/core/src/com/unciv/logic/GameInfo.kt b/core/src/com/unciv/logic/GameInfo.kt index 2b8101595e..813c3cd44e 100644 --- a/core/src/com/unciv/logic/GameInfo.kt +++ b/core/src/com/unciv/logic/GameInfo.kt @@ -266,6 +266,17 @@ class GameInfo { for (promotion in unit.promotions.promotions.toList()) if (!ruleSet.unitPromotions.containsKey(promotion)) unit.promotions.promotions.remove(promotion) + + for (city in civilizations.asSequence().flatMap { it.cities.asSequence() }) { + for (building in city.cityConstructions.builtBuildings.toHashSet()) + if (!ruleSet.buildings.containsKey(building)) + city.cityConstructions.builtBuildings.remove(building) + for (building in city.cityConstructions.constructionQueue.toList()) + if (!ruleSet.buildings.containsKey(building)) + city.cityConstructions.constructionQueue.remove(building) + } + + } tileMap.setTransients(ruleSet)