Fix some spaces in strings

This commit is contained in:
Yann Leboulanger 2017-01-04 13:14:10 +01:00
parent 65362358a9
commit 7b8eec955c
2 changed files with 6 additions and 5 deletions

View File

@ -1078,6 +1078,7 @@ def get_notification_icon_tooltip_dict():
messages[jid], messages[jid], messages[jid]) messages[jid], messages[jid], messages[jid])
contact = gajim.contacts.get_first_contact_from_jid( contact = gajim.contacts.get_first_contact_from_jid(
account['name'], jid) account['name'], jid)
text += ' '
if jid in gajim.gc_connected[account['name']]: if jid in gajim.gc_connected[account['name']]:
text += _('from room %s') % (jid) text += _('from room %s') % (jid)
elif contact: elif contact:
@ -1099,7 +1100,7 @@ def get_notification_icon_tooltip_dict():
for jid in non_messages.keys(): for jid in non_messages.keys():
text = ngettext('%d event pending', '%d events pending', text = ngettext('%d event pending', '%d events pending',
non_messages[jid], non_messages[jid], non_messages[jid]) non_messages[jid], non_messages[jid], non_messages[jid])
text += _(' from user %s') % (jid) text += ' ' + _('from user %s') % (jid)
account[account]['event_lines'].append(text) account[account]['event_lines'].append(text)
return accounts return accounts