do not force syntax in string; in THIS room instead of in THE room
This commit is contained in:
parent
e5ba17617f
commit
3937363dad
|
@ -384,9 +384,10 @@ class GCTooltip(BaseTooltip):
|
||||||
properties.append((_('Resource: '),
|
properties.append((_('Resource: '),
|
||||||
gtkgui_helpers.escape_for_pango_markup(contact.resource) ))
|
gtkgui_helpers.escape_for_pango_markup(contact.resource) ))
|
||||||
if contact.affiliation != 'none':
|
if contact.affiliation != 'none':
|
||||||
affiliation = helpers.get_uf_affiliation(contact.affiliation) +\
|
uf_affiliation = helpers.get_uf_affiliation(contact.affiliation)
|
||||||
_(' of the room')
|
affiliation_str = _('%(owner_or_admin_or_member)s of this room') %\
|
||||||
properties.append((affiliation, None))
|
{'owner_or_admin_or_member': uf_affiliation}
|
||||||
|
properties.append((affiliation_str, None))
|
||||||
|
|
||||||
# Add avatar
|
# Add avatar
|
||||||
puny_name = helpers.sanitize_filename(contact.name)
|
puny_name = helpers.sanitize_filename(contact.name)
|
||||||
|
|
Loading…
Reference in New Issue