summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/controller
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-06-08 14:19:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-06-08 14:19:26 +0000
commit873b20cb19ed91957217ebc5284dc86658042100 (patch)
treecc356a313ef90d2a5e499262b8dc622bb25cfbc6 /applications/luci-statistics/luasrc/controller
parent3ba1a52c1f9c7d0fef0807afe7e79a0d0ef53660 (diff)
* luci/statistics: replace load() with loadc() since german translation is now available
Diffstat (limited to 'applications/luci-statistics/luasrc/controller')
-rw-r--r--applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
index 2f6807153..a8265a163 100644
--- a/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
+++ b/applications/luci-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
@@ -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()