mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Translate additions to backups page
This commit is contained in:
parent
3eeb00e524
commit
819e84ec4c
@ -110,15 +110,15 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="command-check" class="form-check-label ml-4 mb-4"></label>
|
<label for="command-check" class="form-check-label ml-4 mb-4"></label>
|
||||||
{% if data['backup_config']['before'] %}
|
{% if data['backup_config']['before'] %}
|
||||||
<input type="checkbox" class="form-check-input" id="before-check" name="before-check" checked>Run
|
<input type="checkbox" class="form-check-input" id="before-check" name="before-check" checked>{{
|
||||||
Command Before Backup
|
translate('serverBackups', 'before', data['lang']) }}
|
||||||
<br>
|
<br>
|
||||||
<input type="text" class="form-control" name="backup_before" id="backup_before"
|
<input type="text" class="form-control" name="backup_before" id="backup_before"
|
||||||
value="{{ data['backup_config']['before'] }}" placeholder="We enter the / for you"
|
value="{{ data['backup_config']['before'] }}" placeholder="We enter the / for you"
|
||||||
style="display: inline-block;">
|
style="display: inline-block;">
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="checkbox" class="form-check-input" id="before-check" name="before-check">Run Command
|
<input type="checkbox" class="form-check-input" id="before-check" name="before-check">{{
|
||||||
Before Backup
|
translate('serverBackups', 'before', data['lang']) }}
|
||||||
<br>
|
<br>
|
||||||
<input type="text" class="form-control" name="backup_before" id="backup_before" value=""
|
<input type="text" class="form-control" name="backup_before" id="backup_before" value=""
|
||||||
placeholder="We enter the / for you." style="display: none;">
|
placeholder="We enter the / for you." style="display: none;">
|
||||||
@ -127,15 +127,15 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="command-check" class="form-check-label ml-4 mb-4"></label>
|
<label for="command-check" class="form-check-label ml-4 mb-4"></label>
|
||||||
{% if data['backup_config']['after'] %}
|
{% if data['backup_config']['after'] %}
|
||||||
<input type="checkbox" class="form-check-input" id="after-check" name="after-check" checked>Run
|
<input type="checkbox" class="form-check-input" id="after-check" name="after-check" checked>{{
|
||||||
Command After Backup
|
translate('serverBackups', 'after', data['lang']) }}
|
||||||
<br>
|
<br>
|
||||||
<input type="text" class="form-control" name="backup_after" id="backup_after"
|
<input type="text" class="form-control" name="backup_after" id="backup_after"
|
||||||
value="{{ data['backup_config']['after'] }}" placeholder="We enter the / for you"
|
value="{{ data['backup_config']['after'] }}" placeholder="We enter the / for you"
|
||||||
style="display: inline-block;">
|
style="display: inline-block;">
|
||||||
{% else %}
|
{% else %}
|
||||||
<input type="checkbox" class="form-check-input" id="after-check" name="after-check">Run Command
|
<input type="checkbox" class="form-check-input" id="after-check" name="after-check">{{
|
||||||
Before Backup
|
translate('serverBackups', 'after', data['lang']) }}
|
||||||
<br>
|
<br>
|
||||||
<input type="text" class="form-control" name="backup_after" id="backup_after" value=""
|
<input type="text" class="form-control" name="backup_after" id="backup_after" value=""
|
||||||
placeholder="We enter the / for you." style="display: none;">
|
placeholder="We enter the / for you." style="display: none;">
|
||||||
|
@ -297,7 +297,9 @@
|
|||||||
"shutdown": "Shutdown server for duration of backup",
|
"shutdown": "Shutdown server for duration of backup",
|
||||||
"size": "Size",
|
"size": "Size",
|
||||||
"storageLocation": "Storage Location",
|
"storageLocation": "Storage Location",
|
||||||
"storageLocationDesc": "Where do you want to store backups?"
|
"storageLocationDesc": "Where do you want to store backups?",
|
||||||
|
"before": "Run command before backup",
|
||||||
|
"after": "Run command after backup"
|
||||||
},
|
},
|
||||||
"serverConfig": {
|
"serverConfig": {
|
||||||
"bePatientDelete": "Please be patient while we remove your server from the Crafty panel. This screen will close in a few moments.",
|
"bePatientDelete": "Please be patient while we remove your server from the Crafty panel. This screen will close in a few moments.",
|
||||||
|
Loading…
Reference in New Issue
Block a user