diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index 5af0cb3..38f3984 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -667,7 +667,7 @@ return [ | */ - # Title + # Title Tag 'LinkStack setup' => 'LinkStack setup+', 'Setup LinkStack' => 'Setup LinkStack+', @@ -722,12 +722,38 @@ return [ | Updater/Update-Backup |-------------------------------------------------------------------------- | - | + | resources/views/update.blade.php | */ + # Title Tag 'Update LinkStack' => 'Update LinkStack+', + 'Installed beta version' => 'Installed beta version+', + 'none' => 'none+', + 'You need to update to the latest mainline release' => 'You need to update to the latest mainline release+', + 'You’re running the latest mainline release' => 'You’re running the latest mainline release+', + + 'update.manually' => 'You can update your installation automatically or download the update and install it manually:+', + 'update.windows' => 'Windows users can use the alternative updater. This updater won’t create a backup. Use at your own discretion.+', + 'Update automatically' => 'Update automatically+', + 'Update manually' => 'Update manually+', + + 'Updating' => 'Updating+', + 'Creating backup' => 'Creating backup+', + 'Preparing update' => 'Preparing update+', + 'No new version' => 'No new version+', + 'There is no new version available' => 'There is no new version available+', + 'Admin Panel' => 'Admin Panel+', + 'Finishing up' => 'Finishing up+', + 'Success!' => 'Success!+', + 'The update was successful' => 'The update was successful, you can now return to the Admin Panel.+', + 'View the release notes' => 'View the release notes+', + 'Run again' => 'Run again+', + 'Error' => 'Error+', + 'Something went wrong with the update' => 'Something went wrong with the update+', + + /* |-------------------------------------------------------------------------- | Maintenance Page diff --git a/resources/views/update.blade.php b/resources/views/update.blade.php index 05c7bda..5400898 100644 --- a/resources/views/update.blade.php +++ b/resources/views/update.blade.php @@ -21,15 +21,15 @@ @if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') @if(env('JOIN_BETA') === true)

-

-

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

+

+

$Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?>

@else -

You can update your installation automatically or download the update and install it manually:

-
Windows users can use the alternative updater. This updater won't create a backup. Use at your own discretion.
+

{{__('messages.update.manually')}}

+
{{__('messages.update.windows')}}
@endif
-    -    +    +  
@else @if(env('JOIN_BETA') === true) @@ -38,15 +38,15 @@

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

@else {{$Vlocal}} -> {{$Vgit}} -

You can update your installation automatically or download the update and install it manually:

+

{{__('messages.update.manually')}}

@endif
@if(env('SKIP_UPDATE_BACKUP') == true) -    +    @else -    +    @endif -    +  
@endif @@ -58,7 +58,7 @@
Logo
-

Updating

+

{{__('messages.Updating')}}

@Push('updater-head') @endpush @@ -110,7 +110,7 @@ echo "current() . "/?finish
Logo
-

Creating backup

+

{{__('messages.Creating backup')}}

@endif @if($_SERVER['QUERY_STRING'] === 'backups') @@ -130,7 +130,7 @@ exit(); ?>
Logo
-

Preparing update

+

{{__('messages.Preparing update')}}

Logo
-

Updating

+

{{__('messages.Updating')}}

@Push('updater-head') @endpush @@ -166,10 +166,10 @@ exit(); ?>
Logo
-

No new version

-

There is no new version available

+

{{__('messages.No new version')}}

+

{{__('messages.There is no new version available')}}


-    +  
@endif @@ -188,7 +188,7 @@ if(EnvEditor::getKey('APP_DEBUG') == 'false'){
Logo
-

Finishing up

+

{{__('messages.Finishing up')}}

@include('components.finishing') @@ -210,22 +210,22 @@ if($debug === true){
Logo
-

Success!

+

{{__('messages.Success!')}}

@if(env('JOIN_BETA') === true)

-

-

$Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?>

+

+

$Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?>

@else -

The update was successful, you can now return to the Admin Panel.

+

{{__('messages.The update was successful')}}

- View the release notes + {{__('messages.View the release notes')}}
@endif
-    +    @if(env('JOIN_BETA') === true) -    +    @endif
@@ -239,15 +239,13 @@ if($debug === true){
Logo
-

Error

-

Something went wrong with the update :(

+

{{__('messages.Error')}}

+

{{__('messages.Something went wrong with the update')}} :(


-    +  
@endif -@if("8" > phpversion())

You are using an outdated version of PHP! Official support for this version will end soon. @endif - @endpush \ No newline at end of file