summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-ahcp/luasrc/controller/ahcp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-ahcp/luasrc/controller/ahcp.lua')
-rw-r--r--applications/luci-ahcp/luasrc/controller/ahcp.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/luci-ahcp/luasrc/controller/ahcp.lua b/applications/luci-ahcp/luasrc/controller/ahcp.lua
index ea73903117..5667bb532f 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