applications/luci-statistics: Sort menu items alphabetically
authorManuel Munz <freifunk@somakoma.de>
Mon, 28 Nov 2011 16:08:16 +0000 (16:08 +0000)
committerManuel Munz <freifunk@somakoma.de>
Mon, 28 Nov 2011 16:08:16 +0000 (16:08 +0000)
applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua

index 2508f9308cc0b9960b863eb742e96c3c614f2dfb..87b22fcd27f81cb6e651da1dbf9c4aa86c192556 100644 (file)
@@ -37,35 +37,35 @@ function index()
                s_system        = _("System plugins"),
                s_network       = _("Network plugins"),
 
-               rrdtool         = _("RRDTool"),
-               network         = _("Network"),
-               unixsock        = _("UnixSock"),
-               conntrack       = _("Conntrack"),
-               csv                     = _("CSV Output"),
-               exec            = _("Exec"),
-               email           = _("Email"),
+               conntrack       = _("Conntrack"),
                cpu                     = _("Processor"),
+               csv                     = _("CSV Output"),
                df                      = _("Disk Space Usage"),
                disk            = _("Disk Usage"),
+               dns                     = _("DNS"),
+               email           = _("Email"),
+               exec            = _("Exec"),
+               interface       = _("Interfaces"),
+               iptables        = _("Firewall"),
                irq                     = _("Interrupts"),
-               processes       = _("Processes"),
                load            = _("System Load"),
-               interface       = _("Interfaces"),
                memory          = _("Memory"),
                netlink         = _("Netlink"),
-               iptables        = _("Firewall"),
-               tcpconns        = _("TCP Connections"),
+               network         = _("Network"),
+               olsrd           = _("OLSRd"),
                ping            = _("Ping"),
-               dns                     = _("DNS"),
-               wireless        = _("Wireless"),
-               olsrd           = _("OLSRd")
+               processes       = _("Processes"),
+               rrdtool         = _("RRDTool"),
+               tcpconns        = _("TCP Connections"),
+               unixsock        = _("UnixSock"),
+               wireless        = _("Wireless")
        }
 
        -- our collectd menu
        local collectd_menu = {
-               output  = { "rrdtool", "network", "unixsock", "csv" },
-               system  = { "exec", "email", "cpu", "df", "disk", "irq", "memory", "processes", "load" },
-               network = { "interface", "netlink", "iptables", "conntrack", "tcpconns", "ping", "dns", "wireless", "olsrd" }
+               output  = { "csv", "network", "rrdtool", "unixsock" },
+               system  = { "cpu", "df", "disk", "email", "exec", "irq", "load", "memory", "processes" },
+               network = { "conntrack", "dns", "interface", "iptables", "netlink", "olsrd", "ping", "tcpconns", "wireless" }
        }
 
        -- create toplevel menu nodes