fix a string
This commit is contained in:
parent
030f77983b
commit
f69c456b4d
|
@ -124,7 +124,7 @@ class Tabbed_chat_window(chat.Chat):
|
||||||
for jid in self.users:
|
for jid in self.users:
|
||||||
if time.time() - self.last_message_time[jid] < 2: # 2 seconds
|
if time.time() - self.last_message_time[jid] < 2: # 2 seconds
|
||||||
dialog = dialogs.Confirmation_dialog(
|
dialog = dialogs.Confirmation_dialog(
|
||||||
_('You have an unread message from "%s"' % jid),
|
_('You have an unread message from "%s" in the last two seconds' % jid),
|
||||||
_('If you close the window, this message will be lost.'))
|
_('If you close the window, this message will be lost.'))
|
||||||
if dialog.get_response() != gtk.RESPONSE_OK:
|
if dialog.get_response() != gtk.RESPONSE_OK:
|
||||||
return True #stop the propagation of the event
|
return True #stop the propagation of the event
|
||||||
|
|
Loading…
Reference in New Issue