Commit 519e661e authored by Franco Fichtner's avatar Franco Fichtner

mvc: revert translations for now, target is 17.1.6 as they came last minute

parent 664bdbd2
......@@ -249,7 +249,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: '{{ lang._('Close') }}',
label: 'Close',
action: function(dlg){
dlg.close();
}
......@@ -286,7 +286,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: '{{ lang._('Close') }}',
label: 'Close',
action: function(dlg){
dlg.close();
}
......
......@@ -358,7 +358,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (!status) {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "{{ lang._('Error reconfiguring IDS') }}",
title: "Error reconfiguring IDS",
message: data['status'],
draggable: true
});
......@@ -530,7 +530,7 @@ POSSIBILITY OF SUCH DAMAGE.
dlg.close();
}
}, {
label: '{{ lang._('Close') }}',
label: '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">{{ lang._('All') }}</option>
<option value="-1">All</option>
</select>
<div class="search form-group">
<div class="input-group">
......@@ -752,7 +752,7 @@ POSSIBILITY OF SUCH DAMAGE.
{{ partial("layout_partials/base_dialog_processing") }}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':lang._('Rule details'),'hasSaveBtn':'true','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogAlert,'id':'DialogAlert','label':lang._('Alert details'),'hasSaveBtn':'false','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRuleset,'id':'DialogRuleset','label':lang._('Ruleset details'),'hasSaveBtn':'true','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogUserDefined,'id':'DialogUserDefined','label':lang._('Rule details'),'hasSaveBtn':'true'])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Rule details','hasSaveBtn':'true','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogAlert,'id':'DialogAlert','label':'Alert details','hasSaveBtn':'false','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRuleset,'id':'DialogRuleset','label':'Ruleset details','hasSaveBtn':'true','msgzone_width':1])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogUserDefined,'id':'DialogUserDefined','label':'Rule details','hasSaveBtn':'true'])}}
......@@ -83,7 +83,7 @@ POSSIBILITY OF SUCH DAMAGE.
if (status != "success" || data['status'] != 'ok') {
BootstrapDialog.show({
type: BootstrapDialog.TYPE_WARNING,
title: "{{ lang._('Error reconfiguring proxy') }}",
title: "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: "{{ lang._('Error fetching remote acls') }}",
title: "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: "{{ lang._('Error fetching remote acls') }}",
title: "Error fetching remote acls",
message: data['status'],
draggable: true
});
......@@ -317,4 +317,4 @@ POSSIBILITY OF SUCH DAMAGE.
</div>
</div>
{{ partial("layout_partials/base_dialog",['fields':formDialogEditBlacklist,'id':'DialogEditBlacklist','label':lang._('Edit Blacklist')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogEditBlacklist,'id':'DialogEditBlacklist','label':'Edit Blacklist'])}}
......@@ -97,10 +97,10 @@ POSSIBILITY OF SUCH DAMAGE.
// Ask user if it's ok to flush all of ipfw
BootstrapDialog.show({
type:BootstrapDialog.TYPE_WARNING,
title: '{{ lang._('Flush') }}',
title: 'Flush',
message: "{{ lang._('Are you sure you want to flush and reload all? this might have impact on other services using the same technology underneath (such as Captive portal)') }}",
buttons: [{
label: '{{ lang._('Yes') }}',
label: 'Yes',
action: function(dialogRef){
dialogRef.close();
$("#flushAct_progress").addClass("fa fa-spinner fa-pulse");
......@@ -111,7 +111,7 @@ POSSIBILITY OF SUCH DAMAGE.
}
},{
label: '{{ lang._('No') }}',
label: 'No',
action: function(dialogRef){
dialogRef.close();
}
......@@ -235,6 +235,6 @@ POSSIBILITY OF SUCH DAMAGE.
{# include dialogs #}
{{ partial("layout_partials/base_dialog",['fields':formDialogPipe,'id':'DialogPipe','label':lang._('Edit pipe')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogQueue,'id':'DialogQueue','label':lang._('Edit queue')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':lang._('Edit rule')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogPipe,'id':'DialogPipe','label':'Edit pipe'])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogQueue,'id':'DialogQueue','label':'Edit queue'])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Edit rule'])}}
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