diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-08 14:19:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-06-08 14:19:26 +0000 |
commit | 873b20cb19ed91957217ebc5284dc86658042100 (patch) | |
tree | cc356a313ef90d2a5e499262b8dc622bb25cfbc6 /applications/luci-statistics/luasrc/statistics | |
parent | 3ba1a52c1f9c7d0fef0807afe7e79a0d0ef53660 (diff) |
* luci/statistics: replace load() with loadc() since german translation is now available
Diffstat (limited to 'applications/luci-statistics/luasrc/statistics')
-rw-r--r-- | applications/luci-statistics/luasrc/statistics/i18n.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/applications/luci-statistics/luasrc/statistics/i18n.lua b/applications/luci-statistics/luasrc/statistics/i18n.lua index 865839524c..9aa642c343 100644 --- 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 ) |