summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-11-01 14:24:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-11-01 14:24:04 +0000
commitf5a760168b3dba6b9b0d5d93ab6b6ed4e229cb73 (patch)
treefbe69b9a2dae898ccb285e79d350c190c17ad4dd /libs
parentc0ba2e06c65e98360d9a98570286a9c0cb82dc67 (diff)
all: remove references to old i18n files
Diffstat (limited to 'libs')
-rw-r--r--libs/cbi/luasrc/cbi.lua3
-rw-r--r--libs/web/luasrc/dispatcher.lua2
2 files changed, 2 insertions, 3 deletions
diff --git a/libs/cbi/luasrc/cbi.lua b/libs/cbi/luasrc/cbi.lua
index 9a88a2b36..bfdfd6999 100644
--- a/libs/cbi/luasrc/cbi.lua
+++ b/libs/cbi/luasrc/cbi.lua
@@ -74,8 +74,7 @@ function load(cbimap, ...)
assert(func, err)
- luci.i18n.loadc("cbi")
- luci.i18n.loadc("uvl")
+ luci.i18n.loadc("base")
local env = {
translate=i18n.translate,
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 6445c124e..e3d7ec974 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -475,7 +475,7 @@ function createtree()
ctx.modifiers = modi
-- Load default translation
- require "luci.i18n".loadc("default")
+ require "luci.i18n".loadc("base")
local scope = setmetatable({}, {__index = luci.dispatcher})