From: BenoƮt Knecht Date: Tue, 20 Apr 2010 14:40:27 +0000 (+0000) Subject: livestats: minor changes of the translatable strings X-Git-Tag: 0.10.0~700 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aab74df06771fe70a1e2ee543071cbafe4a317a1;p=oweals%2Fluci.git livestats: minor changes of the translatable strings --- 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 %>