From 3111cf5613067d9a5b3d9195350d5d9a231520e3 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Mon, 5 Aug 2024 13:37:32 +0300 Subject: [PATCH] Added translation lines --- android/assets/jsons/translations/template.properties | 3 +++ core/src/com/unciv/logic/automation/unit/RoadToAutomation.kt | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/android/assets/jsons/translations/template.properties b/android/assets/jsons/translations/template.properties index c880864f25..829a08a484 100644 --- a/android/assets/jsons/translations/template.properties +++ b/android/assets/jsons/translations/template.properties @@ -257,6 +257,8 @@ City-States grow wary of your aggression. The resting point for Influence has de [cityState] is being attacked by [civName]! Kill [amount] of the attacker's military units and they will be immensely grateful. = [cityState] is deeply grateful for your assistance in the war against [civName]! = [cityState] no longer needs your assistance against [civName]. = +[cityState] cancelled the quests they had given you because you demanded tribute from them. = +[cityState] cancelled the quests they had given you because you demanded tribute from them. = War against [civName] = We need you to help us defend against [civName]. Killing [amount] of their military units would slow their offensive. = Currently you have killed [amount] of their military units. = @@ -1031,6 +1033,7 @@ You and [name] are no longer allies! = [civName] has denounced us! = [cityName] has been connected to your capital! = [cityName] has been disconnected from your capital! = +Connect road completed = [civName] has accepted your trade request = [civName] has made a counteroffer to your trade request = [civName] has denied your trade request = diff --git a/core/src/com/unciv/logic/automation/unit/RoadToAutomation.kt b/core/src/com/unciv/logic/automation/unit/RoadToAutomation.kt index 22cf3e3511..e382658ff2 100644 --- a/core/src/com/unciv/logic/automation/unit/RoadToAutomation.kt +++ b/core/src/com/unciv/logic/automation/unit/RoadToAutomation.kt @@ -84,7 +84,7 @@ class RoadToAutomation(val civInfo: Civilization) { if (unit.hasMovement() && !shouldBuildRoadOnTile(currentTile)) { if (currTileIndex == pathToDest.size - 1) { // The last tile in the path is unbuildable or has a road. stopAndCleanAutomation(unit) - unit.civ.addNotification("Connect road completed!", MapUnitAction(unit), NotificationCategory.Units, unit.name) + unit.civ.addNotification("Connect road completed", MapUnitAction(unit), NotificationCategory.Units, unit.name) return }