Translate "Sell" in city screen (#8297)

This commit is contained in:
Ouaz
2023-01-02 23:40:34 +01:00
committed by GitHub
parent 3b7b54aab6
commit 1c85388ee8
2 changed files with 2 additions and 1 deletions

View File

@ -1063,6 +1063,7 @@ In resistance for another [numberOfTurns] turns =
We Love The King Day for another [numberOfTurns] turns =
Demanding [resource] =
Sell for [sellAmount] gold =
Sell =
Are you sure you want to sell this [building]? =
Free =
[greatPerson] points =

View File

@ -95,7 +95,7 @@ class ConstructionInfoTable(val cityScreen: CityScreen): Table() {
if (construction is Building && cityConstructions.isBuilt(construction.name)
&& construction.isSellable()) {
val sellAmount = cityScreen.city.getGoldForSellingBuilding(construction.name)
val sellText = "Sell [$sellAmount] " + Fonts.gold
val sellText = "{Sell} [$sellAmount] " + Fonts.gold
val sellBuildingButton = sellText.toTextButton()
row()
add(sellBuildingButton).padTop(5f).colspan(2).center()