translate dialog titles (#1547)

* translate dialog titles; closes #1546
* Some additional strings reported by @DokuKaefer
This commit is contained in:
Fabian Franz 2017-04-18 05:59:56 +02:00 committed by Franco Fichtner
parent aad0dbb8eb
commit 25f89aad77
3 changed files with 8 additions and 8 deletions

View File

@ -249,7 +249,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: 'Close',
label: '{{ lang._('Close') }}',
action: function(dlg){
dlg.close();
}
@ -286,7 +286,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: 'Close',
label: '{{ lang._('Close') }}',
action: function(dlg){
dlg.close();
}

View File

@ -358,7 +358,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (!status) {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "Error reconfiguring IDS",
title: "{{ lang._('Error reconfiguring IDS') }}",
message: data['status'],
draggable: true
});
@ -530,7 +530,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: 'Close',
label: '{{ lang._('Close') }}',
action: function(dlg){
dlg.close();
}
@ -722,7 +722,7 @@ POSSIBILITY OF SUCH DAMAGE.
<option value="250">250</option>
<option value="500">500</option>
<option value="1000">1000</option>
<option value="-1">All</option>
<option value="-1">{{ lang._('All') }}</option>
</select>
<div class="search form-group">
<div class="input-group">

View File

@ -83,7 +83,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "Error reconfiguring proxy",
title: "{{ lang._('Error reconfiguring proxy') }}",
message: data['status'],
draggable: true
});
@ -103,7 +103,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "Error fetching remote acls",
title: "{{ lang._('Error fetching remote acls') }}",
message: data['status'],
draggable: true
});
@ -123,7 +123,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "Error fetching remote acls",
title: "{{ lang._('Error fetching remote acls') }}",
message: data['status'],
draggable: true
});