summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-wol/luasrc/controller/wol.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-wol/luasrc/controller/wol.lua')
-rw-r--r--applications/luci-wol/luasrc/controller/wol.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/applications/luci-wol/luasrc/controller/wol.lua b/applications/luci-wol/luasrc/controller/wol.lua
index 429ab2ac3f..bb98b6d89a 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