From cc801de89ca4793638099595d7e61e06a7a5cd66 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Thu, 9 Jun 2016 11:55:20 +0300 Subject: [PATCH] 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 --- modules/luci-mod-admin-full/luasrc/controller/admin/network.lua | 2 +- modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua | 2 +- modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua index aa533cb70b..3b5f3eb8de 100644 --- a/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua +++ b/modules/luci-mod-admin-full/luasrc/controller/admin/network.lua @@ -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 diff --git a/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua b/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua index 0b74c41ec4..92506e54f2 100644 --- a/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua +++ b/modules/luci-mod-admin-mini/luasrc/controller/mini/network.lua @@ -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 diff --git a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua index 0729c44393..19952cd5dc 100644 --- a/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -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") -- 2.30.2