summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-08-13 21:12:19 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-08-13 21:12:19 +0000
commit86c32d917c41f7ead059908c43e08aa704df1d61 (patch)
treee3d3ddae119cca69721dcef1bea560e704596b11 /applications/luci-statistics/luasrc
parent5bc4c852da7ee6517ff29700a6667710e040eb20 (diff)
applications/luci-statistics: fix translation issues in controller
Diffstat (limited to 'applications/luci-statistics/luasrc')
-rw-r--r--applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua38
1 files changed, 19 insertions, 19 deletions
diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
index 5efadbd37b..5c1376435a 100644
--- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -136,10 +136,10 @@ end
function statistics_outputplugins()
local translate = luci.i18n.translate
local plugins = {
- rrdtool = _("RRDTool"),
- network = _("Network"),
- unixsock = _("UnixSock"),
- csv = _("CSV Output")
+ rrdtool = translate("RRDTool"),
+ network = translate("Network"),
+ unixsock = translate("UnixSock"),
+ csv = translate("CSV Output")
}
luci.template.render("admin_statistics/outputplugins", {plugins=plugins})
@@ -148,14 +148,14 @@ end
function statistics_systemplugins()
local translate = luci.i18n.translate
local plugins = {
- exec = _("Exec"),
- email = _("Email"),
- cpu = _("Processor"),
- df = _("Disk Space Usage"),
- disk = _("Disk Usage"),
- irq = _("Interrupts"),
- processes = _("Processes"),
- load = _("System Load"),
+ exec = translate("Exec"),
+ email = translate("Email"),
+ cpu = translate("Processor"),
+ df = translate("Disk Space Usage"),
+ disk = translate("Disk Usage"),
+ irq = translate("Interrupts"),
+ processes = translate("Processes"),
+ load = translate("System Load"),
}
luci.template.render("admin_statistics/systemplugins", {plugins=plugins})
@@ -164,13 +164,13 @@ end
function statistics_networkplugins()
local translate = luci.i18n.translate
local plugins = {
- interface = _("Interfaces"),
- netlink = _("Netlink"),
- iptables = _("Firewall"),
- tcpconns = _("TCP Connections"),
- ping = _("Ping"),
- dns = _("DNS"),
- wireless = _("Wireless")
+ interface = translate("Interfaces"),
+ netlink = translate("Netlink"),
+ iptables = translate("Firewall"),
+ tcpconns = translate("TCP Connections"),
+ ping = translate("Ping"),
+ dns = translate("DNS"),
+ wireless = translate("Wireless")
}
luci.template.render("admin_statistics/networkplugins", {plugins=plugins})