From 78b9f0b241ac786f96e34658dd276315b21b1f60 Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Thu, 11 May 2017 20:39:35 +0200 Subject: [PATCH] improve 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 ced68dd7f..6b96dfa5b 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("
{{ lang._('%sError:%s Unable to fetch statistics. Is HAProxy running?') | format('','') }}"); + $("#infolist").html("
{{ lang._('The statistics could not be fetched. Is HAProxy running?') }}"); } $('#processing-dialog').modal('hide'); }