From 48e96d89557cbadfa03ffa351589b6d2273f1ed5 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 3 Mar 2024 20:24:19 +0200 Subject: [PATCH] luci-mod-network: Add clarifying note to wireless join dialog Add a clarifying note about two different meanings of "network"on the wireless join page. In the dialog title the word "network" refers to the wireless SSID, while in the config item the same "network" refers to the name to be used in OpenWrt network configuration. Reference to forum discussion at https://forum.openwrt.org/t/cant-join-a-scanned-network/189859 Signed-off-by: Hannu Nyman --- .../htdocs/luci-static/resources/view/network/wireless.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 3896ed8172..7269a1fb45 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -2129,7 +2129,9 @@ return view.extend({ replace = s2.option(form.Flag, 'replace', _('Replace wireless configuration'), _('Check this option to delete the existing networks from this radio.')); - name = s2.option(form.Value, 'name', _('Name of the new network'), _('The allowed characters are: A-Z, a-z, 0-9 and _')); + name = s2.option(form.Value, 'name', _('Name of the new network'), + _('Name for OpenWrt network configuration. (No relation to wireless network name/SSID)') + '
' + + _('The allowed characters are: A-Z, a-z, 0-9 and _')); name.datatype = 'uciname'; name.default = 'wwan'; name.rmempty = false; -- 2.30.2