diff options
-rw-r--r-- | modules/luci-base/luasrc/dispatcher.lua | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/luci-base/luasrc/dispatcher.lua b/modules/luci-base/luasrc/dispatcher.lua index 8b9003d207..1e610e7489 100644 --- a/modules/luci-base/luasrc/dispatcher.lua +++ b/modules/luci-base/luasrc/dispatcher.lua @@ -296,10 +296,6 @@ function dispatch(request) ctx.requestpath = ctx.requestpath or freq ctx.path = preq - if track.i18n then - i18n.loadc(track.i18n) - end - -- Init template engine if (c and c.index) or not track.notemplate then local tpl = require("luci.template") @@ -603,9 +599,6 @@ function createtree() ctx.tree = tree ctx.modifiers = modi - -- Load default translation - require "luci.i18n".loadc("base") - local scope = setmetatable({}, {__index = luci.dispatcher}) for k, v in pairs(index) do |