mirror of
https://github.com/yairm210/Unciv.git
synced 2025-02-11 03:18:18 +07:00
Added mod screen translation terms
This commit is contained in:
parent
4fa77ac20b
commit
3719b5c4f6
@ -888,9 +888,27 @@ ID successfully set! =
|
|||||||
Invalid ID! =
|
Invalid ID! =
|
||||||
|
|
||||||
|
|
||||||
|
# Mods
|
||||||
|
|
||||||
|
Mods =
|
||||||
|
Download [modName] =
|
||||||
|
Could not download mod list =
|
||||||
|
[amount] Stars =
|
||||||
|
Download mod from URL =
|
||||||
|
Download =
|
||||||
|
Done! =
|
||||||
|
Delete [modName] =
|
||||||
|
Are you SURE you want to delete this mod? =
|
||||||
|
|
||||||
# Uniques that are relevant to more than one type of game object
|
# Uniques that are relevant to more than one type of game object
|
||||||
|
|
||||||
[stats] from every [param] =
|
[stats] from every [param] =
|
||||||
[stats] from [param] tiles in this city =
|
[stats] from [param] tiles in this city =
|
||||||
[stats] for each adjacent [param] =
|
[stats] for each adjacent [param] =
|
||||||
+[amount]% vs [unitType] =
|
+[amount]% vs [unitType] =
|
||||||
|
|
||||||
|
# City filters
|
||||||
|
in this city =
|
||||||
|
in every city =
|
||||||
|
in capital =
|
||||||
|
|
||||||
|
@ -48,10 +48,10 @@ class ModManagementScreen: PickerScreen() {
|
|||||||
rightSideButton.enable()
|
rightSideButton.enable()
|
||||||
rightSideButton.setText("Download [${repo.name}]".tr())
|
rightSideButton.setText("Download [${repo.name}]".tr())
|
||||||
rightSideButton.onClick {
|
rightSideButton.onClick {
|
||||||
rightSideButton.setText("Downloading...")
|
rightSideButton.setText("Downloading...".tr())
|
||||||
rightSideButton.disable()
|
rightSideButton.disable()
|
||||||
downloadMod(repo.svn_url) {
|
downloadMod(repo.svn_url) {
|
||||||
rightSideButton.setText("Done!".tr())
|
rightSideButton.setText("Downloaded!".tr())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -64,14 +64,14 @@ class ModManagementScreen: PickerScreen() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun getDownloadButton(): TextButton {
|
fun getDownloadButton(): TextButton {
|
||||||
val downloadButton = "Download mod".toTextButton()
|
val downloadButton = "Download mod from URL".toTextButton()
|
||||||
downloadButton.onClick {
|
downloadButton.onClick {
|
||||||
val popup = Popup(this)
|
val popup = Popup(this)
|
||||||
val textArea = TextArea("https://github.com/yairm210/Unciv-IV-mod",skin)
|
val textArea = TextArea("https://github.com/...",skin)
|
||||||
popup.add(textArea).width(stage.width/2).row()
|
popup.add(textArea).width(stage.width/2).row()
|
||||||
val downloadButton = "Download".toTextButton()
|
val downloadButton = "Download".toTextButton()
|
||||||
downloadButton.onClick {
|
downloadButton.onClick {
|
||||||
downloadButton.setText("Downloading...")
|
downloadButton.setText("Downloading...".tr())
|
||||||
downloadButton.disable()
|
downloadButton.disable()
|
||||||
downloadMod(textArea.text) { popup.close() }
|
downloadMod(textArea.text) { popup.close() }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user