Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv7623/Outlook2000/dialogs
Modified Files:
processors.py
Log Message:
Patch [ 1679610 ] Non localized error message
Index: processors.py
===================================================================
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/processors.py,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** processors.py 8 Feb 2004 02:14:48 -0000 1.15
--- processors.py 14 Mar 2007 00:46:41 -0000 1.16
***************
*** 80,92 ****
problem = self.window.manager.GetDisabledReason()
if problem:
! q = "There appears to be a problem with SpamBayes' configuration"
\
"\r\nIf you do not fix this problem, SpamBayes will be" \
! " disabled.\r\n\r\n" + problem + \
! "\r\n\r\nDo you wish to re-configure?"
if self.window.manager.AskQuestion(q):
return
win32gui.EndDialog(self.window.hwnd, id)
def GetPopupHelpText(self, ctrlid):
! return "Closes this dialog"
class CommandButtonProcessor(ButtonProcessor):
--- 80,92 ----
problem = self.window.manager.GetDisabledReason()
if problem:
! q = _("There appears to be a problem with SpamBayes'
configuration" \
"\r\nIf you do not fix this problem, SpamBayes will be" \
! " disabled.\r\n\r\n%s" \
! "\r\n\r\nDo you wish to re-configure?") % (problem,)
if self.window.manager.AskQuestion(q):
return
win32gui.EndDialog(self.window.hwnd, id)
def GetPopupHelpText(self, ctrlid):
! return _("Closes this dialog")
class CommandButtonProcessor(ButtonProcessor):
_______________________________________________
Spambayes-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/spambayes-checkins