diff options
author | Evan Benn <evan.benn@morsemicro.com> | 2023-12-08 12:02:33 +1100 |
---|---|---|
committer | Evan Benn <evan.benn@morsemicro.com> | 2023-12-15 09:11:10 +1100 |
commit | 22101eb50af976f5f026b76079d37cb756c7425a (patch) | |
tree | 041243fb7e5874fd01fb9fb956779566d4b6b7db /modules/luci-compat/luasrc/model/network.lua | |
parent | ab95f8a61835376e670a04d8995212959540d0ad (diff) |
luci-base: Make uci mode strings match iwinfo mode strings
uci mesh was being displayed as 'Mesh', while iwinfo mesh was being
reported as 'Mesh Point'. Unify those. Update getActiveModeI18n to deal
with all the values iwinfo returns. Fix the incorrect 'Mash'
translation.
Signed-off-by: Evan Benn <evan.benn@morsemicro.com>
Diffstat (limited to 'modules/luci-compat/luasrc/model/network.lua')
-rw-r--r-- | modules/luci-compat/luasrc/model/network.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-compat/luasrc/model/network.lua b/modules/luci-compat/luasrc/model/network.lua index b9ef19b171..1c25f899da 100644 --- a/modules/luci-compat/luasrc/model/network.lua +++ b/modules/luci-compat/luasrc/model/network.lua @@ -1761,7 +1761,7 @@ function wifinet.active_mode(self) if m == "ap" then m = "Master" elseif m == "sta" then m = "Client" elseif m == "adhoc" then m = "Ad-Hoc" - elseif m == "mesh" then m = "Mesh" + elseif m == "mesh" then m = "Mesh Point" elseif m == "monitor" then m = "Monitor" end |