Translated Backups view

This commit is contained in:
Frank 2023-06-14 16:35:23 +02:00
parent 9ed618463f
commit 0a69eae6b0
2 changed files with 13 additions and 5 deletions

View File

@ -276,7 +276,14 @@ return [
'Up to date' => 'Up to date+',
'Update all themes' => 'Update all themes+',
'Download your updater backups' => 'Download your updater backups:+',
'The server will never store more that two backups at a time' => 'The server will never store more that two backups at a time.+',
'No backups found' => 'No backups found+',
'Backup your instance' => 'Backup your instance+',
'' => '+',
'' => '+',
'' => '+',
'' => '+',
'Config' => 'Config+',
@ -525,4 +532,5 @@ return [
'' => '+',
];

View File

@ -27,8 +27,8 @@
@endif
<div class="container">
<br><br><h3>Download your updater backups:</h3>
<hp>The server will never store more that two backups at a time.</hp><br><br><br>
<br><br><h3>{{__('messages.Download your updater backups')}}</h3>
<hp>{{__('messages.The server will never store more that two backups at a time')}}</hp><br><br><br>
<?php
$test="test";
if ($handle = opendir('backups/updater-backups')) {
@ -40,7 +40,7 @@
@else
<div class="container">
<h3>No backups found</h3></div>
<h3>{{__('messages.No backups found')}}</h3></div>
@endif
<center><a class="btn" href="{{ url('backup') }}"><button><i class="fa-solid fa-floppy-disk"></i> Backup your instance</button></a></center>
<center><a class="btn" href="{{ url('backup') }}"><button><i class="fa-solid fa-floppy-disk"></i>{{__('messages.Backup your instance')}}</button></a></center>
@endsection