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-ahcp/luasrc/controller/ahcp.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'applications/luci-ahcp') diff --git a/applications/luci-ahcp/luasrc/controller/ahcp.lua b/applications/luci-ahcp/luasrc/controller/ahcp.lua index ea7390311..5667bb532 100644 --- a/applications/luci-ahcp/luasrc/controller/ahcp.lua +++ b/applications/luci-ahcp/luasrc/controller/ahcp.lua @@ -19,10 +19,7 @@ function index() return end - require("luci.i18n") - luci.i18n.loadc("ahcp") - - entry({"admin", "network", "ahcpd"}, cbi("ahcp"), luci.i18n.translate("AHCP Server"), 90).i18n = "ahcp" + entry({"admin", "network", "ahcpd"}, cbi("ahcp"), _("AHCP Server"), 90).i18n = "ahcp" entry({"admin", "network", "ahcpd", "status"}, call("ahcp_status")) end -- cgit v1.2.3