fix some strings and pango escape nicks
This commit is contained in:
parent
ce6233814d
commit
dc2cbfe7cf
|
@ -392,7 +392,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
else:
|
else:
|
||||||
image = state_images[contact.show]
|
image = state_images[contact.show]
|
||||||
|
|
||||||
name = contact.name
|
name = gtkgui_helpers.escape_for_pango_markup(contact.name)
|
||||||
status = contact.status
|
status = contact.status
|
||||||
# add status msg, if not empty, under contact name in the treeview
|
# add status msg, if not empty, under contact name in the treeview
|
||||||
if status and gajim.config.get('show_status_msgs_in_roster'):
|
if status and gajim.config.get('show_status_msgs_in_roster'):
|
||||||
|
@ -810,7 +810,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
self.print_conversation(s, room_jid)
|
self.print_conversation(s, room_jid)
|
||||||
else:
|
else:
|
||||||
#%s is something the user wrote but it is not a jid so we inform
|
#%s is something the user wrote but it is not a jid so we inform
|
||||||
s = _('%s does not appear to be a JID') % invitee
|
s = _('%s does not appear to be a valid JID') % invitee
|
||||||
self.print_conversation(s, room_jid)
|
self.print_conversation(s, room_jid)
|
||||||
else:
|
else:
|
||||||
self.get_command_help(command)
|
self.get_command_help(command)
|
||||||
|
@ -838,7 +838,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
#%s is something the user wrote but it is not a jid so we inform
|
#%s is something the user wrote but it is not a jid so we inform
|
||||||
s = _('%s does not appear to be a JID') % message_array
|
s = _('%s does not appear to be a valid JID') % message_array
|
||||||
self.print_conversation(s, room_jid)
|
self.print_conversation(s, room_jid)
|
||||||
else:
|
else:
|
||||||
self.get_command_help(command)
|
self.get_command_help(command)
|
||||||
|
|
Loading…
Reference in New Issue