From 848e43a5b47c0467b90e7d9a029e59ec53461da3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 26 Nov 2012 12:53:43 +0000 Subject: remove .i18n annotations from controller files --- .../luasrc/controller/luci_statistics/luci_statistics.lua | 3 --- applications/luci-statistics/luasrc/statistics/i18n.lua | 3 --- 2 files changed, 6 deletions(-) (limited to 'applications/luci-statistics') 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 ) -- cgit v1.2.3