bluetooth: Replace "Not In Use" status string with "On"

If Bluetooth is on but there aren't connected devices, the status in the
menu reads "Not in Use". This is potentially confusing: it's a negative
statement, even though Bluetooth is on. It also sits uneasily (and looks
even more confusing) next to the submenu item "Turn Off".

Changing the string to "On" is better.

https://bugzilla.gnome.org/show_bug.cgi?id=756432
This commit is contained in:
Bastien Nocera 2016-10-12 07:33:21 +02:00
parent 70526a8025
commit 9c6e68f3e7

View File

@ -137,7 +137,7 @@ const Indicator = new Lang.Class({
else if (nConnectedDevices == -1) else if (nConnectedDevices == -1)
this._item.label.text = _("Off"); this._item.label.text = _("Off");
else else
this._item.label.text = _("Not In Use"); this._item.label.text = _("On");
this._toggleItem.label.text = this._proxy.BluetoothAirplaneMode ? _("Turn On") : _("Turn Off"); this._toggleItem.label.text = this._proxy.BluetoothAirplaneMode ? _("Turn On") : _("Turn Off");
}, },