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-wol/luasrc/controller/wol.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'applications/luci-wol/luasrc') diff --git a/applications/luci-wol/luasrc/controller/wol.lua b/applications/luci-wol/luasrc/controller/wol.lua index 429ab2ac3..bb98b6d89 100644 --- a/applications/luci-wol/luasrc/controller/wol.lua +++ b/applications/luci-wol/luasrc/controller/wol.lua @@ -1,9 +1,6 @@ module("luci.controller.wol", package.seeall) function index() - require("luci.i18n").loadc("wol") - local i18n = luci.i18n.translate - - entry({"admin", "network", "wol"}, cbi("wol"), i18n("Wake on LAN"), 90).i18n = "wol" - entry({"mini", "network", "wol"}, cbi("wol"), i18n("Wake on LAN"), 90).i18n = "wol" + entry({"admin", "network", "wol"}, cbi("wol"), _("Wake on LAN"), 90).i18n = "wol" + entry({"mini", "network", "wol"}, cbi("wol"), _("Wake on LAN"), 90).i18n = "wol" end -- cgit v1.2.3