2016-02-13 17:06:36 -06:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import wx
|
|
|
|
import application
|
|
|
|
|
|
|
|
def no_data_entered():
|
|
|
|
return wx.MessageDialog(None, _(u"You must provide Both user and password."), _(u"Information needed"), wx.ICON_ERROR).ShowModal()
|
|
|
|
|
|
|
|
def no_update_available():
|
2016-03-27 00:11:52 -06:00
|
|
|
return wx.MessageDialog(None, _(u"Your {0} version is up to date").format(application.name,), _(u"Update"), style=wx.OK).ShowModal()
|
|
|
|
|
|
|
|
def remove_buffer():
|
|
|
|
return wx.MessageDialog(None, _(u"Do you really want to dismiss this buffer?"), _(u"Attention"), style=wx.ICON_QUESTION|wx.YES_NO).ShowModal()
|