From b3a9291d44ea75e8c27872e8ae9a5b8a5f004237 Mon Sep 17 00:00:00 2001 From: Aman upadhyay Date: Thu, 14 Nov 2019 19:40:56 +0530 Subject: [PATCH 1/3] update front changes --- resources/assets/js/plugins/en.js | 2 ++ .../assets/js/views/settings/UpdateApp.vue | 33 +++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/plugins/en.js b/resources/assets/js/plugins/en.js index 2ad510fb..32aff377 100644 --- a/resources/assets/js/plugins/en.js +++ b/resources/assets/js/plugins/en.js @@ -665,6 +665,8 @@ export default { update_app: { title: 'Update App', description: 'update app description', + check_update: 'Check for updates', + avail_update: 'Update available', update: 'Update' } }, diff --git a/resources/assets/js/views/settings/UpdateApp.vue b/resources/assets/js/views/settings/UpdateApp.vue index 4c3183d2..2c048103 100644 --- a/resources/assets/js/views/settings/UpdateApp.vue +++ b/resources/assets/js/views/settings/UpdateApp.vue @@ -6,9 +6,18 @@

{{ $t('settings.update_app.description') }}

- - {{ $t('settings.update_app.update') }} +

Current version: 1.0.0

+ + + {{ $t('settings.update_app.check_update') }} +
+ +

Latest version: 2.0.0

+ + {{ $t('settings.update_app.update') }} + +
+ + From d8948af0b18d936db4775632ba6c2b093e8bbda8 Mon Sep 17 00:00:00 2001 From: Aman upadhyay Date: Fri, 15 Nov 2019 17:42:03 +0530 Subject: [PATCH 2/3] front end changes --- resources/assets/js/plugins/en.js | 9 ++- .../assets/js/views/settings/UpdateApp.vue | 70 +++++++++++-------- resources/assets/sass/pages/settings.scss | 9 +++ 3 files changed, 55 insertions(+), 33 deletions(-) diff --git a/resources/assets/js/plugins/en.js b/resources/assets/js/plugins/en.js index 33579627..6bd34c4d 100644 --- a/resources/assets/js/plugins/en.js +++ b/resources/assets/js/plugins/en.js @@ -668,10 +668,13 @@ export default { }, update_app: { title: 'Update App', - description: 'update app description', + description: 'You can easily update Crater by checking for a new update by clicking the button below', check_update: 'Check for updates', - avail_update: 'Update available', - update: 'Update' + avail_update: 'New Update available', + next_version: 'Next version', + update: 'Update', + update_progress: 'Update in progress...', + progress_text: 'It will just take a few minutes. Please do not refresh the screen or close the window before the update finishes' } }, wizard: { diff --git a/resources/assets/js/views/settings/UpdateApp.vue b/resources/assets/js/views/settings/UpdateApp.vue index 2c048103..787d066d 100644 --- a/resources/assets/js/views/settings/UpdateApp.vue +++ b/resources/assets/js/views/settings/UpdateApp.vue @@ -6,62 +6,72 @@

{{ $t('settings.update_app.description') }}

-

Current version: 1.0.0

- +
+ + {{ $t('settings.update_app.check_update') }} -
- -

Latest version: 2.0.0

+
+
+

{{ $t('settings.update_app.avail_update') }}

+
+ +

+ {{ description }} +

{{ $t('settings.update_app.update') }}
-
-
-
+