From e0408faf71dd9d1ad08d595bd40c2f9dd06b3b21 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 4 Feb 2023 20:31:58 -0300 Subject: [PATCH] status/network: Title bluetooth connections as "Tether" As per the latest mockups, Bluetooth network connections are simply labeled "Tether". Override _getDefaultName in NMBluetoothToggle and always return "Tether" as title. Part-of: --- js/ui/status/network.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/ui/status/network.js b/js/ui/status/network.js index 2fa08cca9..776f1ad8e 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1836,6 +1836,11 @@ class NMBluetoothToggle extends NMDeviceToggle { 'gnome-network-panel.desktop'); } + _getDefaultName() { + // Translators: "Tether" from "Bluetooth Tether" + return _('Tether'); + } + _createDeviceMenuItem(device) { return new NMBluetoothDeviceItem(this._client, device); }