+--[[
+
+Luci statistics - diagram i18n helper
+(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+$Id$
+
+]]--
+
module("luci.statistics.i18n", package.seeall)
require("luci.util")
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 )