returnwx.MessageDialog(parent,_(u"Would you like to add a comment to this tweet?"),_("Retweet"),wx.YES_NO|wx.CANCEL|wx.ICON_QUESTION).ShowModal()
defdelete_tweet_dialog(parent):
returnwx.MessageDialog(parent,_(u"Do you really want to delete this message? It will be eliminated from Twitter as well."),_(u"Delete"),wx.ICON_QUESTION|wx.YES_NO).ShowModal()
wx.MessageDialog(None,_(u"The application requires to be restarted to save these changes. Press OK to do it now."),_("Restart TW Blue"),wx.OK).ShowModal()
defdelete_user_from_db():
returnwx.MessageDialog(None,_(u"Are you sure you want to delete this user from the database? This user will not appear on the autocomplete results anymore."),_(u"Confirm"),wx.YES_NO|wx.ICON_QUESTION).ShowModal()
defget_ignored_client():
entry=wx.TextEntryDialog(None,_(u"Enter the name of the client here"),_(u"Add a new ignored client"))
dlg=wx.MessageDialog(None,_(u"Do you really want to empty this buffer? It's items will be removed from the list but not from Twitter"),_(u"Empty buffer"),wx.ICON_QUESTION|wx.YES_NO)