add: configration invalid error dialog

This commit is contained in:
guredora
2021-01-24 11:05:49 +09:00
parent abdde4c1f0
commit 0e4b133858
2 changed files with 6 additions and 1 deletions

View File

@@ -92,4 +92,7 @@ def common_error(reason):
return wx.MessageDialog(None, reason, _(u"Error"), wx.OK).ShowModal()
def dead_pid():
return wx.MessageDialog(None, _(u"{0} quit unexpectedly the last time it was run. If the problem persists, please report it to the {0} developers.").format(application.name), _(u"Warning"), wx.OK).ShowModal()
return wx.MessageDialog(None, _(u"{0} quit unexpectedly the last time it was run. If the problem persists, please report it to the {0} developers.").format(application.name), _(u"Warning"), wx.OK).ShowModal()
def invalid_configration():
return wx.MessageDialog(None, _(u"The configuration file is invalid."), _(u"Error"), wx.OK).ShowModal()