status/bluetooth: Fix label for >1 connected devices

Eeeks, we want two strings here, not one with embedded double quotes.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3073
This commit is contained in:
Florian Müllner 2020-08-21 21:30:03 +02:00 committed by Florian Müllner
parent 093603b35e
commit ba804de15e

View File

@ -145,7 +145,7 @@ class Indicator extends PanelMenu.SystemIndicator {
if (nConnectedDevices > 1)
/* Translators: this is the number of connected bluetooth devices */
this._item.label.text = ngettext('%d Connected", "%d Connected', nConnectedDevices).format(nConnectedDevices);
this._item.label.text = ngettext('%d Connected', '%d Connected', nConnectedDevices).format(nConnectedDevices);
else if (nConnectedDevices === 1)
this._item.label.text = connectedDevices[0].name;
else if (adapter === null)