diff --git a/android/assets/jsons/translations/template.properties b/android/assets/jsons/translations/template.properties index aeb8438c5a..46bb109896 100644 --- a/android/assets/jsons/translations/template.properties +++ b/android/assets/jsons/translations/template.properties @@ -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 = + diff --git a/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt b/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt index e1c9186de8..e0e5e6f97b 100644 --- a/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt +++ b/core/src/com/unciv/ui/pickerscreens/ModManagementScreen.kt @@ -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() } }