[polari] telepathyClient: Clarify title of msg notification
- From: Gitlab System User <gitlab src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] telepathyClient: Clarify title of msg notification
- Date: Thu, 19 Oct 2017 10:31:30 +0000 (UTC)
commit 1aaf1eee0ec8ca522905d1f150607ad8a4d9a9ed
Author: Daniel Boles <dboles src gnome org>
Date: Fri Aug 25 12:36:16 2017 +0100
telepathyClient: Clarify title of msg notification
If Dennis messaged you from #room, the title was:
room Dennis
It seems clearer and more grammatical to say
Dennis in room
https://bugzilla.gnome.org/show_bug.cgi?id=786709
src/telepathyClient.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/telepathyClient.js b/src/telepathyClient.js
index ccf20d9..0b11e9a 100644
--- a/src/telepathyClient.js
+++ b/src/telepathyClient.js
@@ -598,7 +598,9 @@ var TelepathyClient = new Lang.Class({
if (!room.should_highlight_message(nick, text))
return;
- let summary = '%s %s'.format(room.display_name, nick);
+ /* Translators: This is the title of the notification announcing a newly
+ received message, in the form "user-nickname in room-display-name" */
+ let summary = _('%s in %s').format(nick, room.display_name);
let notification = this._createNotification(room, summary, text);
this._app.send_notification(this._getPendingNotificationID(room, id), notification);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]