[gnome-shell] status/bluetooth: Fix label for >1 connected devices
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] status/bluetooth: Fix label for >1 connected devices
- Date: Mon, 24 Aug 2020 15:44:00 +0000 (UTC)
commit ba804de15eea2979c06c2e30c0427a54b9ddbed4
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Aug 21 21:30:03 2020 +0200
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
js/ui/status/bluetooth.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
index 8510944f59..98ccc3d314 100644
--- a/js/ui/status/bluetooth.js
+++ b/js/ui/status/bluetooth.js
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]