From a988a8d3fd39b65c96e331bf4cff388a18c3f416 Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Thu, 11 May 2017 20:26:23 +0200 Subject: [PATCH] add error string --- .../src/opnsense/mvc/app/views/OPNsense/HAProxy/statistics.volt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/statistics.volt b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/statistics.volt index aa4473c04..ced68dd7f 100644 --- a/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/statistics.volt +++ b/net/haproxy/src/opnsense/mvc/app/views/OPNsense/HAProxy/statistics.volt @@ -50,7 +50,7 @@ POSSIBILITY OF SUCH DAMAGE. ""+value+""); }); } else { - $("#infolist").html("
Error: Unable to fetch statistics. Is HAProxy running?"); + $("#infolist").html("
{{ lang._('%sError:%s Unable to fetch statistics. Is HAProxy running?') | format('','') }}"); } $('#processing-dialog').modal('hide'); }