Commit 664bdbd2 authored by Fabian Franz's avatar Fabian Franz Committed by Franco Fichtner

Translation (#1548)

* fix translations in traffic shaper

* translation IDS and Proxy

(cherry picked from commit 2c8c4666)
parent 5410d8e3
...@@ -752,7 +752,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -752,7 +752,7 @@ POSSIBILITY OF SUCH DAMAGE.
{{ partial("layout_partials/base_dialog_processing") }} {{ partial("layout_partials/base_dialog_processing") }}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Rule details','hasSaveBtn':'true','msgzone_width':1])}} {{ 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':'Alert details','hasSaveBtn':'false','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':'Ruleset details','hasSaveBtn':'true','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':'Rule details','hasSaveBtn':'true'])}} {{ partial("layout_partials/base_dialog",['fields':formDialogUserDefined,'id':'DialogUserDefined','label':lang._('Rule details'),'hasSaveBtn':'true'])}}
...@@ -317,4 +317,4 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -317,4 +317,4 @@ POSSIBILITY OF SUCH DAMAGE.
</div> </div>
</div> </div>
{{ partial("layout_partials/base_dialog",['fields':formDialogEditBlacklist,'id':'DialogEditBlacklist','label':'Edit Blacklist'])}} {{ partial("layout_partials/base_dialog",['fields':formDialogEditBlacklist,'id':'DialogEditBlacklist','label':lang._('Edit Blacklist')])}}
...@@ -97,10 +97,10 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -97,10 +97,10 @@ POSSIBILITY OF SUCH DAMAGE.
// Ask user if it's ok to flush all of ipfw // Ask user if it's ok to flush all of ipfw
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_WARNING, type:BootstrapDialog.TYPE_WARNING,
title: 'Flush', title: '{{ lang._('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)') }}", 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: [{ buttons: [{
label: 'Yes', label: '{{ lang._('Yes') }}',
action: function(dialogRef){ action: function(dialogRef){
dialogRef.close(); dialogRef.close();
$("#flushAct_progress").addClass("fa fa-spinner fa-pulse"); $("#flushAct_progress").addClass("fa fa-spinner fa-pulse");
...@@ -111,7 +111,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -111,7 +111,7 @@ POSSIBILITY OF SUCH DAMAGE.
} }
},{ },{
label: 'No', label: '{{ lang._('No') }}',
action: function(dialogRef){ action: function(dialogRef){
dialogRef.close(); dialogRef.close();
} }
...@@ -235,6 +235,6 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -235,6 +235,6 @@ POSSIBILITY OF SUCH DAMAGE.
{# include dialogs #} {# include dialogs #}
{{ partial("layout_partials/base_dialog",['fields':formDialogPipe,'id':'DialogPipe','label':'Edit pipe'])}} {{ partial("layout_partials/base_dialog",['fields':formDialogPipe,'id':'DialogPipe','label':lang._('Edit pipe')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogQueue,'id':'DialogQueue','label':'Edit queue'])}} {{ partial("layout_partials/base_dialog",['fields':formDialogQueue,'id':'DialogQueue','label':lang._('Edit queue')])}}
{{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':'Edit rule'])}} {{ partial("layout_partials/base_dialog",['fields':formDialogRule,'id':'DialogRule','label':lang._('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