add english translation for zip imports

This commit is contained in:
Andrew 2022-01-09 22:58:13 -05:00
parent 4d636cce1b
commit 3546d50142
2 changed files with 12 additions and 6 deletions

View File

@ -231,9 +231,9 @@
<div class="col-sm-12">
<div class="form-group">
<label for="server">{{ translate('serverWizard', 'zipPath', data['lang']) }} Select Root Dir <small>{{ translate('serverWizard', 'absoluteZipPath', data['lang']) }}</small></label>
<label for="server">{{ translate('serverWizard', 'selectRoot', data['lang']) }} <small>{{ translate('serverWizard', 'explainRoot', data['lang']) }}</small></label>
<br>
<button class="btn btn-primary mr-2" id="root_files_button" type="button">Click here to select Root Dir</button>
<button class="btn btn-primary mr-2" id="root_files_button" type="button">{{ translate('serverWizard', 'clickRoot', data['lang']) }}</button>
</div>
</div>
@ -306,7 +306,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLongTitle">Select Root Dir</h5>
<h5 class="modal-title" id="exampleModalLongTitle">{{ translate('serverWizard', 'selectZipDir', data['lang']) }}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
@ -323,8 +323,8 @@
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" id="modal-okay" data-dismiss="modal" class="btn btn-primary">Save changes</button>
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ translate('serverWizard', 'close', data['lang']) }}</button>
<button type="button" id="modal-okay" data-dismiss="modal" class="btn btn-primary">{{ translate('serverWizard', 'save', data['lang']) }}</button>
</div>
</div>
</div>

View File

@ -68,7 +68,13 @@
"downloading": "Downloading Server...",
"addRole": "Add Server to Existing Role(s)",
"autoCreate": "If none are selected Crafty will make one!",
"selectRole": "Select Role(s)"
"selectRole": "Select Role(s)",
"selectZipDir": "Select the directory in the archive you want us to unzip files from",
"close": "Close",
"save": "Save",
"selectRoot": "Select Archive Root Dir",
"clickRoot": "Click here to select Root Dir",
"explainRoot": "Please click the button below to select your server's root dir inside of the archive"
},
"dashboard": {
"dashboard": "Dashboard",