diff --git a/app/Space/Updater.php b/app/Space/Updater.php index 83f8add3..f2de65c8 100644 --- a/app/Space/Updater.php +++ b/app/Space/Updater.php @@ -26,7 +26,7 @@ class Updater if ($response instanceof RequestException) { return [ 'success' => false, - 'errors' => 'Download Exception', + 'error' => 'Download Exception', 'data' => [ 'path' => $path ] @@ -84,13 +84,13 @@ class Updater return [ 'success' => true, - 'errors' => false, + 'error' => false, 'data' => [] ]; } catch (\Exception $e) { return [ 'success' => false, - 'errors' => 'Update error', + 'error' => 'Update error', 'data' => [] ]; } diff --git a/resources/assets/js/plugins/en.js b/resources/assets/js/plugins/en.js index dcbf2166..7eb954e8 100644 --- a/resources/assets/js/plugins/en.js +++ b/resources/assets/js/plugins/en.js @@ -672,9 +672,11 @@ export default { check_update: 'Check for updates', avail_update: 'New Update available', next_version: 'Next version', - update: 'Update', + update: 'Update Now', 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' + progress_text: 'It will just take a few minutes. Please do not refresh the screen or close the window before the update finishes', + update_success: 'App has been updated successfully', + latest_message: 'No update available! You are on the latest version.' } }, wizard: { diff --git a/resources/assets/js/views/settings/UpdateApp.vue b/resources/assets/js/views/settings/UpdateApp.vue index 0ea5349c..7bb07b3d 100644 --- a/resources/assets/js/views/settings/UpdateApp.vue +++ b/resources/assets/js/views/settings/UpdateApp.vue @@ -7,24 +7,24 @@ {{ $t('settings.update_app.description') }}
{{ description }}
-{{ $t('settings.update_app.progress_text') }} @@ -35,8 +35,8 @@