From aab74df06771fe70a1e2ee543071cbafe4a317a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Knecht?= Date: Tue, 20 Apr 2010 14:40:27 +0000 Subject: [PATCH] livestats: minor changes of the translatable strings --- applications/luci-livestats/luasrc/view/livestats/loadavg.htm | 4 ++-- applications/luci-livestats/luasrc/view/livestats/traffic.htm | 2 +- applications/luci-livestats/luasrc/view/livestats/wireless.htm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/luci-livestats/luasrc/view/livestats/loadavg.htm b/applications/luci-livestats/luasrc/view/livestats/loadavg.htm index e225f301e..1f45f988d 100644 --- a/applications/luci-livestats/luasrc/view/livestats/loadavg.htm +++ b/applications/luci-livestats/luasrc/view/livestats/loadavg.htm @@ -15,10 +15,10 @@ 2000, // Data sources - [ 0, "1 min", 1, "5 min", 2, "15 min" ], + [ 0, "1 <%:min%>", 1, "5 <%:min%>", 2, "15 <%:min%>" ], // Graph layout options - { title: '<%:load average%>', strokeWidth: 2.5, shouldFill: false, strokeColor: null, + { title: '<%:Load average%>', strokeWidth: 2.5, shouldFill: false, strokeColor: null, padding: { left: 70, right: 10, top: 10, bottom: 20 }, instances: [ false ], yAxis: [ 0, 2 ], drawBackground: false }, null, diff --git a/applications/luci-livestats/luasrc/view/livestats/traffic.htm b/applications/luci-livestats/luasrc/view/livestats/traffic.htm index b2d0b24b7..420ceb905 100644 --- a/applications/luci-livestats/luasrc/view/livestats/traffic.htm +++ b/applications/luci-livestats/luasrc/view/livestats/traffic.htm @@ -39,7 +39,7 @@ shouldFill: false, drawBackground: false, strokeColor: null, - title: '<%:traffic on%> %s', + title: '<%:Traffic on%> %s', strokeWidth: 2.5, height: 140, padding: { left: 70, right: 10, top: 10, bottom: 20 }, instances: [ <%=table.concat(interfaces, ", ") %> ], diff --git a/applications/luci-livestats/luasrc/view/livestats/wireless.htm b/applications/luci-livestats/luasrc/view/livestats/wireless.htm index e092f86e3..e675cfa37 100644 --- a/applications/luci-livestats/luasrc/view/livestats/wireless.htm +++ b/applications/luci-livestats/luasrc/view/livestats/wireless.htm @@ -22,7 +22,7 @@ // Graph layout options { drawBackground: false, yAxis: [ 0, 50 ], - title: '<%:signal-to-noise ratio for%> %s', + title: '<%:Signal-to-noise ratio for%> %s', padding: { left: 40, right: 10, top: 10, bottom: 20 }, instanceNames: { <%- for k,v in pairs(luci.sys.wifi.getiwconfig()) do %> -- 2.11.0