From 1d76d8a2158ec397322e54da0b6ad3ca4cadb621 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 12 Aug 2011 13:16:27 +0000 Subject: applications, modules: remove i18n handling from controller modules as it moved to the themes now --- applications/luci-meshwizard/luasrc/controller/meshwizard.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'applications/luci-meshwizard/luasrc/controller') diff --git a/applications/luci-meshwizard/luasrc/controller/meshwizard.lua b/applications/luci-meshwizard/luasrc/controller/meshwizard.lua index 4e930cc50d..942987db50 100644 --- a/applications/luci-meshwizard/luasrc/controller/meshwizard.lua +++ b/applications/luci-meshwizard/luasrc/controller/meshwizard.lua @@ -14,8 +14,6 @@ http://www.apache.org/licenses/LICENSE-2.0 module "luci.controller.meshwizard" function index() - require("luci.i18n").loadc("meshwizard") - local i18n = luci.i18n.translate - entry({"admin", "freifunk", "meshwizard"}, cbi("freifunk/meshwizard"), i18n("Mesh Wizard"), 40) + entry({"admin", "freifunk", "meshwizard"}, cbi("freifunk/meshwizard"), _("Mesh Wizard"), 40) end -- cgit v1.2.3