Added mod screen translation terms
This commit is contained in:
parent
4fa77ac20b
commit
3719b5c4f6
2 changed files with 23 additions and 5 deletions
|
@ -888,9 +888,27 @@ ID successfully set! =
|
|||
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
|
||||
|
||||
[stats] from every [param] =
|
||||
[stats] from [param] tiles in this city =
|
||||
[stats] for each adjacent [param] =
|
||||
+[amount]% vs [unitType] =
|
||||
|
||||
# City filters
|
||||
in this city =
|
||||
in every city =
|
||||
in capital =
|
||||
|
||||
|
|
|
@ -48,10 +48,10 @@ class ModManagementScreen: PickerScreen() {
|
|||
rightSideButton.enable()
|
||||
rightSideButton.setText("Download [${repo.name}]".tr())
|
||||
rightSideButton.onClick {
|
||||
rightSideButton.setText("Downloading...")
|
||||
rightSideButton.setText("Downloading...".tr())
|
||||
rightSideButton.disable()
|
||||
downloadMod(repo.svn_url) {
|
||||
rightSideButton.setText("Done!".tr())
|
||||
rightSideButton.setText("Downloaded!".tr())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -64,14 +64,14 @@ class ModManagementScreen: PickerScreen() {
|
|||
}
|
||||
|
||||
fun getDownloadButton(): TextButton {
|
||||
val downloadButton = "Download mod".toTextButton()
|
||||
val downloadButton = "Download mod from URL".toTextButton()
|
||||
downloadButton.onClick {
|
||||
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()
|
||||
val downloadButton = "Download".toTextButton()
|
||||
downloadButton.onClick {
|
||||
downloadButton.setText("Downloading...")
|
||||
downloadButton.setText("Downloading...".tr())
|
||||
downloadButton.disable()
|
||||
downloadMod(textArea.text) { popup.close() }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue