mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Localize bakcup restore strings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
359b22e17a
commit
0f5bb0e65d
|
@ -25,6 +25,12 @@ return [
|
|||
'auto_increment_prefix' => 'Prefix (optional)',
|
||||
'auto_incrementing_help' => 'Enable auto-incrementing asset IDs first to set this',
|
||||
'backups' => 'Backups',
|
||||
'backups_restoring' => 'Restoring from Backup',
|
||||
'backups_upload' => 'Upload Backup',
|
||||
'backups_path' => 'Backups on the server are stored in <code>:path</code>',
|
||||
'backups_restore_warning' => 'Use the restore button <small><span class="btn btn-xs btn-warning"><i class="text-white fas fa-retweet" aria-hidden="true"></i></span></small> to restore from a previous backup. (This does not currently work with S3 file storage or Docker.<br><br>Your <strong>entire :app_name database and any uploaded files will be completely replaced</strong> by what\'s in the backup file. ',
|
||||
'backups_logged_out' => 'You will be logged out once your restore is complete.',
|
||||
'backups_large' => 'Very large backups may time out on the restore attempt and may still need to be run via command line. ',
|
||||
'barcode_settings' => 'Barcode Settings',
|
||||
'confirm_purge' => 'Confirm Purge',
|
||||
'confirm_purge_help' => 'Enter the text "DELETE" in the box below to purge your deleted records. This action cannot be undone and will PERMANENTLY delete all soft-deleted items and users. (You should make a backup first, just to be safe.)',
|
||||
|
|
|
@ -95,14 +95,17 @@
|
|||
<div class="box-header with-border">
|
||||
<h2 class="box-title">
|
||||
<i class="far fa-file-archive" aria-hidden="true"></i>
|
||||
Upload Backup</h2>
|
||||
{{ trans('admin/settings/general.backups_upload') }}
|
||||
</h2>
|
||||
<div class="box-tools pull-right">
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
|
||||
<div class="box-body">
|
||||
|
||||
<p>Backup files on the server are stored in: <code>{{ $path }}</code></p>
|
||||
<p>
|
||||
{!! trans('admin/settings/general.backups_path', ['path'=> $path]) !!}
|
||||
</p>
|
||||
|
||||
@if (config('app.lock_passwords')===true)
|
||||
<p class="alert alert-warning"><i class="fas fa-lock"></i> {{ trans('general.feature_disabled') }}</p>
|
||||
|
@ -139,7 +142,7 @@
|
|||
|
||||
</div>
|
||||
<div class="col-md-4 col-xs-4">
|
||||
<button class="btn btn-primary col-md-12 col-xs-12" id="uploadButton" disabled>Upload</button>
|
||||
<button class="btn btn-primary col-md-12 col-xs-12" id="uploadButton" disabled>{{ trans('button.upload') }}</button>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
|
||||
|
@ -161,25 +164,22 @@
|
|||
<div class="box box-warning">
|
||||
<div class="box-header with-border">
|
||||
<h2 class="box-title">
|
||||
<i class="fas fa-exclamation-triangle text-orange" aria-hidden="true"></i> Restoring from Backup</h2>
|
||||
<i class="fas fa-exclamation-triangle text-orange" aria-hidden="true"></i> {{ trans('admin/settings/general.backups_restoring') }}</h2>
|
||||
<div class="box-tools pull-right">
|
||||
</div>
|
||||
</div><!-- /.box-header -->
|
||||
<div class="box-body">
|
||||
|
||||
<p>
|
||||
Use the restore button <small><span class="btn btn-xs btn-warning"><i class="text-white fas fa-retweet" aria-hidden="true"></i></span></small> to
|
||||
restore from a previous backup. (This does not currently with with S3 file storage.)</p>
|
||||
|
||||
<p>Your <strong>entire {{ config('app.name') }} database and any uploaded files will be completely replaced</strong> by what's in the backup file.
|
||||
{!! trans('admin/settings/general.backups_restore_warning', ['app_name' => config('app.name') ]) !!}
|
||||
</p>
|
||||
|
||||
<p class="text-danger" style="font-weight: bold; font-size: 120%;">
|
||||
You will be logged out once your restore is complete.
|
||||
{{ trans('admin/settings/general.backups_logged_out') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Very large backups may time out on the restore attempt and may still need to be run via command line.
|
||||
{{ trans('admin/settings/general.backups_large') }}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue