returnwx.MessageDialog(parent,_(u"This retweet is over 140 characters. Would you like to post it as a mention to the poster with your comments and a link to the original tweet?"),application.name,wx.YES_NO|wx.ICON_QUESTION).ShowModal()
returnwx.MessageDialog(parent,_(u"Do you really want to delete this message? It will be deleted from Twitter as well."),_(u"Delete"),wx.ICON_QUESTION|wx.YES_NO).ShowModal()
wx.MessageDialog(None,_(u"{0} must be restarted for these changes to take effect.").format(application.name,),_("Restart {0}").format(application.name,),wx.OK).ShowModal()
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)
returnwx.MessageDialog(None,_(u"Do you really want to delete this timeline?"),_(u"Attention"),style=wx.ICON_QUESTION|wx.YES_NO).ShowModal()
defuser_not_exist():
returnwx.MessageDialog(None,_(u"The user does not exist"),_(u"Error"),wx.ICON_ERROR).ShowModal()
deftimeline_exist():
returnwx.MessageDialog(None,_(u"There's currently a timeline for this user. You are not able to open another"),_(u"Existing timeline"),wx.ICON_ERROR).ShowModal()
defno_tweets():
returnwx.MessageDialog(None,_(u"This user has no tweets. You can't open a timeline for this user"),_(u"Error!"),wx.ICON_ERROR).ShowModal()
returnwx.MessageDialog(None,_(u"This is a protected Twitter user. It means you can not open a timeline using the Streaming API. The user's tweets will not update due to a twitter policy. Do you want to continue?"),_(u"Warning"),wx.ICON_WARNING|wx.YES_NO).ShowModal()
returnwx.MessageDialog(None,_(u"This is a protected user account, you need follow to this user for viewing your tweets or favourites."),_(u"Error"),wx.ICON_ERROR).ShowModal()