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

View File

@ -230,7 +230,9 @@
"superConfirmTitle": "Enable superuser? Are you sure?", "superConfirmTitle": "Enable superuser? Are you sure?",
"user": "User", "user": "User",
"users": "Users", "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": { "customLogin": {
"customLoginPage": "Customise the Login Page", "customLoginPage": "Customise the Login Page",