Fixed updater translation
This commit is contained in:
parent
4a7245db04
commit
4258d063ad
|
@ -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+',
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<h1>Updater</h1>
|
||||
@if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
|
||||
@if(env('JOIN_BETA') === true)
|
||||
<p><?php echo "latest beta version= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
||||
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
||||
@else
|
||||
|
@ -33,9 +33,9 @@
|
|||
</div>
|
||||
@else
|
||||
@if(env('JOIN_BETA') === true)
|
||||
<p><?php echo "latest beta version= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo "Installed beta version= " . file_get_contents(base_path("vbeta.json"));} else {echo "Installed beta version= none";} ?></p>
|
||||
<p><?php if($Vgit > $Vlocal) {echo "You need to update to the latest mainline release";} else {echo "You're running the latest mainline release";} ?></p>
|
||||
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
||||
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
||||
@else
|
||||
<a target="_blank" href="https://github.com/linkstackorg/linkstack/releases"><code style="color:#222;transform:scale(.9);">{{$Vlocal}} -> {{$Vgit}}</code></a>
|
||||
<h4>{{__('messages.update.manually')}}</h4>
|
||||
|
@ -212,7 +212,7 @@ if($debug === true){
|
|||
</div>
|
||||
<h1>{{__('messages.Success!')}}</h1>
|
||||
@if(env('JOIN_BETA') === true)
|
||||
<p><?php echo "latest beta version= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php echo __(message.latest beta version)."= " . external_file_get_contents("https://beta.linkstack.org/vbeta.json"); ?></p>
|
||||
<p><?php if(file_exists(base_path("vbeta.json"))) {echo __('messages.Installed beta version')."= " . file_get_contents(base_path("vbeta.json"));} else {echo __('messages.Installed beta version')."= ".__('messages.none');} ?></p>
|
||||
<p><?php if($Vgit > $Vlocal) {echo __('messages.You need to update to the latest mainline release');} else {echo __("messages.You’re running the latest mainline release");} ?></p>
|
||||
@else
|
||||
|
|
Loading…
Reference in New Issue