mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update luci-base to latest version
This commit is contained in:
parent
75c70fa721
commit
b108aa9789
39 changed files with 2518 additions and 693 deletions
|
@ -1273,7 +1273,7 @@ function interface.get_i18n(self)
|
|||
return "%s: %s %q" %{
|
||||
lng.translate("Wireless Network"),
|
||||
self.wif:active_mode(),
|
||||
self.wif:active_ssid() or self.wif:active_bssid() or self.wif:id()
|
||||
self.wif:active_ssid() or self.wif:active_bssid() or self.wif:id() or "?"
|
||||
}
|
||||
else
|
||||
return "%s: %q" %{ self:get_type_i18n(), self:name() }
|
||||
|
@ -1428,7 +1428,7 @@ function wifidev.hwmodes(self)
|
|||
end
|
||||
|
||||
function wifidev.get_i18n(self)
|
||||
local t = "Generic"
|
||||
local t = self.iwinfo.hardware_name or "Generic"
|
||||
if self.iwinfo.type == "wl" then
|
||||
t = "Broadcom"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue