summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-11-26 12:53:43 +0000
commit848e43a5b47c0467b90e7d9a029e59ec53461da3 (patch)
tree175f8f2aae92abc3a587fe39f082f53ea627ccc9 /applications/luci-statistics
parent264aae7910c2598fe845ebdd952e504bf8f0e48e (diff)
remove .i18n annotations from controller files
Diffstat (limited to 'applications/luci-statistics')
-rw-r--r--applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua3
-rw-r--r--applications/luci-statistics/luasrc/statistics/i18n.lua3
2 files changed, 0 insertions, 6 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 2e2515412..1b7084ccd 100644
--- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -67,7 +67,6 @@ function index()
-- create toplevel menu nodes
local st = entry({"admin", "statistics"}, template("admin_statistics/index"), _("Statistics"), 80)
- st.i18n = "statistics"
st.index = true
entry({"admin", "statistics", "collectd"}, cbi("luci_statistics/collectd"), _("Collectd"), 10).subindex = true
@@ -82,7 +81,6 @@ function index()
)
e.index = true
- e.i18n = "rrdtool"
for j, plugin in luci.util.vspairs( plugins ) do
_entry(
@@ -97,7 +95,6 @@ function index()
-- output views
local page = entry( { "admin", "statistics", "graph" }, template("admin_statistics/index"), _("Graphs"), 80)
- page.i18n = "statistics"
page.setuser = "nobody"
page.setgroup = "nogroup"
diff --git a/applications/luci-statistics/luasrc/statistics/i18n.lua b/applications/luci-statistics/luasrc/statistics/i18n.lua
index a279e9100..a1a2fa9de 100644
--- a/applications/luci-statistics/luasrc/statistics/i18n.lua
+++ b/applications/luci-statistics/luasrc/statistics/i18n.lua
@@ -25,9 +25,6 @@ Instance = luci.util.class()
function Instance.__init__( self, graph )
self.i18n = luci.i18n
self.graph = graph
-
- self.i18n.loadc("rrdtool")
- self.i18n.loadc("statistics")
end
function Instance._subst( self, str, val )