Generalization.

This commit is contained in:
Bill Dengler 2015-05-02 18:22:23 -04:00
parent 036edb6c28
commit 0f6b3491f8

View File

@ -12,7 +12,7 @@ def exit_dialog(parent):
return dlg.ShowModal()
def needs_restart():
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()
wx.MessageDialog(None, _(unicode(application.name) + u" must be restarted for these changes to take effect."), _("Restart " + application.name), wx.OK).ShowModal()
def delete_user_from_db():
return wx.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()