luci-mod-admin-full/mini: replace Wifi with Wireless in menus
Replace the menu item "Wifi" by "Wireless", which is already used for page and section headings This closes #695 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
parent
1575d659a1
commit
cc801de89c
3 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ function index()
|
|||
page = entry({"admin", "network", "wireless_shutdown"}, post("wifi_shutdown"), nil)
|
||||
page.leaf = true
|
||||
|
||||
page = entry({"admin", "network", "wireless"}, arcombine(template("admin_network/wifi_overview"), cbi("admin_network/wifi")), _("Wifi"), 15)
|
||||
page = entry({"admin", "network", "wireless"}, arcombine(template("admin_network/wifi_overview"), cbi("admin_network/wifi")), _("Wireless"), 15)
|
||||
page.leaf = true
|
||||
page.subindex = true
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@ module("luci.controller.mini.network", package.seeall)
|
|||
function index()
|
||||
entry({"mini", "network"}, alias("mini", "network", "index"), _("Network"), 20).index = true
|
||||
entry({"mini", "network", "index"}, cbi("mini/network", {autoapply=true}), _("General"), 1)
|
||||
entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), _("Wifi"), 10)
|
||||
entry({"mini", "network", "wifi"}, cbi("mini/wifi", {autoapply=true}), _("Wireless"), 10)
|
||||
entry({"mini", "network", "dhcp"}, cbi("mini/dhcp", {autoapply=true}), _("DHCP"), 20)
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ wlcursor:foreach("wireless", "wifi-device",
|
|||
|
||||
-- Main Map --
|
||||
|
||||
m = Map("wireless", translate("Wifi"), translate("Here you can configure installed wifi devices."))
|
||||
m = Map("wireless", translate("Wireless"), translate("Here you can configure installed wifi devices."))
|
||||
m:chain("network")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue