Custom locations: translations

This commit is contained in:
Laszlo Ancsin 2019-02-18 22:34:22 +01:00
parent 51e56c1251
commit b04e9fa04d
2 changed files with 11 additions and 4 deletions

View file

@ -3,14 +3,14 @@
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class="form-label">Define location <span class="form-required">*</span></label>
<label class="form-label"><%- i18n('locations', 'location_label') %> <span class="form-required">*</span></label>
<div class="row gutter-xs">
<div class="col">
<div class="input-group">
<span class="input-group-prepend">
<span class="input-group-text">location</span>
</span>
<input type="text" name="path" class="form-control model" value="<%- path %>" placeholder="/path" required>
<input type="text" name="path" class="form-control model" value="<%- path %>" placeholder="<%- i18n('locations', 'path') %>" required>
</div>
</div>
<div class="col-auto">
@ -57,7 +57,7 @@
</div>
<a href="#" class="card-link location-delete">
<i class="fa fa-trash"></i> delete
<i class="fa fa-trash"></i> <%- i18n('locations', 'delete') %>
</a>
</div>
</div>

View file

@ -79,7 +79,14 @@
"no-ssl": "This host will not use HTTPS",
"advanced": "Advanced",
"advanced-warning": "Enter your custom Nginx configuration here at your own risk!",
"advanced-config": "Custom Nginx Configuration"
"advanced-config": "Custom Nginx Configuration",
"locations": "Custom locations"
},
"locations": {
"new_location": "Add location",
"path": "/path",
"location_label": "Define location",
"delete": "Delete"
},
"ssl": {
"letsencrypt": "Let's Encrypt",