* luci/statistics: replace load() with loadc() since german translation is now available

This commit is contained in:
Jo-Philipp Wich 2008-06-08 14:19:26 +00:00
parent 3ba1a52c1f
commit 873b20cb19
3 changed files with 2 additions and 5 deletions

View file

@ -22,7 +22,7 @@ function index()
require("luci.statistics.datatree")
-- load language file
luci.i18n.load("statistics.en") -- XXX: temporary / replace with loadc()
luci.i18n.loadc("statistics")
-- get rrd data tree
local tree = luci.statistics.datatree.Instance()

View file

@ -16,8 +16,6 @@ $Id$
require("luci.sys")
luci.i18n.load("statistics.en")
--[[
m = Map("luci_statistics", "Collector Daemon",
Collectd ist ein kleiner und flexibler Dienst zum Sammeln und Abfragen von Daten

View file

@ -26,8 +26,7 @@ function Instance.__init__( self, graph )
self.i18n = luci.i18n
self.graph = graph
-- XXX: compat hack
self.i18n.load("statistics.en")
self.i18n.loadc("statistics")
end
function Instance._subst( self, str, val )