mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 06:16:37 -04:00
1.update translation 2. delete population number back the city name of city screen because there is a detail table in the screen. 3. now when you touch "X" you can close unit table. (#1184)
This commit is contained in:
parent
27dfae18de
commit
7d14c0924b
@ -275,15 +275,17 @@
|
|||||||
|
|
||||||
"Remove":{
|
"Remove":{
|
||||||
Italian:"Rimuovi"
|
Italian:"Rimuovi"
|
||||||
|
Simplified_Chinese:"删除"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Random":{
|
"Random":{
|
||||||
Italian:"Casuale"
|
Italian:"Casuale"
|
||||||
|
Simplified_Chinese:"随机"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Human":{
|
"Human":{
|
||||||
Italian:"Umano"
|
Italian:"Umano"
|
||||||
Simplified_Chinese:"人类玩家"
|
Simplified_Chinese:"玩家"
|
||||||
Russian:"Человек"
|
Russian:"Человек"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -386,6 +388,10 @@
|
|||||||
Simplified_Chinese:"游戏速度"
|
Simplified_Chinese:"游戏速度"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"Starting Era":{
|
||||||
|
Simplified_Chinese:"开始时代"
|
||||||
|
}
|
||||||
|
|
||||||
"Quick":{
|
"Quick":{
|
||||||
Italian:"Rapida"
|
Italian:"Rapida"
|
||||||
Russian:"Быстрая"
|
Russian:"Быстрая"
|
||||||
@ -415,15 +421,18 @@
|
|||||||
"It looks like we can't make a map with the parameters you requested!":{
|
"It looks like we can't make a map with the parameters you requested!":{
|
||||||
Italian:"Sembra che i parametri da te impostati siano eccessivi per questa mappa!"
|
Italian:"Sembra che i parametri da te impostati siano eccessivi per questa mappa!"
|
||||||
Russian:"Похоже, что мы не можем создать карту с нужными вам параметрами!"
|
Russian:"Похоже, что мы не можем создать карту с нужными вам параметрами!"
|
||||||
|
Simplified_Chinese:"无法根据你的设置创建地图!"
|
||||||
}
|
}
|
||||||
|
|
||||||
"Maybe you put too many players into too small a map?":{
|
"Maybe you put too many players into too small a map?":{
|
||||||
Italian:"Forse hai inserito troppi giocatori o altri parametri?"
|
Italian:"Forse hai inserito troppi giocatori o altri parametri?"
|
||||||
Russian:"Может, у вас слишком много игроков для такой небольшой карты?"
|
Russian:"Может, у вас слишком много игроков для такой небольшой карты?"
|
||||||
|
Simplified_Chinese:"或许你放置了太多玩家在如此小的地图上?"
|
||||||
}
|
}
|
||||||
|
|
||||||
"No human players selected!":{
|
"No human players selected!":{
|
||||||
Italian:"È necessario almeno un giocatore umano!"
|
Italian:"È necessario almeno un giocatore umano!"
|
||||||
|
Simplified_Chinese:"未选择玩家!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
German:"[cityName] wurde gegründet!"
|
German:"[cityName] wurde gegründet!"
|
||||||
Dutch:"[cityName] is gesticht!"
|
Dutch:"[cityName] is gesticht!"
|
||||||
Spanish:"¡[cityName] ha sido fundada!"
|
Spanish:"¡[cityName] ha sido fundada!"
|
||||||
Simplified_Chinese:"已经建立了城市--[cityName]!"
|
Simplified_Chinese:"已经建立了城市:[cityName]!"
|
||||||
Portuguese:"[cityName] foi fundada!"
|
Portuguese:"[cityName] foi fundada!"
|
||||||
Japanese:"[cityName]が設立されました!"
|
Japanese:"[cityName]が設立されました!"
|
||||||
}
|
}
|
||||||
|
@ -1379,6 +1379,7 @@
|
|||||||
|
|
||||||
"Your citizens have been happy with your rule for so long that the empire enters a Golden Age!":{
|
"Your citizens have been happy with your rule for so long that the empire enters a Golden Age!":{
|
||||||
Italian:"I tuoi cittadini sono da tempo contenti del tuo governo! Il tuo impero è entrato in un'Età dell'Oro!"
|
Italian:"I tuoi cittadini sono da tempo contenti del tuo governo! Il tuo impero è entrato in un'Età dell'Oro!"
|
||||||
|
Simplified_Chinese:"人民为您英明领导下取得的丰功伟绩欢欣鼓舞,您的帝国进入了黄金时代!"
|
||||||
}
|
}
|
||||||
|
|
||||||
////// Policy picker screen
|
////// Policy picker screen
|
||||||
|
@ -49,7 +49,7 @@ class CityScreenCityPickerTable(val cityScreen: CityScreen) : Table(){
|
|||||||
cityNameTable.add(resistanceImage).size(20f).padRight(5f)
|
cityNameTable.add(resistanceImage).size(20f).padRight(5f)
|
||||||
}
|
}
|
||||||
|
|
||||||
val currentCityLabel = Label(city.name + " (" + city.population.population + ")", CameraStageBaseScreen.skin)
|
val currentCityLabel = Label(city.name, CameraStageBaseScreen.skin)
|
||||||
currentCityLabel.setFontSize(30)
|
currentCityLabel.setFontSize(30)
|
||||||
currentCityLabel.onClick {
|
currentCityLabel.onClick {
|
||||||
val editCityNamePopup = PopupTable(cityScreen)
|
val editCityNamePopup = PopupTable(cityScreen)
|
||||||
|
@ -88,7 +88,7 @@ class TileEditorOptionsTable(val mapEditorScreen: MapEditorScreen): Table(Camera
|
|||||||
clearSelection()
|
clearSelection()
|
||||||
selectedImprovement=TileImprovement().apply { name="StartingLocation "+nation.name }
|
selectedImprovement=TileImprovement().apply { name="StartingLocation "+nation.name }
|
||||||
val nationIcon = getHex(Color.WHITE,ImageGetter.getNationIndicator(nation,40f))
|
val nationIcon = getHex(Color.WHITE,ImageGetter.getNationIndicator(nation,40f))
|
||||||
setCurrentHex(nationIcon, nation.name+" starting location")
|
setCurrentHex(nationIcon, "[${nation.name}] starting location")
|
||||||
}
|
}
|
||||||
nationsTable.add(nationImage).row()
|
nationsTable.add(nationImage).row()
|
||||||
}
|
}
|
||||||
|
@ -143,10 +143,10 @@ class NewGameScreenOptionsTable(val newGameParameters: GameParameters, val onMul
|
|||||||
|
|
||||||
private fun addEraSelectBox() {
|
private fun addEraSelectBox() {
|
||||||
add("{Starting Era}:".tr())
|
add("{Starting Era}:".tr())
|
||||||
val eraSelectBox = TranslatedSelectBox(TechEra.values().map { it.name }, newGameParameters.startingEra.name, CameraStageBaseScreen.skin)
|
val eraSelectBox = TranslatedSelectBox(TechEra.values().map { it.name+" era" }, newGameParameters.startingEra.name, CameraStageBaseScreen.skin)
|
||||||
eraSelectBox.addListener(object : ChangeListener() {
|
eraSelectBox.addListener(object : ChangeListener() {
|
||||||
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
override fun changed(event: ChangeEvent?, actor: Actor?) {
|
||||||
newGameParameters.startingEra = TechEra.valueOf(eraSelectBox.selected.value)
|
newGameParameters.startingEra = TechEra.valueOf(eraSelectBox.selected.value.replace(" era",""))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
add(eraSelectBox).pad(10f).row()
|
add(eraSelectBox).pad(10f).row()
|
||||||
|
@ -44,7 +44,7 @@ class UnitTable(val worldScreen: WorldScreen) : Table(){
|
|||||||
deselectUnitButton.add(Label("X",CameraStageBaseScreen.skin).setFontColor(Color.WHITE)).pad(10f)
|
deselectUnitButton.add(Label("X",CameraStageBaseScreen.skin).setFontColor(Color.WHITE)).pad(10f)
|
||||||
deselectUnitButton.pack()
|
deselectUnitButton.pack()
|
||||||
deselectUnitButton.touchable = Touchable.enabled
|
deselectUnitButton.touchable = Touchable.enabled
|
||||||
deselectUnitButton.onClick { selectedUnit=null; selectedCity=null; worldScreen.shouldUpdate=true }
|
deselectUnitButton.onClick { selectedUnit=null; selectedCity=null; worldScreen.shouldUpdate=true;this@UnitTable.isVisible=false }
|
||||||
addActor(deselectUnitButton)
|
addActor(deselectUnitButton)
|
||||||
|
|
||||||
helpUnitButton.add(Label("?",CameraStageBaseScreen.skin).setFontColor(Color.WHITE)).pad(10f)
|
helpUnitButton.add(Label("?",CameraStageBaseScreen.skin).setFontColor(Color.WHITE)).pad(10f)
|
||||||
@ -86,6 +86,7 @@ class UnitTable(val worldScreen: WorldScreen) : Table(){
|
|||||||
|
|
||||||
fun update() {
|
fun update() {
|
||||||
if(selectedUnit!=null) {
|
if(selectedUnit!=null) {
|
||||||
|
isVisible=true
|
||||||
if (selectedUnit!!.civInfo != worldScreen.viewingCiv) { // The unit that was selected, was captured. It exists but is no longer ours.
|
if (selectedUnit!!.civInfo != worldScreen.viewingCiv) { // The unit that was selected, was captured. It exists but is no longer ours.
|
||||||
selectedUnit = null
|
selectedUnit = null
|
||||||
selectedCity = null
|
selectedCity = null
|
||||||
@ -221,6 +222,7 @@ class UnitTable(val worldScreen: WorldScreen) : Table(){
|
|||||||
// tapping the same tile again will deselect a unit.
|
// tapping the same tile again will deselect a unit.
|
||||||
// important for single-tap-move to abort moving easily
|
// important for single-tap-move to abort moving easily
|
||||||
selectedUnit = null
|
selectedUnit = null
|
||||||
|
isVisible=false
|
||||||
}
|
}
|
||||||
|
|
||||||
if(selectedUnit != previouslySelectedUnit)
|
if(selectedUnit != previouslySelectedUnit)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user