* luci/applications: statistics: pick up new rrdtool translations in controller and rrdtool-i18n binding
This commit is contained in:
parent
64a16c5bbf
commit
d82340ada4
2 changed files with 6 additions and 4 deletions
|
@ -22,7 +22,8 @@ function index()
|
||||||
require("luci.i18n")
|
require("luci.i18n")
|
||||||
require("luci.statistics.datatree")
|
require("luci.statistics.datatree")
|
||||||
|
|
||||||
-- load language file
|
-- load language files
|
||||||
|
luci.i18n.loadc("rrdtool")
|
||||||
luci.i18n.loadc("statistics")
|
luci.i18n.loadc("statistics")
|
||||||
|
|
||||||
-- get rrd data tree
|
-- get rrd data tree
|
||||||
|
|
|
@ -26,6 +26,7 @@ function Instance.__init__( self, graph )
|
||||||
self.i18n = luci.i18n
|
self.i18n = luci.i18n
|
||||||
self.graph = graph
|
self.graph = graph
|
||||||
|
|
||||||
|
self.i18n.loadc("rrdtool")
|
||||||
self.i18n.loadc("statistics")
|
self.i18n.loadc("statistics")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue