projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* luci/statistics: replace load() with loadc() since german translation is now available
[project/luci.git]
/
applications
/
luci-statistics
/
luasrc
/
statistics
/
i18n.lua
diff --git
a/applications/luci-statistics/luasrc/statistics/i18n.lua
b/applications/luci-statistics/luasrc/statistics/i18n.lua
index
8658395
..
9aa642c
100644
(file)
--- a/
applications/luci-statistics/luasrc/statistics/i18n.lua
+++ b/
applications/luci-statistics/luasrc/statistics/i18n.lua
@@
-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 )