Translated Backup Page

This commit is contained in:
Julian Prieber 2023-06-15 19:51:40 +02:00
parent bd73228c75
commit 1ca46a92b4
2 changed files with 33 additions and 11 deletions

View File

@ -753,6 +753,28 @@ return [
'Error' => 'Error+',
'Something went wrong with the update' => 'Something went wrong with the update+',
/*
|--------------------------------------------------------------------------
| Backup
|--------------------------------------------------------------------------
|
| resources/views/backup.blade.php
|
*/
# Title Tag
'Backup.title' => 'Backup+',
'Backup' => 'Backup+',
'You can back up your entire instance:' => 'You can back up your entire instance:+',
'The backup system wont save more than two backups at a time' => 'The backup system wont save more than two backups at a time.+',
'Backup Instance' => 'Backup Instance+',
'All Backups' => 'All Backups+',
'Creating backup' => 'Creating backup+',
'Success!' => 'Success!+',
'The backup was successful' => 'The backup was successful, you can now return to the Admin Panel or see all your backups.+',
/*
|--------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
<title>Backup</title>
<title>{{__('messages.Backup.title')}}</title>
@extends('layouts.updater')
@Push('updater-body')
@ -12,12 +12,12 @@
<img class="logo-img" src="{{ asset('assets/linkstack/images/logo.svg') }}" alt="Logo">
<div class="logo-centered">l</div>
</div>
<h1>Backup</h1>
<h4 class="">You can back up your entire instance:</h4>
<h5 class="">The backup system won't save more than two backups at a time.</h5>
<h1>{{__('messages.Backup')}}</h1>
<h4 class="">{{__('messages.You can back up your entire instance:')}}</h4>
<h5 class="">{{__('messages.The backup system wont save more than two backups at a time')}}</h5>
<br><div class="row">
&ensp;<a class="btn" href="{{url()->current()}}/?backup"><button><i class="fa-solid fa-floppy-disk"></i> Backup Instance</button></a>&ensp;
&ensp;<a class="btn" href="{{ route('showBackups') }}"><button><i class="fa-solid fa-box-archive"></i> All Backups</button></a>&ensp;
&ensp;<a class="btn" href="{{url()->current()}}/?backup"><button><i class="fa-solid fa-floppy-disk"></i> {{__('messages.Backup Instance')}}</button></a>&ensp;
&ensp;<a class="btn" href="{{ route('showBackups') }}"><button><i class="fa-solid fa-box-archive"></i> {{__('messages.All Backups')}}</button></a>&ensp;
</div>
@endif
@ -30,7 +30,7 @@
<div class="logo-container fadein">
<img class="logo-img" src="{{ asset('assets/linkstack/images/logo-loading.svg') }}" alt="Logo">
</div>
<h1 class="loadingtxt">Creating backup</h1>
<h1 class="loadingtxt">{{__('messages.Creating backup')}}</h1>
@endif
@if($_SERVER['QUERY_STRING'] === 'backups')
@ -51,11 +51,11 @@ exit(); ?>
<div class="logo-container fadein">
<img class="logo-img" src="{{ asset('assets/linkstack/images/logo.svg') }}" alt="Logo">
</div>
<h1>Success!</h1>
<h4 class="">The backup was successful, you can now return to the Admin Panel or see all your backups.</h4>
<h1>{{__('messages.Success!')}}</h1>
<h4 class="">{{__('messages.The backup was successful')}}</h4>
<br><div class="row">
&ensp;<a class="btn" href="{{ url('dashboard') }}"><button><i class="fa-solid fa-house-laptop btn"></i> Admin Panel</button></a>&ensp;
&ensp;<a class="btn" href="{{ url('admin/config#4') }}"><button><i class="fa-solid fa-box-archive"></i> All Backups</button></a>&ensp;
&ensp;<a class="btn" href="{{ url('dashboard') }}"><button><i class="fa-solid fa-house-laptop btn"></i> {{__('messages.Admin Panel')}}</button></a>&ensp;
&ensp;<a class="btn" href="{{ url('admin/config#4') }}"><button><i class="fa-solid fa-box-archive"></i> {{__('messages.All Backups')}}</button></a>&ensp;
</div>
@endif