Better XEP-0184 warning text.

Thanks for doing my work, roidelapluie :)
This commit is contained in:
js 2008-08-09 16:14:07 +00:00
parent 559a8c8b13
commit 31ff68e67c

View file

@ -536,9 +536,10 @@ class ConversationTextview:
if xep0184_warning and not self.xep0184_warning_tooltip.win:
# check if the current pointer is still over the line
position = self.tv.window.get_origin()
self.xep0184_warning_tooltip.show_tooltip(_('This message '
'was not delivered'),
8, position[1] + pointer[1])
self.xep0184_warning_tooltip.show_tooltip(_('This icon indicates that '
'this message has not been delivered yet.\nIf this icon stays for '
"a long time, it's likely the message got lost."), 8,
position[1] + pointer[1])
def show_line_tooltip(self):
pointer = self.tv.get_pointer()