Added translations for roles being added at server creation.

This commit is contained in:
Andrew 2021-11-17 13:25:19 -05:00
parent 327122348d
commit f033320bc4
4 changed files with 19 additions and 9 deletions

View File

@ -72,10 +72,10 @@
</div>
</div>
<div class="col-sm-12">
<h4 class="card-title">Add Roles <small style="text-transform: none;"> - If none are selected Crafty will make one!</small></h4>
<h4 class="card-title">{{ translate('serverWizard', 'addRole', data['lang']) }}<small style="text-transform: none;"> {{ translate('serverWizard', 'autoCreate', data['lang']) }}</small></h4>
<div class="form-group">
<button onclick="dropDown(event);" class="menu-btn form-control form-control-lg select-css" type="button">
Select a role! &#9013;
{{ translate('serverWizard', 'selectRole', data['lang']) }} &#9013;
</button>
<div class="d-none shadow rounded menu">
{% for r in data['roles'] %}
@ -159,10 +159,10 @@
</div>
</div>
<div class="col-sm-12">
<h4 class="card-title">Add Roles <small style="text-transform: none;"> - If none are selected Crafty will make one!</small></h4>
<h4 class="card-title">{{ translate('serverWizard', 'addRole', data['lang']) }}<small style="text-transform: none;"> {{ translate('serverWizard', 'autoCreate', data['lang']) }}</small></h4>
<div class="form-group">
<button onclick="dropDown(event);" class="menu-btn form-control form-control-lg select-css" type="button">
Select a role! &#9013;
{{ translate('serverWizard', 'selectRole', data['lang']) }} &#9013;
</button>
<div class="d-none shadow rounded menu">
{% for r in data['roles'] %}
@ -248,10 +248,10 @@
</div>
<div class="col-sm-12">
<h4 class="card-title">Add Roles <small style="text-transform: none;"> - If none are selected Crafty will make one!</small></h4>
<h4 class="card-title">{{ translate('serverWizard', 'addRole', data['lang']) }}<small style="text-transform: none;"> {{ translate('serverWizard', 'autoCreate', data['lang']) }}</small></h4>
<div class="form-group">
<button onclick="dropDown(event);" class="menu-btn form-control form-control-lg select-css" type="button">
Select a role! &#9013;
{{ translate('serverWizard', 'selectRole', data['lang']) }} &#9013;
</button>
<div class="d-none shadow rounded menu">
{% for r in data['roles'] %}

View File

@ -59,7 +59,10 @@
"myNewServer": "My New Server",
"bePatient": "Please be patient as we ' + (importing ? 'import' : 'download') + ' the server",
"importing": "Importing Server...",
"downloading": "Downloading Server..."
"downloading": "Downloading Server...",
"addRole": "Add Role",
"autoCreate": "- If none are selected Crafty will make one!",
"selectRole": "Select Role(s)"
},
"dashboard": {
"dashboard": "Dashboard",

View File

@ -59,7 +59,11 @@
"myNewServer": "Minun uusi palvelin",
"bePatient": "Ole kärsivällinen, kun ' + (importing ? 'tuomme' : 'lataamme') + ' palvelinta",
"importing": "Tuomme palvelinta...",
"downloading": "Lataamme palvelinta..."
"downloading": "Lataamme palvelinta...",
"addRole": "Lisää Rooleja",
"autoCreate": "- Jos ketään ei valita, Crafty tekee sellaisen!",
"selectRole": "Valitse roolit"
},
"dashboard": {
"dashboard": "Kojelauta",

View File

@ -59,7 +59,10 @@
"myNewServer": "Mon Nouveau Serveur",
"bePatient": "Merci de patienter pendant que nous ' + (importing ? 'importons' : 'téléchargeons') + ' le serveur",
"importing": "Importation du Serveur ...",
"downloading": "Téléchargement du Serveur ..."
"downloading": "Téléchargement du Serveur ...",
"addRole": "Ajouter un rôle",
"autoCreate": "- Si aucun n'est sélectionné, Crafty en fera un !",
"selectRole": "Sélectionnez le rôle(s)"
},
"dashboard": {
"dashboard": "Tableau de Bord",