diff options
Diffstat (limited to 'applications/luci-ahcp/luasrc/controller/ahcp.lua')
-rw-r--r-- | applications/luci-ahcp/luasrc/controller/ahcp.lua | 5 |
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 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 |