From 940f06fb3243fdf144fa6c59fe0346fb1f4446ec Mon Sep 17 00:00:00 2001 From: Luca Ferretti Date: Wed, 9 Feb 2011 23:08:02 +0100 Subject: [PATCH] bluetooth: remove weird "Agent" word from notification (close #637687) Agents are an implementation detail of Bluetooth on Linux (it's actually a D-Bus "agent", not a Bluetooth one anyway). Only "Bluetooth" is fine. --- js/ui/status/bluetooth.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 2220d2520..2926f9739 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -334,7 +334,7 @@ Source.prototype = { __proto__: MessageTray.Source.prototype, _init: function() { - MessageTray.Source.prototype._init.call(this, _("Bluetooth Agent")); + MessageTray.Source.prototype._init.call(this, _("Bluetooth")); this._setSummaryIcon(this.createNotificationIcon()); }, @@ -368,7 +368,7 @@ AuthNotification.prototype = { _init: function(source, applet, device_path, name, long_name, uuid) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Authorization request from %s").format(name), { customContent: true }); this.setResident(true); @@ -408,7 +408,7 @@ ConfirmNotification.prototype = { _init: function(source, applet, device_path, name, long_name, pin) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Pairing confirmation for %s").format(name), { customContent: true }); this.setResident(true); @@ -441,7 +441,7 @@ PinNotification.prototype = { _init: function(source, applet, device_path, name, long_name, numeric) { MessageTray.Notification.prototype._init.call(this, source, - _("Bluetooth Agent"), + _("Bluetooth"), _("Pairing request for %s").format(name), { customContent: true }); this.setResident(true);