Skip to content

Commit ebeda63

Browse files
committed
Globalization done
Ready to merge
1 parent e35138e commit ebeda63

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

frontend/js/app/nginx/redirection/form.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</div>
2525
<div class="col-sm-4 col-md-4">
2626
<div class="form-group">
27-
<label class="form-label"><%- i18n('redirection-hosts', 'scheme') %><span class="form-required">*</span></label>
27+
<label class="form-label"><%- i18n('redirection-hosts', 'forward-scheme') %><span class="form-required">*</span></label>
2828
<select name="forward_scheme" class="form-control custom-select" placeholder="$scheme">
2929
<option value="$scheme" <%- forward_scheme === '$scheme' ? 'selected' : '' %>>auto</option>
3030
<option value="http" <%- forward_scheme === 'http' ? 'selected' : '' %>>http</option>
@@ -40,7 +40,7 @@
4040
</div>
4141
<div class="col-sm-12 col-md-12">
4242
<div class="form-group">
43-
<label class="form-label"><%- i18n('redirection-hosts', 'http-status-code') %><span class="form-required">*</span></label>
43+
<label class="form-label"><%- i18n('redirection-hosts', 'forward-http-status-code') %><span class="form-required">*</span></label>
4444
<select name="forward_http_code" class="form-control custom-select" placeholder="301">
4545
<option value="300" <%- forward_http_code == '300' ? 'selected' : '' %>>300 Multiple choices</option>
4646
<option value="301" <%- forward_http_code == '301' ? 'selected' : '' %>>301 Moved permanently</option>

frontend/js/i18n/messages.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@
137137
"empty": "There are no Redirection Hosts",
138138
"add": "Add Redirection Host",
139139
"form-title": "{id, select, undefined{New} other{Edit}} Redirection Host",
140+
"forward-scheme": "Scheme",
141+
"forward-http-status-code": "HTTP Code",
140142
"forward-domain": "Forward Domain",
141143
"preserve-path": "Preserve Path",
142144
"delete": "Delete Proxy Host",

0 commit comments

Comments
 (0)