Skip to content
Snippets Groups Projects
Commit 3937363d authored by nkour's avatar nkour
Browse files

do not force syntax in string; in THIS room instead of in THE room

parent e5ba1761
No related branches found
No related tags found
No related merge requests found
......@@ -384,9 +384,10 @@ class GCTooltip(BaseTooltip):
properties.append((_('Resource: '),
gtkgui_helpers.escape_for_pango_markup(contact.resource) ))
if contact.affiliation != 'none':
affiliation = helpers.get_uf_affiliation(contact.affiliation) +\
_(' of the room')
properties.append((affiliation, None))
uf_affiliation = helpers.get_uf_affiliation(contact.affiliation)
affiliation_str = _('%(owner_or_admin_or_member)s of this room') %\
{'owner_or_admin_or_member': uf_affiliation}
properties.append((affiliation_str, None))
# Add avatar
puny_name = helpers.sanitize_filename(contact.name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment