livestats: minor changes of the translatable strings
authorBenoît Knecht <benoit.knecht@gmail.com>
Tue, 20 Apr 2010 14:40:27 +0000 (14:40 +0000)
committerBenoît Knecht <benoit.knecht@gmail.com>
Tue, 20 Apr 2010 14:40:27 +0000 (14:40 +0000)
applications/luci-livestats/luasrc/view/livestats/loadavg.htm
applications/luci-livestats/luasrc/view/livestats/traffic.htm
applications/luci-livestats/luasrc/view/livestats/wireless.htm

index e225f30..1f45f98 100644 (file)
                        2000,
 
                        // Data sources
                        2000,
 
                        // Data sources
-                       [ 0, "1 min", 1, "5 min", 2, "15 min" ],
+                       [ 0, "1 <%:min%>", 1, "5 <%:min%>", 2, "15 <%:min%>" ],
 
                        // Graph layout options
 
                        // 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,
                          padding: { left: 70, right: 10, top: 10, bottom: 20 },
                          instances: [ false ],  yAxis: [ 0, 2 ], drawBackground: false },
                        null,
index b2d0b24..420ceb9 100644 (file)
@@ -39,7 +39,7 @@
                        shouldFill: false, 
                        drawBackground: false, 
                        strokeColor: null,
                        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, ", ") %> ],
                        strokeWidth: 2.5, height: 140,
                        padding: { left: 70, right: 10, top: 10, bottom: 20 },
                        instances: [ <%=table.concat(interfaces, ", ") %> ],
index e092f86..e675cfa 100644 (file)
@@ -22,7 +22,7 @@
 
                        // Graph layout options
                        { drawBackground: false, yAxis: [ 0, 50 ],
 
                        // 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 %>
                          padding: { left: 40, right: 10, top: 10, bottom: 20 },
                          instanceNames: {
                                <%- for k,v in pairs(luci.sys.wifi.getiwconfig()) do %>