From 73b009b87bc78dc536578306b87f7704f82388bf Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 7 Jun 2019 19:56:17 +0200 Subject: [PATCH] Add current / new versions in update view --- src/locales/en.json | 1 + src/views/update/update.ms | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/locales/en.json b/src/locales/en.json index 4d5b08ec..f172e46c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -153,6 +153,7 @@ "footer_version": "Powered by YunoHost %s (%s).", "form_input_example": "Example: %s", "free": "Free", + "from_to": "from %s to %s", "fs_type": "FS Type", "gateway": "Gateway: ", "good_practices_about_admin_password": "You are now about to define a new admin password. The password should be at least 8 characters - though it is good practice to use longer password (i.e. a passphrase) and/or to use various kind of characters (uppercase, lowercase, digits and special characters).", diff --git a/src/views/update/update.ms b/src/views/update/update.ms index 8da85135..4a135d64 100644 --- a/src/views/update/update.ms +++ b/src/views/update/update.ms @@ -14,7 +14,7 @@ {{#system}}

- {{name}} {{fullname}} + {{name}} ({{t 'from_to' current_version new_version}})

{{/system}} @@ -39,6 +39,7 @@
{{t 'system_upgrade_btn'}}

{{label}} {{id}}

+

{{t 'from_to' current_version new_version}}

{{/apps}}