Left side of diplomacy screen now scrolls
This commit is contained in:
parent
02fd349243
commit
3b83627386
4 changed files with 31 additions and 22 deletions
|
@ -822,6 +822,8 @@
|
||||||
French:"Un [greatPerson] est né!"
|
French:"Un [greatPerson] est né!"
|
||||||
Romanian:"Sa născut un [greatPerson]!"
|
Romanian:"Sa născut un [greatPerson]!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"We have encountered [civName]!":{}
|
||||||
|
|
||||||
|
|
||||||
// Save and load game
|
// Save and load game
|
||||||
|
@ -2387,11 +2389,12 @@
|
||||||
} // EG Rationalism policy branch unlocked!
|
} // EG Rationalism policy branch unlocked!
|
||||||
|
|
||||||
// Trade
|
// Trade
|
||||||
"Trade with [otherCiv]":{
|
|
||||||
Italian:"Scambia con [otherCiv]"
|
"Trade":{
|
||||||
Russian:"Торговля с [otherCiv]"
|
Italian:"Scambia"
|
||||||
French:"Échanger avec [otherCiv]"
|
Russian:"Торговля"
|
||||||
Romanian:"Comerțul cu [otherCiv]"
|
French:"Échanger"
|
||||||
|
Romanian:"Comerțul"
|
||||||
}
|
}
|
||||||
"Offer trade":{
|
"Offer trade":{
|
||||||
Italian:"Offerta commerciale"
|
Italian:"Offerta commerciale"
|
||||||
|
@ -2412,16 +2415,16 @@
|
||||||
Romanian:"Articolele noastre"
|
Romanian:"Articolele noastre"
|
||||||
}
|
}
|
||||||
"Our trade offer":{
|
"Our trade offer":{
|
||||||
Italian:"La nostra offerta commerciale"
|
Italian:"La nostra \n offerta commerciale"
|
||||||
Russian:"Наше торговое предложение"
|
Russian:"Наше торговое\n предложение"
|
||||||
French:"Notre offre commerciale"
|
French:"Notre offre \n commerciale"
|
||||||
Romanian:"Oferta noastră comercială"
|
Romanian:"Oferta noastră \n comercială"
|
||||||
}
|
}
|
||||||
"[otherCiv]'s trade offer":{
|
"[otherCiv]'s trade offer":{
|
||||||
Italian:"Offerta commerciale di [otherCiv]"
|
Italian:"Offerta commerciale \n di [otherCiv]"
|
||||||
Russian:"Коммерческое предложение [otherCiv]"
|
Russian:"Коммерческое \n предложение [otherCiv]"
|
||||||
French:"L'offre commerciale de [otherCiv]"
|
French:"L'offre commerciale \n de [otherCiv]"
|
||||||
Romanian:"ofertă de schimb a [otherCiv]"
|
Romanian:"ofertă de \n schimb a [otherCiv]"
|
||||||
}
|
}
|
||||||
"[otherCiv]'s items":{
|
"[otherCiv]'s items":{
|
||||||
Italian:"Gli articoli di [otherCiv]"
|
Italian:"Gli articoli di [otherCiv]"
|
||||||
|
@ -2453,6 +2456,11 @@
|
||||||
French:"Accept"
|
French:"Accept"
|
||||||
Romanian:"Accepta"
|
Romanian:"Accepta"
|
||||||
}
|
}
|
||||||
|
"There's nothing on the table":{}
|
||||||
|
|
||||||
|
|
||||||
|
"Peace treaty":{}
|
||||||
|
"Gold per turn":{}
|
||||||
|
|
||||||
|
|
||||||
//civilisations
|
//civilisations
|
||||||
|
@ -2597,6 +2605,11 @@
|
||||||
Romanian:"Diplomaţie"
|
Romanian:"Diplomaţie"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"War":{}
|
||||||
|
"Peace":{}
|
||||||
|
|
||||||
|
"Declare war":{}
|
||||||
|
|
||||||
// Overview screen
|
// Overview screen
|
||||||
"Overview":{
|
"Overview":{
|
||||||
Italian:"Panoramica"
|
Italian:"Panoramica"
|
||||||
|
|
|
@ -21,8 +21,8 @@ android {
|
||||||
applicationId "com.unciv.game"
|
applicationId "com.unciv.game"
|
||||||
minSdkVersion 14
|
minSdkVersion 14
|
||||||
targetSdkVersion 26
|
targetSdkVersion 26
|
||||||
versionCode 115
|
versionCode 116
|
||||||
versionName "2.7.3.2"
|
versionName "2.7.4"
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
|
|
|
@ -50,7 +50,7 @@ class CityConstructions {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getProductionForTileInfo(): String {
|
fun getProductionForTileInfo(): String {
|
||||||
var result = currentConstruction
|
var result = currentConstruction.tr()
|
||||||
if (SpecialConstruction.getSpecialConstructions().none { it.name==result })
|
if (SpecialConstruction.getSpecialConstructions().none { it.name==result })
|
||||||
result += "\r\n{in} ".tr() + turnsToConstruction(currentConstruction) + " {turns}".tr()
|
result += "\r\n{in} ".tr() + turnsToConstruction(currentConstruction) + " {turns}".tr()
|
||||||
return result
|
return result
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
package com.unciv.ui.trade
|
package com.unciv.ui.trade
|
||||||
|
|
||||||
import com.badlogic.gdx.graphics.Color
|
import com.badlogic.gdx.graphics.Color
|
||||||
import com.badlogic.gdx.scenes.scene2d.ui.Label
|
import com.badlogic.gdx.scenes.scene2d.ui.*
|
||||||
import com.badlogic.gdx.scenes.scene2d.ui.SplitPane
|
|
||||||
import com.badlogic.gdx.scenes.scene2d.ui.Table
|
|
||||||
import com.badlogic.gdx.scenes.scene2d.ui.TextButton
|
|
||||||
import com.unciv.UnCivGame
|
import com.unciv.UnCivGame
|
||||||
import com.unciv.ui.utils.*
|
import com.unciv.ui.utils.*
|
||||||
|
|
||||||
|
@ -14,7 +11,7 @@ class DiplomacyScreen():CameraStageBaseScreen(){
|
||||||
val rightSideTable = Table()
|
val rightSideTable = Table()
|
||||||
|
|
||||||
init{
|
init{
|
||||||
val splitPane = SplitPane(leftSideTable,rightSideTable,false, skin)
|
val splitPane = SplitPane(ScrollPane(leftSideTable),rightSideTable,false, skin)
|
||||||
splitPane.setSplitAmount(0.2f)
|
splitPane.setSplitAmount(0.2f)
|
||||||
|
|
||||||
updateLeftSideTable()
|
updateLeftSideTable()
|
||||||
|
@ -64,7 +61,6 @@ class DiplomacyScreen():CameraStageBaseScreen(){
|
||||||
}
|
}
|
||||||
civTable.add(declareWarButton).row()
|
civTable.add(declareWarButton).row()
|
||||||
}
|
}
|
||||||
|
|
||||||
leftSideTable.add(civTable).row()
|
leftSideTable.add(civTable).row()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue