status/network: Title mobile connections as "Mobile"
As per the latest mockups, modem network connections are labeled "Mobile". Override _getDefaultName in NMModemToggle and always return "Mobile" as title. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2619>
This commit is contained in:
parent
e0408faf71
commit
2d4521be3b
@ -1860,6 +1860,11 @@ class NMModemToggle extends NMDeviceToggle {
|
||||
'gnome-network-panel.desktop');
|
||||
}
|
||||
|
||||
_getDefaultName() {
|
||||
// Translators: "Mobile" from "Mobile Broadband"
|
||||
return _('Mobile');
|
||||
}
|
||||
|
||||
_createDeviceMenuItem(device) {
|
||||
return new NMModemDeviceItem(this._client, device);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user