From 4258d063ade2693cf737cd083a94f0f25f48678a Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Thu, 15 Jun 2023 20:20:31 +0200 Subject: [PATCH] Fixed updater translation --- resources/lang/en/messages.php | 1 + resources/views/update.blade.php | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/resources/lang/en/messages.php b/resources/lang/en/messages.php index c6b4210..c9d0a50 100644 --- a/resources/lang/en/messages.php +++ b/resources/lang/en/messages.php @@ -729,6 +729,7 @@ return [ # Title Tag 'Update LinkStack' => 'Update LinkStack+', + 'latest beta version' => 'latest beta version+', '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+', diff --git a/resources/views/update.blade.php b/resources/views/update.blade.php index 5400898..82aca73 100644 --- a/resources/views/update.blade.php +++ b/resources/views/update.blade.php @@ -20,7 +20,7 @@

Updater

@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') @if(env('JOIN_BETA') === true) -

+

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

@else @@ -33,9 +33,9 @@ @else @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 {{$Vlocal}} -> {{$Vgit}}

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

@@ -212,7 +212,7 @@ if($debug === true){

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

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

+

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

@else