From af6867e638f5799085de7a02714cbf3220cefa93 Mon Sep 17 00:00:00 2001 From: linkmauve Date: Wed, 14 Feb 2018 00:43:33 +0100 Subject: [PATCH] improve @title on roster item (#1013) --- src/converse-rosterview.js | 3 +-- src/templates/roster_item.html | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/converse-rosterview.js b/src/converse-rosterview.js index 60b9d8dba..227291eb8 100644 --- a/src/converse-rosterview.js +++ b/src/converse-rosterview.js @@ -358,9 +358,8 @@ this.el.innerHTML = tpl_roster_item( _.extend(item.toJSON(), { 'desc_status': STATUSES[item.get('chat_status')||'offline'], - 'desc_chat': __('Click to chat with this contact'), + 'desc_chat': __('Click to chat with %1$s (JID: %2$s)', item.get('fullname'), item.get('jid')), 'desc_remove': __('Click to remove %1$s as a contact', item.get('fullname')), - 'title_fullname': __('Name'), 'allow_contact_removal': _converse.allow_contact_removal, 'num_unread': item.get('num_unread') || 0 }) diff --git a/src/templates/roster_item.html b/src/templates/roster_item.html index a62e431a2..279cbe445 100644 --- a/src/templates/roster_item.html +++ b/src/templates/roster_item.html @@ -1,5 +1,5 @@