Fixing server select list + traductions

This commit is contained in:
Silversthorn 2021-11-19 22:08:36 +01:00
parent 6f9d722a92
commit 0ddc8015e9
4 changed files with 9 additions and 2 deletions

View File

@ -22,8 +22,9 @@
<div class="form-group">
<label for="server_type">{{ translate('serverWizard', 'serverType', data['lang']) }}</label>
<select class="form-control form-control-lg select-css" id="server_type" name="server_type" onchange="serverTypeChange(this)">
<option value="empty">{{ translate('serverWizard', 'selectType', data['lang']) }}</option>
{% for s in data['server_types'] %}
<option value="{{ s }}">{{ s.capitalize() }}</option>
<option value="{{ s }}">{{ s.capitalize() }}</option>
{% end %}
</select>
</div>
@ -33,7 +34,7 @@
<div class="form-group">
<label for="server_version">{{ translate('serverWizard', 'serverVersion', data['lang']) }}</label>
<select class="form-control form-control-lg select-css" id="server" name="server">
<option value="0">Select a Version</option>
<option value="0">{{ translate('serverWizard', 'selectVersion', data['lang']) }}</option>
</select>
</div>
</div>

View File

@ -41,7 +41,9 @@
"serverName": "Server Name",
"serverPath": "Server Path",
"serverType": "Server Type",
"selectType": "Select a Type",
"serverVersion": "Server Version",
"selectVersion": "Select a Version",
"absoluteServerPath": "Absolute path to your server",
"serverJar": "Server Jarfile",
"minMem": "Minimum Memory",

View File

@ -41,7 +41,9 @@
"serverName": "Palvelimen nimi",
"serverPath": "Palvelimen polku",
"serverType": "Palvelimen tyypi",
"selectType": "Valitse tyypi",
"serverVersion": "Palvelimen versio",
"selectVersion": "Valitse versio",
"absoluteServerPath": "Absoluuttinen polku palvelimeesi",
"serverJar": "Palvelimen Jar -tiedosto",
"minMem": "Minimi Muisti",

View File

@ -41,7 +41,9 @@
"serverName": "Non du Serveur",
"serverPath": "Chemin du Serveur",
"serverType": "Type du Serveur",
"selectType": "Selectionner un Type",
"serverVersion": "Version du Serveur",
"selectVersion": "Selectionner une Version",
"absoluteServerPath": "Chemin absolu de Votre Serveur",
"serverJar": "Fichier Jar du Serveur",
"minMem": "Mémoire Minimum",