Add translations

This commit is contained in:
amcmanu3 2023-01-30 23:32:45 -05:00
parent 43c11f80b8
commit d160054bb3
2 changed files with 6 additions and 3 deletions

View File

@ -241,8 +241,9 @@
<br>
<form id="server-path">
<div class="form-group">
<label for="global_server_path">Global Server Path <small class="text-muted ml-1"> - Where Crafty
stores all of your servers.</small></label>
<label for="global_server_path">{{ translate('panelConfig', 'globalServer',
data['lang']) }}<small class="text-muted ml-1"> - {{ translate('panelConfig', 'globalExplain',
data['lang']) }}</small></label>
<div class="input-group">
<input type="text" id="global_server_path" class="form-control" name="global_server_path"
placeholder="/var/opt/servers" value="{{data['servers_dir']}}" directory>

View File

@ -230,7 +230,9 @@
"superConfirmTitle": "Enable superuser? Are you sure?",
"user": "User",
"users": "Users",
"title": "Crafty Configuration"
"title": "Crafty Configuration",
"globalServer": "Global Servers Directory",
"globalExplain": "Where Crafty stores all your server files. (We will append the path with /servers/[uuid of server])"
},
"customLogin": {
"customLoginPage": "Customise the Login Page",