luci-mod-network: Add clarifying note to wireless join dialog
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 3 Mar 2024 18:24:19 +0000 (20:24 +0200)
committerPaul Donald <newtwen@gmail.com>
Thu, 7 Mar 2024 00:46:26 +0000 (01:46 +0100)
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 <hannu.nyman@iki.fi>
(cherry picked from commit 48e96d89557cbadfa03ffa351589b6d2273f1ed5)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js

index 9e57929f8742d85d21d7639cb9c9911a1eeb403e..610ffe5bb1d24a2d9e66d8db1c3c6c083e3b2536 100644 (file)
@@ -2132,7 +2132,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: <code>A-Z</code>, <code>a-z</code>, <code>0-9</code> and <code>_</code>'));
+                       name = s2.option(form.Value, 'name', _('Name of the new network'),
+                               _('Name for OpenWrt network configuration. (No relation to wireless network name/SSID)') + '<br />' +
+                               _('The allowed characters are: <code>A-Z</code>, <code>a-z</code>, <code>0-9</code> and <code>_</code>'));
                        name.datatype = 'uciname';
                        name.default = 'wwan';
                        name.rmempty = false;