Commit 5410d8e3 authored by Fabian Franz's avatar Fabian Franz Committed by Franco Fichtner

translate dialog titles (#1547)

* translate dialog titles; closes #1546
* Some additional strings reported by @DokuKaefer

(cherry picked from commit 25f89aad)
parent 6c68020c
...@@ -249,7 +249,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -249,7 +249,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close(); dlg.close();
} }
}, { }, {
label: 'Close', label: '{{ lang._('Close') }}',
action: function(dlg){ action: function(dlg){
dlg.close(); dlg.close();
} }
...@@ -286,7 +286,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -286,7 +286,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close(); dlg.close();
} }
}, { }, {
label: 'Close', label: '{{ lang._('Close') }}',
action: function(dlg){ action: function(dlg){
dlg.close(); dlg.close();
} }
......
...@@ -358,7 +358,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -358,7 +358,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (!status) { if (!status) {
BootstrapDialog.show({ BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING, type: BootstrapDialog.TYPE_WARNING,
title: "Error reconfiguring IDS", title: "{{ lang._('Error reconfiguring IDS') }}",
message: data['status'], message: data['status'],
draggable: true draggable: true
}); });
...@@ -530,7 +530,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -530,7 +530,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close(); dlg.close();
} }
}, { }, {
label: 'Close', label: '{{ lang._('Close') }}',
action: function(dlg){ action: function(dlg){
dlg.close(); dlg.close();
} }
...@@ -722,7 +722,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -722,7 +722,7 @@ POSSIBILITY OF SUCH DAMAGE.
<option value="250">250</option> <option value="250">250</option>
<option value="500">500</option> <option value="500">500</option>
<option value="1000">1000</option> <option value="1000">1000</option>
<option value="-1">All</option> <option value="-1">{{ lang._('All') }}</option>
</select> </select>
<div class="search form-group"> <div class="search form-group">
<div class="input-group"> <div class="input-group">
......
...@@ -83,7 +83,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -83,7 +83,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') { if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({ BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING, type: BootstrapDialog.TYPE_WARNING,
title: "Error reconfiguring proxy", title: "{{ lang._('Error reconfiguring proxy') }}",
message: data['status'], message: data['status'],
draggable: true draggable: true
}); });
...@@ -103,7 +103,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -103,7 +103,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') { if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({ BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING, type: BootstrapDialog.TYPE_WARNING,
title: "Error fetching remote acls", title: "{{ lang._('Error fetching remote acls') }}",
message: data['status'], message: data['status'],
draggable: true draggable: true
}); });
...@@ -123,7 +123,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -123,7 +123,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') { if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({ BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING, type: BootstrapDialog.TYPE_WARNING,
title: "Error fetching remote acls", title: "{{ lang._('Error fetching remote acls') }}",
message: data['status'], message: data['status'],
draggable: true draggable: true
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment