From anadelonbrin at users.sourceforge.net Fri Apr 1 06:11:25 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 1 06:11:27 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_filter.py,1.16,1.17 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19005/scripts Modified Files: sb_filter.py Log Message: When training, have sb_filter honour the Headers:include_trained option. This means that the output of sb_filter will only include the X-Spambayes-Trained header if that option is set to true (like sb_mboxtrain). As the default value for that option is true, default behaviour is unchanged. Index: sb_filter.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_filter.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** sb_filter.py 23 Dec 2004 18:14:18 -0000 1.16 --- sb_filter.py 1 Apr 2005 04:11:22 -0000 1.17 *************** *** 184,193 **** def train_ham(self, msg): self.open('c') ! self.h.train_ham(msg, True) self.h.store() def train_spam(self, msg): self.open('c') ! self.h.train_spam(msg, True) self.h.store() --- 184,193 ---- def train_ham(self, msg): self.open('c') ! self.h.train_ham(msg, Options.options["Headers", "include_trained"]) self.h.store() def train_spam(self, msg): self.open('c') ! self.h.train_spam(msg, Options.options["Headers", "include_trained"]) self.h.store() From anadelonbrin at users.sourceforge.net Mon Apr 4 01:31:11 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Mon Apr 4 01:31:14 2005 Subject: [Spambayes-checkins] spambayes/spambayes tokenizer.py,1.34,1.35 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22883/spambayes Modified Files: tokenizer.py Log Message: Fix [ 1175439 ] UnicodeEncodeError raised for bogus Content-Type header If the content-type header is particularly bad, a UnicodeEncodeError could be raised in tokenizer, which would stop classification. If the exception is raised, catch it and yield a token instead. Index: tokenizer.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/tokenizer.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** tokenizer.py 21 Jan 2005 04:41:40 -0000 1.34 --- tokenizer.py 3 Apr 2005 23:30:54 -0000 1.35 *************** *** 828,834 **** yield 'content-type/type:' + x.lower() ! for x in msg.get_charsets(None): ! if x is not None: ! yield 'charset:' + x.lower() x = msg.get('content-disposition') --- 828,840 ---- yield 'content-type/type:' + x.lower() ! try: ! for x in msg.get_charsets(None): ! if x is not None: ! yield 'charset:' + x.lower() ! except UnicodeEncodeError: ! # Bad messages can cause an exception here. ! # See [ 1175439 ] UnicodeEncodeError raised for bogus Content-Type ! # header ! yield 'charset:invalid_unicode' x = msg.get('content-disposition') From anadelonbrin at users.sourceforge.net Tue Apr 5 07:46:41 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Tue Apr 5 07:46:44 2005 Subject: [Spambayes-checkins] spambayes/windows spambayes.iss,1.21,1.22 Message-ID: Update of /cvsroot/spambayes/spambayes/windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1957/windows Modified Files: spambayes.iss Log Message: Uncomment mscvr71.dll line. imapfilter should run with -l, or it will only run on login. Index: spambayes.iss =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/spambayes.iss,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** spambayes.iss 29 Mar 2005 06:57:29 -0000 1.21 --- spambayes.iss 5 Apr 2005 05:46:38 -0000 1.22 *************** *** 24,28 **** ; Needed when built with Python 2.4. This must be manually copied to this directory ; from wherever it is being sourced from. ! ; Source: "py2exe\dist\bin\msvcr71.dll"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "py2exe\dist\bin\outlook_addin.dll"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion --- 24,28 ---- ; Needed when built with Python 2.4. This must be manually copied to this directory ; from wherever it is being sourced from. ! Source: "py2exe\dist\bin\msvcr71.dll"; DestDir: "{app}\bin"; Flags: ignoreversion Source: "py2exe\dist\bin\outlook_addin.dll"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion *************** *** 72,76 **** Name: "{group}\SpamBayes IMAP Filter Web Interface"; Filename: "{app}\sb_imapfilter.exe"; Parameters: "-b"; Check: InstallingIMAP; ! Name: "{userstartup}\SpamBayes IMAP Filter"; Filename: "{app}\bin\sb_imapfilter.exe"; Parameters: "-c -t"; Check: StartupIMAP; Name: "{group}\SpamBayes Outlook Addin\About SpamBayes"; Filename: "{app}\docs\outlook\about.html"; Check: InstallingOutlook; --- 72,76 ---- Name: "{group}\SpamBayes IMAP Filter Web Interface"; Filename: "{app}\sb_imapfilter.exe"; Parameters: "-b"; Check: InstallingIMAP; ! Name: "{userstartup}\SpamBayes IMAP Filter"; Filename: "{app}\bin\sb_imapfilter.exe"; Parameters: "-c -t -l 10"; Check: StartupIMAP; Name: "{group}\SpamBayes Outlook Addin\About SpamBayes"; Filename: "{app}\docs\outlook\about.html"; Check: InstallingOutlook; From anadelonbrin at users.sourceforge.net Wed Apr 6 04:37:20 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:37:23 2005 Subject: [Spambayes-checkins] spambayes/spambayes Options.py,1.122,1.123 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3065/spambayes Modified Files: Options.py Log Message: Update docstring. Index: Options.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/Options.py,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** Options.py 14 Feb 2005 06:10:45 -0000 1.122 --- Options.py 6 Apr 2005 02:37:17 -0000 1.123 *************** *** 692,699 **** ("include_trained", _("Add trained header"), True, ! _("""sb_mboxtrain.py can add a header that details how a message was ! trained, which lets you keep track of it, and appropriately ! re-train messages. However, if you would rather mboxtrain didn't ! rewrite the message files, you can disable this option."""), BOOLEAN, RESTORE), --- 692,700 ---- ("include_trained", _("Add trained header"), True, ! _("""sb_mboxtrain.py and sb_filter.py can add a header that details ! how a message was trained, which lets you keep track of it, and ! appropriately re-train messages. However, if you would rather ! mboxtrain/sb_filter didn't rewrite the message files, you can disable ! this option."""), BOOLEAN, RESTORE), From anadelonbrin at users.sourceforge.net Wed Apr 6 04:38:22 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:38:25 2005 Subject: [Spambayes-checkins] spambayes/spambayes ProxyUI.py,1.60,1.61 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3305/spambayes Modified Files: ProxyUI.py Log Message: Record training in session statistics. Index: ProxyUI.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** ProxyUI.py 28 Jan 2005 01:27:59 -0000 1.60 --- ProxyUI.py 6 Apr 2005 02:38:20 -0000 1.61 *************** *** 384,392 **** for key, value in params.items(): if key.startswith('classify:'): ! id = key.split(':')[2] if value == _('spam'): targetCorpus = state.spamCorpus elif value == _('ham'): targetCorpus = state.hamCorpus elif value == _('discard'): targetCorpus = None --- 384,394 ---- for key, value in params.items(): if key.startswith('classify:'): ! old_class, id = key.split(':')[1:3] if value == _('spam'): targetCorpus = state.spamCorpus + stats_as_ham = False elif value == _('ham'): targetCorpus = state.hamCorpus + stats_as_ham = True elif value == _('discard'): targetCorpus = None *************** *** 417,420 **** --- 419,424 ---- self.flush() numTrained += 1 + self.stats.RecordTraining(\ + stats_as_ham, old_class=old_class) except KeyError: pass # Must be a reload. From anadelonbrin at users.sourceforge.net Wed Apr 6 04:39:55 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:39:57 2005 Subject: [Spambayes-checkins] spambayes/spambayes UserInterface.py, 1.55, 1.56 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3602/spambayes Modified Files: UserInterface.py Log Message: Write preamble as soon as possible, to get something displayed. When using upload box, should be recording training, not classifying. When using upload box, add to session statistics. Index: UserInterface.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/UserInterface.py,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** UserInterface.py 16 Mar 2005 22:36:33 -0000 1.55 --- UserInterface.py 6 Apr 2005 02:39:53 -0000 1.56 *************** *** 281,289 **** def onClassify(self, file, text, which): """Classify an uploaded or pasted message.""" message = file or text message = message.replace('\r\n', '\n').replace('\r', '\n') # For Macs results = self._buildCluesTable(message) results.classifyAnother = self._buildClassifyBox() - self._writePreamble(_("Classify")) self.write(results) self._writePostamble() --- 281,292 ---- def onClassify(self, file, text, which): """Classify an uploaded or pasted message.""" + # XXX This doesn't get recorded in the session counts + # XXX for messages classified. That seems right to me (Tony), + # XXX but is easily changed if it isn't. + self._writePreamble(_("Classify")) message = file or text message = message.replace('\r\n', '\n').replace('\r', '\n') # For Macs results = self._buildCluesTable(message) results.classifyAnother = self._buildClassifyBox() self.write(results) self._writePostamble() *************** *** 542,546 **** msg = factory.create(key, message) corpus.addMessage(msg) ! msg.RememberClassification(isSpam) # Save the database and return a link Home and another training --- 545,550 ---- msg = factory.create(key, message) corpus.addMessage(msg) ! msg.RememberTrained(isSpam) ! self.stats.RecordTraining(not isSpam) # Save the database and return a link Home and another training From anadelonbrin at users.sourceforge.net Wed Apr 6 04:42:07 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:42:09 2005 Subject: [Spambayes-checkins] spambayes/spambayes Stats.py,1.15,1.16 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4161/spambayes Modified Files: Stats.py Log Message: Allow the RecordTraining method to be given the old class as a string as well as as a score. Index: Stats.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/Stats.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** Stats.py 20 Jan 2005 03:47:42 -0000 1.15 --- Stats.py 6 Apr 2005 02:42:04 -0000 1.16 *************** *** 78,81 **** --- 78,82 ---- def RecordClassification(self, score): + """Record that a message has been classified this session.""" if score >= self.options["Categorization", "spam_cutoff"]: self.num_spam += 1 *************** *** 85,94 **** self.num_ham += 1 ! def RecordTraining(self, as_ham, old_score): if as_ham: self.num_trained_ham += 1 # If we are recovering an item that is in the "spam" threshold, # then record it as a "false positive" ! if old_score > self.options["Categorization", "spam_cutoff"]: self.num_trained_ham_fp += 1 else: --- 86,108 ---- self.num_ham += 1 ! def RecordTraining(self, as_ham, old_score=None, old_class=None): ! """Record that a message has been trained this session. ! ! If old_score and old_class are None, then the message had not ! previously been trained (e.g. using the "Train" box on the web ! interface), and so cannot be considered a fp or fn). ! ! If both old_score and old_class are specified, old_score is used. ! """ ! # XXX Why, oh why, does this function have as_ham, when every ! # XXX other function has isSpam??? if as_ham: self.num_trained_ham += 1 # If we are recovering an item that is in the "spam" threshold, # then record it as a "false positive" ! if old_score is not None and \ ! old_score > self.options["Categorization", "spam_cutoff"]: ! self.num_trained_ham_fp += 1 ! elif old_class == self.options["Headers", "header_spam_string"]: self.num_trained_ham_fp += 1 else: *************** *** 96,100 **** # If we are deleting as Spam an item that was in our "good" # range, then record it as a false negative. ! if old_score < self.options["Categorization", "ham_cutoff"]: self.num_trained_spam_fn += 1 --- 110,117 ---- # If we are deleting as Spam an item that was in our "good" # range, then record it as a false negative. ! if old_score is not None and \ ! old_score < self.options["Categorization", "ham_cutoff"]: ! self.num_trained_spam_fn += 1 ! elif old_class == self.options["Headers", "header_ham_string"]: self.num_trained_spam_fn += 1 From anadelonbrin at users.sourceforge.net Wed Apr 6 04:42:07 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:42:12 2005 Subject: [Spambayes-checkins] spambayes/spambayes/test test_stats.py, 1.3, 1.4 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4161/spambayes/test Modified Files: test_stats.py Log Message: Allow the RecordTraining method to be given the old class as a string as well as as a score. Index: test_stats.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/test/test_stats.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_stats.py 20 Jan 2005 03:42:10 -0000 1.3 --- test_stats.py 6 Apr 2005 02:42:05 -0000 1.4 *************** *** 96,99 **** --- 96,123 ---- self.assertEqual(self.s.num_trained_spam_fn, 1) + def test_record_fp_class(self): + self.s.RecordTraining(True, + old_class=options["Headers", + "header_spam_string"]) + self.assertEqual(self.s.num_trained_ham, 1) + self.assertEqual(self.s.num_trained_ham_fp, 1) + + def test_record_fn_class(self): + self.s.RecordTraining(False, + old_class=options["Headers", + "header_ham_string"]) + self.assertEqual(self.s.num_trained_spam, 1) + self.assertEqual(self.s.num_trained_spam_fn, 1) + + def test_no_record_fp(self): + self.s.RecordTraining(True) + self.assertEqual(self.s.num_trained_ham, 1) + self.assertEqual(self.s.num_trained_ham_fp, 0) + + def test_no_record_fn(self): + self.s.RecordTraining(False) + self.assertEqual(self.s.num_trained_spam, 1) + self.assertEqual(self.s.num_trained_spam_fn, 0) + def test_record_train_spam(self): self.s.RecordTraining(False, 1.0) From anadelonbrin at users.sourceforge.net Wed Apr 6 04:47:12 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:47:14 2005 Subject: [Spambayes-checkins] spambayes MANIFEST.in,1.11,1.12 Message-ID: Update of /cvsroot/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5284 Modified Files: MANIFEST.in Log Message: Include the languages directory in the distribution. Index: MANIFEST.in =================================================================== RCS file: /cvsroot/spambayes/spambayes/MANIFEST.in,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** MANIFEST.in 29 Mar 2005 03:38:33 -0000 1.11 --- MANIFEST.in 6 Apr 2005 02:47:10 -0000 1.12 *************** *** 9,11 **** --- 9,12 ---- recursive-include testtools *.py *.txt *.sh recursive-include windows *.py *.txt *.h *.rc *.ico *.html *.iss + recursive-include languages *.py *.html *.rc include *.txt *.py MANIFEST.in *.sh From anadelonbrin at users.sourceforge.net Wed Apr 6 04:48:35 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:48:38 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_imapfilter.py,1.56,1.57 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5523/scripts Modified Files: sb_imapfilter.py Log Message: Record session statistics. Index: sb_imapfilter.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_imapfilter.py,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** sb_imapfilter.py 29 Mar 2005 07:18:30 -0000 1.56 --- sb_imapfilter.py 6 Apr 2005 02:48:33 -0000 1.57 *************** *** 720,726 **** class IMAPFolder(object): ! def __init__(self, folder_name, imap_server): self.name = folder_name self.imap_server = imap_server # Unique names for cached messages - see _generate_id below. --- 720,727 ---- class IMAPFolder(object): ! def __init__(self, folder_name, imap_server, stats): self.name = folder_name self.imap_server = imap_server + self.stats = stats # Unique names for cached messages - see _generate_id below. *************** *** 838,841 **** --- 839,846 ---- msg.delSBHeaders() classifier.unlearn(msg.tokenize(), not isSpam) + if isSpam: + old_class = options["Headers", "header_ham_string"] + else: + old_class = options["Headers", "header_spam_string"] # Once the message has been untrained, it's training memory *************** *** 843,846 **** --- 848,853 ---- # reason the training breaks. msg.RememberTrained(None) + else: + old_class = None if msg.GetTrained() is None: *************** *** 853,856 **** --- 860,864 ---- num_trained += 1 msg.RememberTrained(isSpam) + self.stats.RecordTraining(not isSpam, old_class=old_class) if isSpam: move_opt_name = "move_trained_spam_to_folder" *************** *** 862,866 **** msg[header] = value msg.MoveTo(IMAPFolder(options["imap", move_opt_name], ! self.imap_server)) msg.Save() return num_trained --- 870,874 ---- msg[header] = value msg.MoveTo(IMAPFolder(options["imap", move_opt_name], ! self.imap_server, self.stats)) msg.Save() return num_trained *************** *** 886,889 **** --- 894,898 ---- msg.delSBHeaders() msg.addSBHeaders(prob, clues) + self.stats.RecordClassification(prob) cls = msg.GetClassification() *************** *** 904,908 **** class IMAPFilter(object): ! def __init__(self, classifier): self.spam_folder = None self.unsure_folder = None --- 913,917 ---- class IMAPFilter(object): ! def __init__(self, classifier, stats): self.spam_folder = None self.unsure_folder = None *************** *** 910,913 **** --- 919,923 ---- self.classifier = classifier self.imap_server = None + self.stats = stats def Train(self): *************** *** 932,936 **** print " Training %s folder %s" % \ (["ham", "spam"][is_spam], fol) ! folder = IMAPFolder(fol, self.imap_server) num_trained = folder.Train(self.classifier, is_spam) total_trained += num_trained --- 942,946 ---- print " Training %s folder %s" % \ (["ham", "spam"][is_spam], fol) ! folder = IMAPFolder(fol, self.imap_server, self.stats) num_trained = folder.Train(self.classifier, is_spam) total_trained += num_trained *************** *** 949,960 **** if not self.spam_folder: self.spam_folder = IMAPFolder(options["imap", "spam_folder"], ! self.imap_server) if not self.unsure_folder: self.unsure_folder = IMAPFolder(options["imap", "unsure_folder"], ! self.imap_server) ham_folder_name = options["imap", "ham_folder"] if ham_folder_name and not self.ham_folder: ! self.ham_folder = IMAPFolder(ham_folder_name, self.imap_server) if options["globals", "verbose"]: --- 959,971 ---- if not self.spam_folder: self.spam_folder = IMAPFolder(options["imap", "spam_folder"], ! self.imap_server, self.stats) if not self.unsure_folder: self.unsure_folder = IMAPFolder(options["imap", "unsure_folder"], ! self.imap_server, self.stats) ham_folder_name = options["imap", "ham_folder"] if ham_folder_name and not self.ham_folder: ! self.ham_folder = IMAPFolder(ham_folder_name, self.imap_server, ! self.stats) if options["globals", "verbose"]: *************** *** 992,996 **** continue ! folder = IMAPFolder(filter_folder, self.imap_server) subcount = folder.Filter(self.classifier, self.spam_folder, self.unsure_folder, self.ham_folder) --- 1003,1007 ---- continue ! folder = IMAPFolder(filter_folder, self.imap_server, self.stats) subcount = folder.Filter(self.classifier, self.spam_folder, self.unsure_folder, self.ham_folder) *************** *** 1090,1094 **** servers_data.append((server, port, username, password)) ! imap_filter = IMAPFilter(classifier) # Web interface. We have changed the rules about this many times. --- 1101,1108 ---- servers_data.append((server, port, username, password)) ! # Load stats manager. ! stats = Stats.Stats(options, message_db) ! ! imap_filter = IMAPFilter(classifier, stats) # Web interface. We have changed the rules about this many times. *************** *** 1112,1118 **** imaps.append(IMAPSession(server, port, imapDebug, doExpunge)) - # Load stats manager. - stats = Stats.Stats(options, message_db) - httpServer = UserInterfaceServer(options["html_ui", "port"]) httpServer.register(IMAPUserInterface(classifier, imaps, pwds, --- 1126,1129 ---- From anadelonbrin at users.sourceforge.net Wed Apr 6 04:49:26 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 04:49:28 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_server.py,1.42,1.43 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5703/scripts Modified Files: sb_server.py Log Message: Record session statistics correctly. Index: sb_server.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** sb_server.py 9 Mar 2005 01:58:09 -0000 1.42 --- sb_server.py 6 Apr 2005 02:49:23 -0000 1.43 *************** *** 570,579 **** len(args) == 2 and args[1] == '99999999')): cls = msg.GetClassification() ! if cls == options["Headers", "header_ham_string"]: ! state.numHams += 1 ! elif cls == options["Headers", "header_spam_string"]: ! state.numSpams += 1 ! else: ! state.numUnsure += 1 # Suppress caching of "Precedence: bulk" or --- 570,574 ---- len(args) == 2 and args[1] == '99999999')): cls = msg.GetClassification() ! state.RecordClassification(cls, prob) # Suppress caching of "Precedence: bulk" or *************** *** 931,934 **** --- 926,945 ---- return messageName + def RecordClassification(self, cls, score): + """Record the classification in the session statistics. + + cls should match one of the options["Headers", "header_*_string"] + values. + + score is the score the message received. + """ + if cls == options["Headers", "header_ham_string"]: + self.numHams += 1 + elif cls == options["Headers", "header_spam_string"]: + self.numSpams += 1 + else: + self.numUnsure += 1 + self.stats.RecordClassification(score) + # Option-parsing helper functions From anadelonbrin at users.sourceforge.net Wed Apr 6 05:06:53 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 05:06:56 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000 msgstore.py,1.99,1.100 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9517/Outlook2000 Modified Files: msgstore.py Log Message: Add a faked up Received header if the only headers are MS Mail Internet Transport ones and it doesn't already have one. This can be tokenized, but, more importantly, makes it easier to work with the incremental training setup. Index: msgstore.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/msgstore.py,v retrieving revision 1.99 retrieving revision 1.100 diff -C2 -d -r1.99 -r1.100 *** msgstore.py 29 Dec 2004 06:22:31 -0000 1.99 --- msgstore.py 6 Apr 2005 03:06:51 -0000 1.100 *************** *** 916,924 **** # headers - fake some up. if not headers: ! headers = self._GetFakeHeaders () # Mail delivered via the Exchange Internet Mail MTA may have # gibberish at the start of the headers - fix this. elif headers.startswith("Microsoft Mail"): headers = "X-MS-Mail-Gibberish: " + headers if not html and not body: --- 916,933 ---- # headers - fake some up. if not headers: ! headers = self._GetFakeHeaders() # Mail delivered via the Exchange Internet Mail MTA may have # gibberish at the start of the headers - fix this. elif headers.startswith("Microsoft Mail"): headers = "X-MS-Mail-Gibberish: " + headers + # This mail typically doesn't have a Received header, which + # is a real PITA for running the incremental testing setup. + # To make life easier, we add in the fake one that the message + # would have got if it had had no headers at all. + if headers.find("Received:") == -1: + prop_ids = PR_MESSAGE_DELIVERY_TIME + hr, data = self.mapi_object.GetProps(prop_ids, 0) + value = self._format_received(data[0][1]) + headers = "Received: %s\n%s" % (value, headers) if not html and not body: From anadelonbrin at users.sourceforge.net Wed Apr 6 06:06:39 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 06:06:42 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_server.py,1.43,1.44 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24212/scripts Modified Files: sb_server.py Log Message: Fix [ 1176998 ] sb_server ignores parameter -l The -l parameter didn't work, as outlined in the tracker. Also improved it to handle multiple port numbers (separated with commas) so it can be used even with multiple servers. Not sure if we really need this option (-o pop3proxy:listen_ports:port_number would do the same thing), but since it's there it might as well work! Index: sb_server.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** sb_server.py 6 Apr 2005 02:49:23 -0000 1.43 --- sb_server.py 6 Apr 2005 04:06:36 -0000 1.44 *************** *** 741,745 **** self.servers = [] - self.proxyPorts = [] if options["pop3proxy", "remote_servers"]: for server in options["pop3proxy", "remote_servers"]: --- 741,744 ---- *************** *** 751,757 **** self.servers.append((server, int(port))) ! if options["pop3proxy", "listen_ports"]: ! splitPorts = options["pop3proxy", "listen_ports"] ! self.proxyPorts = map(_addressAndPort, splitPorts) if len(self.servers) != len(self.proxyPorts): --- 750,759 ---- self.servers.append((server, int(port))) ! if not hasattr(self, "proxyPorts"): ! # Could have already been set via the command line. ! self.proxyPorts = [] ! if options["pop3proxy", "listen_ports"]: ! splitPorts = options["pop3proxy", "listen_ports"] ! self.proxyPorts = map(_addressAndPort, splitPorts) if len(self.servers) != len(self.proxyPorts): *************** *** 1054,1058 **** # below, in case you are wondering why they are missing. elif opt == '-l': ! state.proxyPorts = [_addressAndPort(arg)] elif opt == '-u': state.uiPort = int(arg) --- 1056,1060 ---- # below, in case you are wondering why they are missing. elif opt == '-l': ! state.proxyPorts = [_addressAndPort(a) for a in arg.split(',')] elif opt == '-u': state.uiPort = int(arg) From anadelonbrin at users.sourceforge.net Wed Apr 6 06:13:44 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 6 06:13:47 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_server.py,1.44,1.45 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25946/scripts Modified Files: sb_server.py Log Message: Specifying a server on the command line didn't work either, so fix that. If one is specified, it is the *only* server that is run (i.e. any in the options are ignored). Index: sb_server.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** sb_server.py 6 Apr 2005 04:06:36 -0000 1.44 --- sb_server.py 6 Apr 2005 04:13:41 -0000 1.45 *************** *** 740,752 **** self.logFile = open('_pop3proxy.log', 'wb', 0) ! self.servers = [] ! if options["pop3proxy", "remote_servers"]: ! for server in options["pop3proxy", "remote_servers"]: ! server = server.strip() ! if server.find(':') > -1: ! server, port = server.split(':', 1) ! else: ! port = '110' ! self.servers.append((server, int(port))) if not hasattr(self, "proxyPorts"): --- 740,754 ---- self.logFile = open('_pop3proxy.log', 'wb', 0) ! if not hasattr(self, "servers"): ! # Could have already been set via the command line. ! self.servers = [] ! if options["pop3proxy", "remote_servers"]: ! for server in options["pop3proxy", "remote_servers"]: ! server = server.strip() ! if server.find(':') > -1: ! server, port = server.split(':', 1) ! else: ! port = '110' ! self.servers.append((server, int(port))) if not hasattr(self, "proxyPorts"): From anadelonbrin at users.sourceforge.net Thu Apr 7 02:25:45 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 02:25:48 2005 Subject: [Spambayes-checkins] spambayes/spambayes UserInterface.py, 1.56, 1.57 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10023/spambayes Modified Files: UserInterface.py Log Message: Fix the uploading of messages to train via the web interface, which was broken. Index: UserInterface.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/UserInterface.py,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** UserInterface.py 6 Apr 2005 02:39:53 -0000 1.56 --- UserInterface.py 7 Apr 2005 00:25:42 -0000 1.57 *************** *** 521,524 **** --- 521,525 ---- corpus = getattr(self.state, desired_corpus) setattr(self, desired_corpus, corpus) + self.msg_name_func = self.state.getNewMessageName else: # sb_imapfilter (need to create) *************** *** 538,541 **** --- 539,551 ---- '[0123456789\-]*', cacheSize=20) setattr(self, desired_corpus, corpus) + # We need a function to create a new name for the message + # as sb_imapfilter doesn't have one. + class UniqueNamer(object): + count = -1 + def generate_name(self): + self.count += 1 + return "%10.10d-%d" % (long(time.time()), self.count) + Namer = UniqueNamer() + self.msg_name_func = Namer.generate_name # Train on the uploaded message(s). *************** *** 543,547 **** self.flush() for message in messages: ! msg = factory.create(key, message) corpus.addMessage(msg) msg.RememberTrained(isSpam) --- 553,559 ---- self.flush() for message in messages: ! key = self.msg_name_func() ! msg = corpus.makeMessage(key, message) ! msg.setId(key) corpus.addMessage(msg) msg.RememberTrained(isSpam) From anadelonbrin at users.sourceforge.net Thu Apr 7 03:29:46 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 03:29:48 2005 Subject: [Spambayes-checkins] spambayes/spambayes __init__.py,1.15,1.16 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11665/spambayes Modified Files: __init__.py Log Message: Prepare for 1.1a1 Index: __init__.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/__init__.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** __init__.py 2 Jan 2005 05:00:41 -0000 1.15 --- __init__.py 7 Apr 2005 01:29:44 -0000 1.16 *************** *** 6,9 **** _ = lambda arg: arg ! __version__ = "1.1a0" ! __date__ = _("January 2005") --- 6,9 ---- _ = lambda arg: arg ! __version__ = "1.1a1" ! __date__ = _("April 2005") From anadelonbrin at users.sourceforge.net Thu Apr 7 03:31:28 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 03:31:31 2005 Subject: [Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.20, 1.21 Message-ID: Update of /cvsroot/spambayes/spambayes/windows/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12611/windows/py2exe Modified Files: setup_all.py Log Message: If we are going to distribute imapfilter, then we need to build it. Index: setup_all.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** setup_all.py 27 Jan 2005 02:43:18 -0000 1.20 --- setup_all.py 7 Apr 2005 01:31:22 -0000 1.21 *************** *** 116,119 **** --- 116,123 ---- (1010, os.path.join(sb_top_dir, r"windows\resources\sb-stopped.ico"))], ) + sb_imapfilter = dict( + dest_base = "bin/sb_imapfilter", + script = os.path.join(sb_top_dir, "scripts", "sb_imapfilter.py"), + ) autoconfigure = dict( dest_base = "bin/setup_server", *************** *** 155,159 **** service=[service], # console exes for debugging ! console=[sb_server, sb_upload, outlook_dump_props, sb_pop3dnd], # The taskbar windows=[pop3proxy_tray, outlook_addin_register, autoconfigure], --- 159,164 ---- service=[service], # console exes for debugging ! console=[sb_server, sb_upload, outlook_dump_props, sb_pop3dnd, ! sb_imapfilter], # The taskbar windows=[pop3proxy_tray, outlook_addin_register, autoconfigure], From anadelonbrin at users.sourceforge.net Thu Apr 7 03:33:52 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 03:33:58 2005 Subject: [Spambayes-checkins] spambayes/testtools sort+group.py,1.2,1.3 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13964/testtools Modified Files: sort+group.py Log Message: Add options to sort_group.py -h usage -q for suppressing verbose output -o Skip's fantastic set and option at the command line Also observe the ham/spam directory options, rather than assuming a "Data" directory in the cwd. In addition, only run through the specified directories, unless the -a option is used (this is more like the old behaviour). Index: sort+group.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/sort+group.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** sort+group.py 28 Dec 2003 01:12:11 -0000 1.2 --- sort+group.py 7 Apr 2005 01:33:50 -0000 1.3 *************** *** 1,11 **** #! /usr/bin/env python ! ### Sort and group the messages in the Data hierarchy. ! ### Run this prior to mksets.py for setting stuff up for ! ### testing of chronological incremental training. ! """Usage: sort+group.py ! This program has no options! Muahahahaha! """ --- 1,22 ---- #! /usr/bin/env python ! """Usage: sort+group.py [options] ! Where: ! -h ! Show usage and exit. ! -q ! Suppress verbose output. ! -a ! Run through all directories in the directories that the ! ham_directories and spam_directories are in. This is ! similar (identical with default ham/spam directories) ! to the 1.0.x sort+group.py behaviour. ! -o section:option:value ! set [section, option] in the options database to value. ! Sort and group the messages in the Data hierarchy. ! Run this prior to mksets.py for setting stuff up for testing of ! chronological incremental training. """ *************** *** 14,21 **** import glob import time from email.Utils import parsedate_tz, mktime_tz ! loud = True SECONDS_PER_DAY = 24 * 60 * 60 --- 25,34 ---- import glob import time + import getopt from email.Utils import parsedate_tz, mktime_tz ! from spambayes.Options import options ! SECONDS_PER_DAY = 24 * 60 * 60 *************** *** 60,67 **** --- 73,106 ---- return mktime_tz(as_tuple) + def usage(code, msg=''): + """Print usage message and sys.exit(code).""" + if msg: + print >> sys.stderr, msg + print >> sys.stderr + print >> sys.stderr, __doc__ % globals() + sys.exit(code) + def main(): """Main program; parse options and go.""" from os.path import join, split + import getopt + + try: + opts, args = getopt.getopt(sys.argv[1:], 'hqao:') + except getopt.error, msg: + usage(1, msg) + + loud = True + all_data = False + for opt, arg in opts: + if opt == '-h': + usage(0) + elif opt == '-q': + loud = False + elif opt == '-a': + all_data = True + elif opt in ('-o', '--option'): + options.set_from_cmdline(arg, sys.stderr) data = [] # list of (time_received, dirname, basename) triples *************** *** 69,73 **** print "Scanning everything" now = time.time() ! for name in glob.glob('Data/*/*/*'): if loud: sys.stdout.write("%-78s\r" % name) --- 108,123 ---- print "Scanning everything" now = time.time() ! hdir = os.path.dirname(options["TestDriver", "ham_directories"]) ! sdir = os.path.dirname(options["TestDriver", "spam_directories"]) ! if all_data: ! hdir = os.path.dirname(hdir) ! sdir = os.path.dirname(sdir) ! files = glob.glob(os.path.join(hdir, "*", "*", "*")) ! if sdir != hdir: ! files.extend(glob.glob(os.path.join(sdir, "*", "*", "*"))) ! else: ! files = glob.glob(os.path.join(hdir, "*", "*")) ! files.extend(glob.glob(os.path.join(sdir, "*", "*"))) ! for name in files: if loud: sys.stdout.write("%-78s\r" % name) From anadelonbrin at users.sourceforge.net Thu Apr 7 03:34:43 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 03:34:47 2005 Subject: [Spambayes-checkins] spambayes/testtools incremental.HOWTO.txt, 1.5, 1.6 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14471/testtools Modified Files: incremental.HOWTO.txt Log Message: Minor updates. Index: incremental.HOWTO.txt =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/incremental.HOWTO.txt,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** incremental.HOWTO.txt 28 Dec 2003 01:12:11 -0000 1.5 --- incremental.HOWTO.txt 7 Apr 2005 01:34:41 -0000 1.6 *************** *** 1,9 **** - Yes, this is a lame attempt at explaining what I've built, - in the vain hope that someone will read it and improve it. - I'm writing this with only about 4 hours sleep, so my - coherency may not be particularly high. - - - There are a few steps to doing incremental training tests: --- 1,2 ---- *************** *** 12,24 **** sequence and group them. The corpora need to be in the good old familiar Data/{Ham,Spam}/{reservoir,Set*} tree. ! For my purposes, I wrote the es2hs.py tool to grab stuff ! out of my real MH mail archive folders; other people may ! want some other method of getting the corpora into the ! tree. 2. Sort and group the corpora. When testing, messages will be processed in sorted order. The messages should all have unique names with a group number and an id number ! separated by a dash (eg. 0123-004556). I wrote sort+group.py for this. sort+group.py sorts the messages into chronological order (by topmost Received header) and --- 5,18 ---- sequence and group them. The corpora need to be in the good old familiar Data/{Ham,Spam}/{reservoir,Set*} tree. ! For my (Alex) purposes, I wrote the es2hs.py tool to grab ! stuff out of my real MH mail archive folders; other people ! may want some other method of getting the corpora into the ! tree. If you're using Outlook, then the ! Outlook2000/export.py script is what you are after. 2. Sort and group the corpora. When testing, messages will be processed in sorted order. The messages should all have unique names with a group number and an id number ! separated by a dash (eg. 0123-004556). I (Alex) wrote sort+group.py for this. sort+group.py sorts the messages into chronological order (by topmost Received header) and *************** *** 30,35 **** the oldest msg found. ! Note that this script will run through *all* the files in ! the Data directory, not just those in Data/Ham and Data/Spam. 3. Distribute the corpora into multiple sets so you can do --- 24,32 ---- the oldest msg found. ! With 1.0.x, note that this script will run through *all* the ! files in the Data directory, not just those in Data/Ham and ! Data/Spam. With 1.1, only those specified in the ! ham_directories and spam_directories will be used, unless ! the -a option is used. 3. Distribute the corpora into multiple sets so you can do *************** *** 64,71 **** to do this, outputting datasets for plotmtv. plotmtv is a really neat data visualization tool. Use it. Love it. ! Gods, I need more sleep. See dotest.sh for a sample of automating steps 4 & 5. - - Please, somebody rewrite this file. - --- 61,65 ---- to do this, outputting datasets for plotmtv. plotmtv is a really neat data visualization tool. Use it. Love it. ! XXX tools for Excel. See dotest.sh for a sample of automating steps 4 & 5. From anadelonbrin at users.sourceforge.net Thu Apr 7 04:17:55 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 04:17:57 2005 Subject: [Spambayes-checkins] spambayes/windows spambayes.iss,1.22,1.23 Message-ID: Update of /cvsroot/spambayes/spambayes/windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4432/windows Modified Files: spambayes.iss Log Message: Install the language files. Index: spambayes.iss =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/spambayes.iss,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** spambayes.iss 5 Apr 2005 05:46:38 -0000 1.22 --- spambayes.iss 7 Apr 2005 02:17:52 -0000 1.23 *************** *** 26,29 **** --- 26,38 ---- Source: "py2exe\dist\bin\msvcr71.dll"; DestDir: "{app}\bin"; Flags: ignoreversion + ; Is there a cleverer way of including all of these? + Source: "py2exe\dist\languages\*.py"; DestDir: "{app}\languages"; Flags: ignoreversion + Source: "py2exe\dist\languages\es\*.py"; DestDir: "{app}\languages\es"; Flags: ignoreversion + Source: "py2exe\dist\languages\es\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\es"; Flags: ignoreversion + Source: "py2exe\dist\languages\es_AR\*.py"; DestDir: "{app}\languages\es_AR"; Flags: ignoreversion + Source: "py2exe\dist\languages\es_AR\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\es_AR"; Flags: ignoreversion + Source: "py2exe\dist\languages\fr_FR\*.py"; DestDir: "{app}\languages\fr_FR"; Flags: ignoreversion + Source: "py2exe\dist\languages\fr_FR\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\fr_FR"; Flags: ignoreversion + Source: "py2exe\dist\bin\outlook_addin.dll"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion Source: "py2exe\dist\bin\outlook_addin_register.exe"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion From anadelonbrin at users.sourceforge.net Thu Apr 7 04:19:51 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 04:19:53 2005 Subject: [Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.21, 1.22 Message-ID: Update of /cvsroot/spambayes/spambayes/windows/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5524/windows/py2exe Modified Files: setup_all.py Log Message: Install language files. At the moment these are just considered data files - a better system could definitely be designed. (Maybe the languages directory should be in the spambayes package, so importing is easy?) Index: setup_all.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** setup_all.py 7 Apr 2005 01:31:22 -0000 1.21 --- setup_all.py 7 Apr 2005 02:19:48 -0000 1.22 *************** *** 89,93 **** ], ) - service = dict( dest_base = "bin/sb_service", --- 89,92 ---- *************** *** 140,143 **** --- 139,157 ---- ] + language_files = [] + languages_root = os.path.join(sb_top_dir, "languages") + def add_language_files(current_dir): + files = os.listdir(current_dir) + for fn in files: + full_fn = os.path.join(current_dir, fn) + if os.path.isdir(full_fn): + add_language_files(full_fn) + continue + if os.path.splitext(fn)[1] == ".py": + dest_name = os.path.join("languages", "%s" % + (full_fn[len(languages_root)+1:],)) + language_files.append([os.path.dirname(dest_name), [full_fn]]) + add_language_files(languages_root) + common_data_files = [ ["", [os.path.join(sb_top_dir, r"windows\resources\sbicon.ico")]], *************** *** 164,168 **** windows=[pop3proxy_tray, outlook_addin_register, autoconfigure], # and the misc data files ! data_files = outlook_data_files + proxy_data_files + common_data_files, options = {"py2exe" : py2exe_options}, zipfile = "lib/spambayes.modules", --- 178,183 ---- windows=[pop3proxy_tray, outlook_addin_register, autoconfigure], # and the misc data files ! data_files = outlook_data_files + proxy_data_files + \ ! common_data_files + language_files, options = {"py2exe" : py2exe_options}, zipfile = "lib/spambayes.modules", From anadelonbrin at users.sourceforge.net Thu Apr 7 06:01:11 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:01:17 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv637/languages Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:01:36 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:01:39 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv745/es Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:02:33 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:02:37 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv951/es_AR Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es_AR added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:03:07 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:03:10 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/fr - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/fr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1495/fr Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/fr added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:03:26 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:03:30 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es/DIALOGS - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1606/DIALOGS Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es/DIALOGS added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:03:39 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:03:42 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es/LC_MESSAGES - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1654/LC_MESSAGES Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es/LC_MESSAGES added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:04:12 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:04:15 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR/DIALOGS - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1744/DIALOGS Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/DIALOGS added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:04:25 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:04:27 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR/LC_MESSAGES - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1854/LC_MESSAGES Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/LC_MESSAGES added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:04:45 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:04:48 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/fr/DIALOGS - New directory Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/fr/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1949/DIALOGS Log Message: Directory /cvsroot/spambayes/spambayes/spambayes/languages/fr/DIALOGS added to the repository From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:02 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:05 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages Added Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo --- NEW FILE: __init__.py --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:03 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:06 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es Added Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo _cvsignore.py --- NEW FILE: __init__.py --- """Design-time __init__.py for resourcepackage This is the scanning version of __init__.py for your resource modules. You replace it with a blank or doc-only init when ready to release. """ try: __file__ except NameError: pass else: import os if os.path.splitext(os.path.basename( __file__ ))[0] == "__init__": try: from resourcepackage import package, defaultgenerators generators = defaultgenerators.generators.copy() ### CUSTOMISATION POINT ## import specialised generators here, such as for wxPython #from resourcepackage import wxgenerators #generators.update( wxgenerators.generators ) except ImportError: pass else: package = package.Package( packageName = __name__, directory = os.path.dirname( os.path.abspath(__file__) ), generators = generators, ) package.scan( ### CUSTOMISATION POINT ## force true -> always re-loads from external files, otherwise ## only reloads if the file is newer than the generated .py file. # force = 1, ) From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:03 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:08 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es/LC_MESSAGES __init__.py, NONE, 1.1 messages.mo, NONE, 1.1 messages.po, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es/LC_MESSAGES Added Files: __init__.py messages.mo messages.po Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: __init__.py --- --- NEW FILE: messages.mo --- (This appears to be a binary file; contents omitted.) --- NEW FILE: messages.po --- msgid "" msgstr "" "Project-Id-Version: SpamBayes 1.1\n" "POT-Creation-Date: \n" "PO-Revision-Date: 2005-01-04 14:25+1200\n" "Last-Translator: Tony Meyer \n" "Language-Team: Hernn Foffani et al \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" #: Outlook2000\addin.py:587 msgid "Are you sure you want to permanently delete all items in the \"%s\" folder?" msgstr "" #: Outlook2000\addin.py:598 msgid "The \"%s\" folder is already empty." msgstr "" [...3042 lines suppressed...] #: spambayes\UserInterface.py:1100 msgid "[YOUR EMAIL ADDRESS]" msgstr "" #: spambayes\UserInterface.py:1102 msgid "[DESCRIBE YOUR PROBLEM HERE]" msgstr "" #: spambayes\UserInterface.py:1104 msgid "[PROBLEM SUMMARY]" msgstr "" #: spambayes\Version.py:224 msgid "%s Version %s (%s)" msgstr "" #: spambayes\__init__.py:9 msgid "January 2005" msgstr "" From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:03 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:08 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es_AR Added Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo --- NEW FILE: __init__.py --- """Design-time __init__.py for resourcepackage This is the scanning version of __init__.py for your resource modules. You replace it with a blank or doc-only init when ready to release. """ try: __file__ except NameError: pass else: import os if os.path.splitext(os.path.basename( __file__ ))[0] == "__init__": try: from resourcepackage import package, defaultgenerators generators = defaultgenerators.generators.copy() ### CUSTOMISATION POINT ## import specialised generators here, such as for wxPython #from resourcepackage import wxgenerators #generators.update( wxgenerators.generators ) except ImportError: pass else: package = package.Package( packageName = __name__, directory = os.path.dirname( os.path.abspath(__file__) ), generators = generators, ) package.scan( ### CUSTOMISATION POINT ## force true -> always re-loads from external files, otherwise ## only reloads if the file is newer than the generated .py file. # force = 1, ) From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:03 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:08 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es/DIALOGS .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 dialogs.rc, NONE, 1.1 i18n_dialogs.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es/DIALOGS Added Files: .cvsignore __init__.py dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo --- NEW FILE: __init__.py --- --- NEW FILE: dialogs.rc --- //Microsoft Developer Studio generated resource script. // #include "dialogs.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "winres.h" // spambayes dialog definitions ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // Ingls (Estados Unidos) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_ADVANCED DIALOGEX 0, 0, 248, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Advanced" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN GROUPBOX "Filter timer",IDC_STATIC,7,3,234,117 CONTROL "",IDC_DELAY1_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,36,148,22 LTEXT "Processing start delay",IDC_STATIC,16,26,101,8 EDITTEXT IDC_DELAY1_TEXT,165,39,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,208,41,28,8 CONTROL "",IDC_DELAY2_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,73,148,22 LTEXT "Delay between processing items",IDC_STATIC,16,62,142,8 EDITTEXT IDC_DELAY2_TEXT,165,79,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,207,82,28,8 CONTROL "Only for folders that receive new mail", IDC_INBOX_TIMER_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,100,217,10 PUSHBUTTON "Show Data Folder",IDC_SHOW_DATA_FOLDER,7,238,70,14 CONTROL "Enable background filtering",IDC_BUT_TIMER_ENABLED, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,12,162,10 PUSHBUTTON "Diagnostics...",IDC_BUT_SHOW_DIAGNOSTICS,171,238,70,14 END IDD_STATISTICS DIALOG DISCARDABLE 0, 0, 248, 257 STYLE WS_CHILD | WS_CAPTION CAPTION "Statistics" FONT 8, "Tahoma" BEGIN GROUPBOX "Statistics",IDC_STATIC,7,3,241,229 LTEXT "some stats\nand some more\nline 3\nline 4\nline 5", IDC_STATISTICS,12,12,230,204 PUSHBUTTON "Reset Statistics",IDC_BUT_RESET_STATS,178,238,70,14 LTEXT "Last reset:",IDC_STATIC,7,241,36,8 LTEXT "<<>>",IDC_LAST_RESET_DATE,47,241,107,8 END IDD_MANAGER DIALOGEX 0, 0, 275, 308 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Manager" FONT 8, "Tahoma" BEGIN DEFPUSHBUTTON "Close",IDOK,216,287,50,14 PUSHBUTTON "Cancel",IDCANCEL,155,287,50,14,NOT WS_VISIBLE CONTROL "",IDC_TAB,"SysTabControl32",0x0,8,7,258,276 PUSHBUTTON "About",IDC_ABOUT_BTN,8,287,50,14 END IDD_FILTER_SPAM DIALOGEX 0, 0, 251, 147 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Spam" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "Filter the following folders as messages arrive", IDC_STATIC,8,9,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,20,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,194,19,50,14 GROUPBOX "Certain Spam",IDC_STATIC,7,43,237,80 LTEXT "To be considered certain spam, a message must score at least", IDC_STATIC,13,52,212,10 CONTROL "",IDC_SLIDER_CERTAIN,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,62,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,63,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,82,107,10 COMBOBOX IDC_ACTION_CERTAIN,13,93,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,75,95,31,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,120,93,59,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,93,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,110,81,10 END IDD_FILTER_UNSURE DIALOGEX 0, 0, 249, 124 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Possible Spam" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,11,212,10 CONTROL "",IDC_SLIDER_UNSURE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,18,165,20 EDITTEXT IDC_EDIT_UNSURE,183,24,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,38,107,10 COMBOBOX IDC_ACTION_UNSURE,12,49,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,74,52,31,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,119,49,59,14 PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,183,49,50,14 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,70,101,10 END IDD_DIAGNOSTIC DIALOGEX 0, 0, 183, 98 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Diagnostics" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "These advanced options are for diagnostic or debugging purposes only. You should only change these options if specifically asked to, or you know exactly what they mean.", IDC_STATIC,5,3,174,36 LTEXT "Log file verbosity",IDC_STATIC,5,44,56,8 EDITTEXT IDC_VERBOSE_LOG,73,42,40,14,ES_AUTOHSCROLL PUSHBUTTON "View log...",IDC_BUT_VIEW_LOG,129,41,50,14 CONTROL "Save Spam Score",IDC_SAVE_SPAM_SCORE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,5,63,72,10 PUSHBUTTON "Cancel",IDCANCEL,69,79,50,14,NOT WS_VISIBLE DEFPUSHBUTTON "Close",IDOK,129,79,50,14 END IDD_WIZARD DIALOGEX 0, 0, 384, 190 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Configuration Wizard" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN PUSHBUTTON "Cancel",IDCANCEL,328,173,50,14 PUSHBUTTON "<< Back",IDC_BACK_BTN,216,173,50,14 DEFPUSHBUTTON "Next>>,Finish",IDC_FORWARD_BTN,269,173,50,14 CONTROL "",IDC_PAGE_PLACEHOLDER,"Static",SS_ETCHEDFRAME,75,4,303, 167 CONTROL 125,IDC_WIZ_GRAPHIC,"Static",SS_BITMAP,0,0,69,190 END IDD_WIZARD_WELCOME DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Welcome to the SpamBayes configuration wizard", IDC_STATIC,20,4,191,14 LTEXT "This wizard will help you configure the SpamBayes Outlook addin. Please indicate how you have prepared for this application.", IDC_STATIC,20,20,255,18 CONTROL "I haven't prepared for SpamBayes at all.", IDC_BUT_PREPARATION,"Button",BS_AUTORADIOBUTTON | BS_TOP | WS_GROUP,20,42,190,11 CONTROL "I have already sorted good messages (ham) and spam messages into folders that are suitable for training purposes.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,20,59,255,18 CONTROL "I would prefer to configure SpamBayes manually.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP,20,82, 187,12 LTEXT "If you would like more information about training and configuring SpamBayes, click the About button.", IDC_STATIC,20,103,185,20 PUSHBUTTON "About...",IDC_BUT_ABOUT,215,104,60,15 LTEXT "If you cancel the wizard, you can access it again via the SpamBayes Manager, available from the SpamBayes toolbar.", IDC_STATIC,20,137,232,17 END IDD_WIZARD_FINISHED_UNTRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Congratulations",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes is now configured and ready to start learning about your Spam", IDC_STATIC,20,22,247,16 LTEXT "As SpamBayes has not been trained, all new mail will arrive in your Unsure folder. As each message arrives, you should use the 'Spam' or 'Not Spam' toolbar buttons as appropriate.", IDC_STATIC,20,42,247,27 LTEXT "If you wish to speed up the training process, you can move all the existing Spam from your Inbox to the new Spam folder, then select 'Training' from the SpamBayes manager.", IDC_STATIC,20,83,247,31 LTEXT "As you train, you will find the accuracy of SpamBayes increases.", IDC_STATIC,20,69,247,15 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,121, 148,9 END IDD_WIZARD_FOLDERS_REST DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_SPAM,208,85,60,15 LTEXT "Spam and Unsure Folders",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes uses two folders to manage your Spam - a folder where 'certain' spam is stored, and another for unsure messages.", IDC_STATIC,20,20,247,22 LTEXT "If you enter a folder name and it does not exist, it will be automatically created. If you would prefer to select an existing folder, click the Browse button.", IDC_STATIC,20,44,243,24 EDITTEXT IDC_FOLDER_CERTAIN,20,85,179,14,ES_AUTOHSCROLL LTEXT "Unsure messages will be delivered to a folder named", IDC_STATIC,20,105,186,12 EDITTEXT IDC_FOLDER_UNSURE,20,117,177,14,ES_AUTOHSCROLL LTEXT "Spam will be delivered to a folder named",IDC_STATIC,20, 72,137,8 PUSHBUTTON "Browse...",IDC_BROWSE_UNSURE,208,117,60,15 END IDD_WIZARD_FOLDERS_WATCH DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,225,134,50,14 LTEXT "Folders that receive new messages",IDC_STATIC,20,4,247, 14 LTEXT "SpamBayes needs to know what folders are used to receive new messages. In most cases, this will be your Inbox, but you may also specify additional folders to be watched for spam.", IDC_STATIC,20,21,247,25 LTEXT "The following folders will be watched for new messages. Use the Browse button to change the list, or Next if the list of folders is correct.", IDC_STATIC,20,79,247,20 LTEXT "If you use the Outlook rule wizard to move messages into folders, you may like to select these folders in addition to your inbox.", IDC_STATIC,20,51,241,20 EDITTEXT IDC_FOLDER_WATCH,20,100,195,48,ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY END IDD_WIZARD_FINISHED_UNCONFIGURED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Configuration cancelled",IDC_STATIC,20,4,247,14 LTEXT "The main SpamBayes options will now be displayed. You must define your folders and enable SpamBayes before it will begin filtering mail.", IDC_STATIC,20,29,247,16 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,139, 148,9 END IDD_WIZARD_FOLDERS_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_HAM,208,49,60,15 LTEXT "Training",IDC_STATIC,20,4,247,10 LTEXT "Please select the folders with the pre-sorted good messages and the folders with the pre-sorted spam messages.", IDC_STATIC,20,16,243,16 EDITTEXT IDC_FOLDER_HAM,20,49,179,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Examples of Spam, or unwanted messages can be found in", IDC_STATIC,20,71,198,8 EDITTEXT IDC_FOLDER_CERTAIN,20,81,177,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Examples of good messages can be found in",IDC_STATIC, 20,38,153,8 PUSHBUTTON "Browse...",IDC_BROWSE_SPAM,208,81,60,15 LTEXT "If you have not pre-sorted your messages, or already have training information you wish to keep, please select the Back button and indicate you have not prepared for SpamBayes.", IDC_STATIC,20,128,243,26 CONTROL "Score messages when training is complete", IDC_BUT_RESCORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20, 108,163,16 END IDD_WIZARD_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Training",-1,20,4,247,14 LTEXT "SpamBayes is training on your good and spam messages.", -1,20,22,247,16 CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,20,45,255, 11 LTEXT "(progress text)",IDC_PROGRESS_TEXT,20,61,257,10 END IDD_WIZARD_FINISHED_TRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Congratulations",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes has been successfully trained and configured. You should find the system is immediately effective at filtering spam.", IDC_TRAINING_STATUS,20,35,247,26 LTEXT "Even though SpamBayes has been trained, it does continue to learn - please ensure you regularly check your Unsure folder, and use the 'Spam' or 'Not Spam' buttons as appropriate.", IDC_STATIC,20,68,249,30 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,104, 148,9 END IDD_WIZARD_TRAINING_IS_IMPORTANT DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "SpamBayes will not be effective until it is trained.", IDC_STATIC,11,8,191,14 PUSHBUTTON "About Training...",IDC_BUT_ABOUT,209,140,65,15 LTEXT "SpamBayes is a system that learns about good and bad mail based on examples you provide. It comes with no built-in rules, so must have some training information before it will be effective.", IDC_STATIC,11,21,263,30 LTEXT "In this case, SpamBayes will begin by filtering all mail to an 'Unsure' folder. You can then use the 'Spam' and 'Not Spam' buttons to train each message as it arrives. Slowly SpamBayes will learn about your mail.", IDC_STATIC,22,61,252,29 LTEXT "This option will close the wizard, and provide instructions how to sort your mail. You will then be able to configure SpamBayes and have it be immediately effective at filtering your mail", IDC_STATIC,22,106,252,27 LTEXT "For more information, click the About Training button.", IDC_STATIC,11,143,187,12 CONTROL "I want to continue without training, and let SpamBayes learn as it goes", IDC_BUT_UNTRAINED,"Button",BS_AUTORADIOBUTTON | WS_GROUP, 11,50,263,11 CONTROL "I will pre-sort some good and spam messages, and configure SpamBayes later", IDC_BUT_TRAIN,"Button",BS_AUTORADIOBUTTON,11,92,263,11 END IDD_WIZARD_FINISHED_TRAIN_LATER DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Configuration suspended",IDC_STATIC,20,4,247,14 LTEXT "To perform initial training, you should create a folder that contains only examples of good messages, and another that contains only examples of spam.", IDC_STATIC,20,17,247,27 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,145, 148,9 LTEXT "For examples of good messages, you may like to use your Inbox - however, it is important you remove all spam from this folder before you commence", IDC_STATIC,20,42,247,26 LTEXT "training. If you have too much spam in your Inbox, you may like to create a temporary folder and copy some examples to it.", IDC_STATIC,20,58,247,17 LTEXT "For examples of spam messages, you may like to look through your Deleted Items folder, and your Inbox. However, you will not be able to specify the Deleted Items folder as examples of spam, so you will need to move them to a folder you create.", IDC_STATIC,20,80,247,35 LTEXT "When you are finished, open the SpamBayes Manager via the SpamBayes toolbar, and re-start the Configuration Wizard.", IDC_STATIC,20,121,245,17 END IDD_NOTIFICATIONS DIALOGEX 0, 0, 248, 257 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION CAPTION "Notifications" FONT 8, "Tahoma", 0, 0, 0x0 BEGIN GROUPBOX "New Mail Sounds",IDC_STATIC,7,3,241,229 CONTROL "Enable new mail notification sounds",IDC_ENABLE_SOUNDS, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,17,129,10 LTEXT "Good sound:",IDC_STATIC,14,31,42,8 EDITTEXT IDC_HAM_SOUND,14,40,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_HAM_SOUND,192,40,50,14 LTEXT "Unsure sound:",IDC_STATIC,14,58,48,8 EDITTEXT IDC_UNSURE_SOUND,14,67,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_UNSURE_SOUND,192,67,50,14 LTEXT "Spam sound:",IDC_STATIC,14,85,42,8 EDITTEXT IDC_SPAM_SOUND,14,94,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_SPAM_SOUND,192,94,50,14 LTEXT "Time to wait for additional messages:",IDC_STATIC,14, 116,142,8 CONTROL "",IDC_ACCUMULATE_DELAY_SLIDER,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,14,127,148,22 EDITTEXT IDC_ACCUMULATE_DELAY_TEXT,163,133,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,205,136,28,8 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_ADVANCED, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 241 VERTGUIDE, 16 BOTTOMMARGIN, 204 END IDD_MANAGER, DIALOG BEGIN BOTTOMMARGIN, 253 END IDD_FILTER_SPAM, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 244 TOPMARGIN, 7 BOTTOMMARGIN, 140 END IDD_FILTER_UNSURE, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 242 TOPMARGIN, 7 BOTTOMMARGIN, 117 END IDD_DIAGNOSTIC, DIALOG BEGIN LEFTMARGIN, 5 RIGHTMARGIN, 179 BOTTOMMARGIN, 93 END IDD_WIZARD, DIALOG BEGIN RIGHTMARGIN, 378 END IDD_WIZARD_WELCOME, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 275 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNTRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_REST, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 85 HORZGUIDE, 117 END IDD_WIZARD_FOLDERS_WATCH, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNCONFIGURED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_TRAIN, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 49 HORZGUIDE, 81 END IDD_WIZARD_TRAIN, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_TRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_TRAINING_IS_IMPORTANT, DIALOG BEGIN VERTGUIDE, 11 VERTGUIDE, 22 VERTGUIDE, 274 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_TRAIN_LATER, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_SBLOGO BITMAP MOVEABLE PURE "sblogo.bmp" IDB_SBWIZLOGO BITMAP MOVEABLE PURE "sbwizlogo.bmp" #endif // Ingls (Estados Unidos) resources ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // Ingls (Australia) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_GENERAL DIALOGEX 0, 0, 253, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "General" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "SpamBayes Version Here",IDC_VERSION,6,54,242,8 LTEXT "SpamBayes requiere entrenamiento previo para ser efectivo. Cliquee en la solapa 'Entrenamiento' o use el Asistente de Configuracin para entrenar.", IDC_STATIC,6,67,242,17 LTEXT "Estado de la base de datos de entrenamiento:", IDC_STATIC,6,90,222,8 LTEXT "123 spam messages; 456 good messages\r\nLine2\r\nLine3", IDC_TRAINING_STATUS,6,101,242,27,SS_SUNKEN CONTROL "Habilitar SpamBayes",IDC_BUT_FILTER_ENABLE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,6,173,97,11 LTEXT "Certain spam is moved to Folder1\nPossible spam is moved too", IDC_FILTER_STATUS,6,146,242,19,SS_SUNKEN PUSHBUTTON "Reiniciar la Configuracin...",IDC_BUT_RESET,6,238,106, 15 PUSHBUTTON "Asistente de Configuracin...",IDC_BUT_WIZARD,142,238, 106,15 LTEXT "Estado del filtro:",IDC_STATIC,6,135,222,8 CONTROL 1062,IDC_LOGO_GRAPHIC,"Static",SS_BITMAP | SS_REALSIZEIMAGE,0,2,275,52 END IDD_TRAINING DIALOGEX 0, 0, 252, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Training" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN GROUPBOX "",IDC_STATIC,5,1,243,113 LTEXT "Folders with known good messages.",IDC_STATIC,11,11,131, 11 CONTROL "",IDC_STATIC_HAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,11,21,175,12 PUSHBUTTON "&Browse...",IDC_BROWSE_HAM,192,20,50,14 LTEXT "Folders with spam or other junk messages.",IDC_STATIC, 11,36,171,9 CONTROL "Static",IDC_STATIC_SPAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,11,46,174,12 PUSHBUTTON "Brow&se...",IDC_BROWSE_SPAM,192,46,50,14 CONTROL "Score &messages after training",IDC_BUT_RESCORE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,11,64,111,10 CONTROL "&Rebuild entire database",IDC_BUT_REBUILD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,137,64,92,10 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER, 11,76,231,11 PUSHBUTTON "&Start Training",IDC_START,11,91,54,14,BS_NOTIFY LTEXT "training status training status training status training status training status training status training status ", IDC_PROGRESS_TEXT,75,89,149,17 GROUPBOX "Incremental Training",IDC_STATIC,4,117,244,87 CONTROL "Train that a message is good when it is moved from a spam folder back to the Inbox.", IDC_BUT_TRAIN_FROM_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,127,204,18 LTEXT "Clicking 'Not Spam' button should",IDC_STATIC,10,148, 115,10 COMBOBOX IDC_RECOVER_RS,127,145,114,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Train that a message is spam when it is moved to the spam folder.", IDC_BUT_TRAIN_TO_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,163,204,16 LTEXT "Clicking 'Spam' button should",IDC_STATIC,10,183,104,10 COMBOBOX IDC_DEL_SPAM_RS,127,180,114,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END IDD_FILTER_NOW DIALOGEX 0, 0, 244, 185 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filter Now" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Filter the following folders",IDC_STATIC,8,9,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_NAMES,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,7,20,172, 12 PUSHBUTTON "Browse...",IDC_BROWSE,187,19,50,14 GROUPBOX "Filter action",IDC_STATIC,7,38,230,40,WS_GROUP CONTROL "Perform all filter actions",IDC_BUT_ACT_ALL,"Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,15,49,126,10 CONTROL "Score messages, but don't perform filter action", IDC_BUT_ACT_SCORE,"Button",BS_AUTORADIOBUTTON,15,62,203, 10 GROUPBOX "Restrict the filter to",IDC_STATIC,7,84,230,35,WS_GROUP CONTROL "Unread mail",IDC_BUT_UNREAD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,94,149,9 CONTROL "Mail never previously spam filtered",IDC_BUT_UNSEEN, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,106,149,9 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7, 129,230,11 LTEXT "Static",IDC_PROGRESS_TEXT,7,144,227,10 DEFPUSHBUTTON "Start Filtering",IDC_START,7,161,52,14 PUSHBUTTON "Close",IDCANCEL,187,162,50,14 END IDD_FILTER DIALOGEX 0, 0, 249, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtering" FONT 8, "Tahoma" BEGIN LTEXT "Filter the following folders as messages arrive", IDC_STATIC,8,4,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,16,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,192,14,50,14 GROUPBOX "Certain Spam",IDC_STATIC,7,33,235,80 LTEXT "To be considered certain spam, a message must score at least", IDC_STATIC,13,42,212,10 CONTROL "Slider1",IDC_SLIDER_CERTAIN,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,52,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,53,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,72,107,10 COMBOBOX IDC_ACTION_CERTAIN,12,83,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,85,28,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,83,77,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,83,50,14 GROUPBOX "Possible Spam",IDC_STATIC,6,117,235,81 LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,128,212,10 CONTROL "Slider1",IDC_SLIDER_UNSURE,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,135,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,155,107,10 COMBOBOX IDC_ACTION_UNSURE,12,166,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,169,27,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,166,77,14 PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,184,166,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,100,81,10 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,186,101,10 GROUPBOX "Certain Good",IDC_STATIC,6,203,235,48 LTEXT "These messages should be:",IDC_STATIC,12,215,107,10 COMBOBOX IDC_ACTION_HAM,12,228,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,230,27,10 CONTROL "(folder name)",IDC_FOLDER_HAM,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,228,77,14 PUSHBUTTON "&Browse",IDC_BROWSE_HAM,184,228,50,14 END IDD_FOLDER_SELECTOR DIALOGEX 0, 0, 247, 215 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Dialog" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "&Folders:",IDC_STATIC,7,7,47,9 CONTROL "",IDC_LIST_FOLDERS,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_CHECKBOXES | WS_BORDER | WS_TABSTOP,7,21,172,140 CONTROL "(sub)",IDC_BUT_SEARCHSUB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,167,126,9 LTEXT "(status1)",IDC_STATUS1,7,180,220,9 LTEXT "(status2)",IDC_STATUS2,7,194,220,9 DEFPUSHBUTTON "OK",IDOK,190,21,50,14 PUSHBUTTON "Cancel",IDCANCEL,190,39,50,14 PUSHBUTTON "C&lear All",IDC_BUT_CLEARALL,190,58,50,14 PUSHBUTTON "&New folder",IDC_BUT_NEW,190,77,50,14 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_GENERAL, DIALOG BEGIN RIGHTMARGIN, 248 VERTGUIDE, 6 BOTTOMMARGIN, 205 END IDD_TRAINING, DIALOG BEGIN RIGHTMARGIN, 241 VERTGUIDE, 11 VERTGUIDE, 242 BOTTOMMARGIN, 207 END IDD_FILTER_NOW, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 237 TOPMARGIN, 9 BOTTOMMARGIN, 176 END IDD_FILTER, DIALOG BEGIN BOTTOMMARGIN, 254 HORZGUIDE, 127 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_FOLDERS BITMAP MOVEABLE PURE "folders.bmp" #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE MOVEABLE PURE BEGIN "dialogs.h\0" END 2 TEXTINCLUDE MOVEABLE PURE BEGIN "#include ""winres.h""\r\n" "// spambayes dialog definitions\r\n" "\0" END 3 TEXTINCLUDE MOVEABLE PURE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED #endif // Ingls (Australia) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED --- NEW FILE: i18n_dialogs.py --- #c:\spambayes\languages\es\DIALOGS\i18n_dialogs.py #This is a generated file. Please edit c:\spambayes\languages\es\DIALOGS\dialogs.rc instead. _rc_size_=33884 _rc_mtime_=1112074520 try: _ except NameError: def _(s): return s class FakeParser: dialogs = {'IDD_MANAGER': [[_('SpamBayes Manager'), (0, 0, 275, 308), -1865940928, 1024, (8, 'Tahoma')], [128, _('Close'), 1, (216, 287, 50, 14), 1342177281], [128, _('Cancel'), 2, (155, 287, 50, 14), 1073741824], ['SysTabControl32', '', 1068, (8, 7, 258, 276), 1342177280], [128, _('About'), 1072, (8, 287, 50, 14), 1342177280]], 'IDD_DIAGNOSTIC': [[_('Diagnostics'), (0, 0, 183, 98), -1865940928, 1024, (8, 'Tahoma')], [130, _('These advanced options are for diagnostic or debugging purposes only. You should only change these options if specifically asked to, or you know exactly what they mean.'), -1, (5, 3, 174, 36), 1342177280], [130, _('Log file verbosity'), -1, (5, 44, 56, 8), 1342177280], [129, '', 1061, (73, 42, 40, 14), 1350566016], [128, _('View log...'), 1093, (129, 41, 50, 14), 1342177280], [128, _('Save Spam Score'), 1048, (5, 63, 72, 10), 1342242819], [128, _('Cancel'), 2, (69, 79, 50, 14), 1073741824], [128, _('Close'), 1, (129, 79, 50, 14), 1342177281]], 'IDD_FILTER_SPAM': [[_('Spam'), (0, 0, 251, 147), 1355284672, None, (8, 'Tahoma')], [130, _('Filter the following folders as messages arrive'), -1, (8, 9, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1038, (7, 20, 177, 12), 1342312972], [128, _('Browse...'), 1039, (194, 19, 50, 14), 1342177280], [128, _('Certain Spam'), -1, (7, 43, 237, 80), 1342177287], [130, _('To be considered certain spam, a message must score at least'), -1, (13, 52, 212, 10), 1342177280], ['msctls_trackbar32', '', 1023, (13, 62, 165, 22), 1342242821], [129, '', 1024, (184, 63, 51, 14), 1350566016], [130, _('and these messages should be:'), -1, (13, 82, 107, 10), 1342177280], [133, '', 1025, (13, 93, 55, 40), 1344339971], [130, _('to folder'), -1, (75, 95, 31, 10), 1342177280], [130, _('Folder names...'), 1027, (120, 93, 59, 14), 1342312972], [128, _('Browse'), 1028, (184, 93, 50, 14), 1342177280], [128, _('Mark spam as read'), 1047, (13, 110, 81, 10), 1342242819]], 'IDD_TRAINING': [[_('Training'), (0, 0, 252, 257), 1355284672, 1024, (8, 'Tahoma')], [128, '', -1, (5, 1, 243, 113), 1342177287], [130, _('Folders with known good messages.'), -1, (11, 11, 131, 11), 1342177280], [130, '', 1002, (11, 21, 175, 12), 1342181900], [128, _('&Browse...'), 1004, (192, 20, 50, 14), 1342177280], [130, _('Folders with spam or other junk messages.'), -1, (11, 36, 171, 9), 1342177280], [130, _('Static'), 1003, (11, 46, 174, 12), 1342312972], [128, _('Brow&se...'), 1005, (192, 46, 50, 14), 1342177280], [128, _('Score &messages after training'), 1008, (11, 64, 111, 10), 1342242819], [128, _('&Rebuild entire database'), 1007, (137, 64, 92, 10), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (11, 76, 231, 11), 1350565888], [128, _('&Start Training'), 1006, (11, 91, 54, 14), 1342193664], [130, _('training status training status training status training status training status training status training status '), 1001, (75, 89, 149, 17), 1342177280], [128, _('Incremental Training'), -1, (4, 117, 244, 87), 1342177287], [128, _('Train that a message is good when it is moved from a spam folder back to the Inbox.'), 1010, (11, 127, 204, 18), 1342251011], [130, _("Clicking 'Not Spam' button should"), -1, (10, 148, 115, 10), 1342177280], [133, '', 1075, (127, 145, 114, 54), 1344339971], [128, _('Train that a message is spam when it is moved to the spam folder.'), 1011, (11, 163, 204, 16), 1342251011], [130, _("Clicking 'Spam' button should"), -1, (10, 183, 104, 10), 1342177280], [133, '', 1074, (127, 180, 114, 54), 1344339971]], 'IDD_WIZARD': [[_('SpamBayes Configuration Wizard'), (0, 0, 384, 190), -1865940800, 1024, (8, 'Tahoma')], [128, _('Cancel'), 2, (328, 173, 50, 14), 1342177280], [128, _('<< Back'), 1069, (216, 173, 50, 14), 1342177280], [128, _('Next>>,Finish'), 1077, (269, 173, 50, 14), 1342177281], [130, '', 1078, (75, 4, 303, 167), 1342177298], [130, '125', 1092, (0, 0, 69, 190), 1342177294]], 'IDD_WIZARD_FOLDERS_WATCH': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1039, (225, 134, 50, 14), 1342177280], [130, _('Folders that receive new messages'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes needs to know what folders are used to receive new messages. In most cases, this will be your Inbox, but you may also specify additional folders to be watched for spam.'), -1, (20, 21, 247, 25), 1342177280], [130, _('The following folders will be watched for new messages. Use the Browse button to change the list, or Next if the list of folders is correct.'), -1, (20, 79, 247, 20), 1342177280], [130, _('If you use the Outlook rule wizard to move messages into folders, you may like to select these folders in addition to your inbox.'), -1, (20, 51, 241, 20), 1342177280], [129, '', 1038, (20, 100, 195, 48), 1350568068]], 'IDD_WIZARD_FINISHED_TRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Congratulations'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes has been successfully trained and configured. You should find the system is immediately effective at filtering spam.'), 1035, (20, 35, 247, 26), 1342177280], [130, _("Even though SpamBayes has been trained, it does continue to learn - please ensure you regularly check your Unsure folder, and use the 'Spam' or 'Not Spam' buttons as appropriate."), -1, (20, 68, 249, 30), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 104, 148, 9), 1342177280]], 'IDD_WIZARD_FOLDERS_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1004, (208, 49, 60, 15), 1342177280], [130, _('Training'), -1, (20, 4, 247, 10), 1342177280], [130, _('Please select the folders with the pre-sorted good messages and the folders with the pre-sorted spam messages.'), -1, (20, 16, 243, 16), 1342177280], [129, '', 1083, (20, 49, 179, 14), 1350568064], [130, _('Examples of Spam, or unwanted messages can be found in'), -1, (20, 71, 198, 8), 1342177280], [129, '', 1027, (20, 81, 177, 14), 1350568064], [130, _('Examples of good messages can be found in'), -1, (20, 38, 153, 8), 1342177280], [128, _('Browse...'), 1005, (208, 81, 60, 15), 1342177280], [130, _('If you have not pre-sorted your messages, or already have training information you wish to keep, please select the Back button and indicate you have not prepared for SpamBayes.'), -1, (20, 128, 243, 26), 1342177280], [128, _('Score messages when training is complete'), 1008, (20, 108, 163, 16), 1342242819]], 'IDD_WIZARD_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Training'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes is training on your good and spam messages.'), -1, (20, 22, 247, 16), 1342177280], ['msctls_progress32', '', 1000, (20, 45, 255, 11), 1350565888], [130, _('(progress text)'), 1001, (20, 61, 257, 10), 1342177280]], 'IDD_WIZARD_FINISHED_TRAIN_LATER': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Configuration suspended'), -1, (20, 4, 247, 14), 1342177280], [130, _('To perform initial training, you should create a folder that contains only examples of good messages, and another that contains only examples of spam.'), -1, (20, 17, 247, 27), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 145, 148, 9), 1342177280], [130, _('For examples of good messages, you may like to use your Inbox - however, it is important you remove all spam from this folder before you commence'), -1, (20, 42, 247, 26), 1342177280], [130, _('training. If you have too much spam in your Inbox, you may like to create a temporary folder and copy some examples to it.'), -1, (20, 58, 247, 17), 1342177280], [130, _('For examples of spam messages, you may like to look through your Deleted Items folder, and your Inbox. However, you will not be able to specify the Deleted Items folder as examples of spam, so you will need to move them to a folder you create.'), -1, (20, 80, 247, 35), 1342177280], [130, _('When you are finished, open the SpamBayes Manager via the SpamBayes toolbar, and re-start the Configuration Wizard.'), -1, (20, 121, 245, 17), 1342177280]], 'IDD_FOLDER_SELECTOR': [[_('Dialog'), (0, 0, 247, 215), -1865940800, None, (8, 'Tahoma')], [130, _('&Folders:'), -1, (7, 7, 47, 9), 1342177280], ['SysTreeView32', '', 1040, (7, 21, 172, 140), 1350631735], [128, _('(sub)'), 1041, (7, 167, 126, 9), 1342242819], [130, _('(status1)'), 1043, (7, 180, 220, 9), 1342177280], [130, _('(status2)'), 1044, (7, 194, 220, 9), 1342177280], [128, _('OK'), 1, (190, 21, 50, 14), 1342177281], [128, _('Cancel'), 2, (190, 39, 50, 14), 1342177280], [128, _('C&lear All'), 1042, (190, 58, 50, 14), 1342177280], [128, _('&New folder'), 1046, (190, 77, 50, 14), 1342177280]], 'IDD_STATISTICS': [[_('Statistics'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('Statistics'), -1, (7, 3, 241, 229), 1342177287], [130, _('some stats\\nand some more\\nline 3\\nline 4\\nline 5'), 1095, (12, 12, 230, 204), 1342177280], [128, _('Reset Statistics'), 1096, (178, 238, 70, 14), 1342177280], [130, _('Last reset:'), -1, (7, 241, 36, 8), 1342177280], [130, _('<<>>'), 1097, (47, 241, 107, 8), 1342177280]], 'IDD_ADVANCED': [[_('Advanced'), (0, 0, 248, 257), 1355284672, 1024, (8, 'Tahoma')], [128, _('Filter timer'), -1, (7, 3, 234, 117), 1342177287], ['msctls_trackbar32', '', 1056, (16, 36, 148, 22), 1342242821], [130, _('Processing start delay'), -1, (16, 26, 101, 8), 1342177280], [129, '', 1057, (165, 39, 40, 14), 1350566016], [130, _('seconds'), -1, (208, 41, 28, 8), 1342177280], ['msctls_trackbar32', '', 1058, (16, 73, 148, 22), 1342242821], [130, _('Delay between processing items'), -1, (16, 62, 142, 8), 1342177280], [129, '', 1059, (165, 79, 40, 14), 1350566016], [130, _('seconds'), -1, (207, 82, 28, 8), 1342177280], [128, _('Only for folders that receive new mail'), 1060, (16, 100, 217, 10), 1342242819], [128, _('Show Data Folder'), 1071, (7, 238, 70, 14), 1342177280], [128, _('Enable background filtering'), 1091, (16, 12, 162, 10), 1342242819], [128, _('Diagnostics...'), 1080, (171, 238, 70, 14), 1342177280]], 'IDD_WIZARD_FINISHED_UNCONFIGURED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Configuration cancelled'), -1, (20, 4, 247, 14), 1342177280], [130, _('The main SpamBayes options will now be displayed. You must define your folders and enable SpamBayes before it will begin filtering mail.'), -1, (20, 29, 247, 16), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 139, 148, 9), 1342177280]], 'IDD_WIZARD_WELCOME': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Welcome to the SpamBayes configuration wizard'), -1, (20, 4, 191, 14), 1342177280], [130, _('This wizard will help you configure the SpamBayes Outlook addin. Please indicate how you have prepared for this application.'), -1, (20, 20, 255, 18), 1342177280], [128, _("I haven't prepared for SpamBayes at all."), 1081, (20, 42, 190, 11), 1342309385], [128, _('I have already sorted good messages (ham) and spam messages into folders that are suitable for training purposes.'), -1, (20, 59, 255, 18), 1342186505], [128, _('I would prefer to configure SpamBayes manually.'), -1, (20, 82, 187, 12), 1342178313], [130, _('If you would like more information about training and configuring SpamBayes, click the About button.'), -1, (20, 103, 185, 20), 1342177280], [128, _('About...'), 1017, (215, 104, 60, 15), 1342177280], [130, _('If you cancel the wizard, you can access it again via the SpamBayes Manager, available from the SpamBayes toolbar.'), -1, (20, 137, 232, 17), 1342177280]], 'IDD_FILTER_NOW': [[_('Filter Now'), (0, 0, 244, 185), -1865940928, 1024, (8, 'Tahoma')], [130, _('Filter the following folders'), -1, (8, 9, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1036, (7, 20, 172, 12), 1342181900], [128, _('Browse...'), 1037, (187, 19, 50, 14), 1342177280], [128, _('Filter action'), -1, (7, 38, 230, 40), 1342308359], [128, _('Perform all filter actions'), 1019, (15, 49, 126, 10), 1342373897], [128, _("Score messages, but don't perform filter action"), 1018, (15, 62, 203, 10), 1342177289], [128, _('Restrict the filter to'), -1, (7, 84, 230, 35), 1342308359], [128, _('Unread mail'), 1020, (15, 94, 149, 9), 1342242819], [128, _('Mail never previously spam filtered'), 1021, (15, 106, 149, 9), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (7, 129, 230, 11), 1350565888], [130, _('Static'), 1001, (7, 144, 227, 10), 1342177280], [128, _('Start Filtering'), 1006, (7, 161, 52, 14), 1342177281], [128, _('Close'), 2, (187, 162, 50, 14), 1342177280]], 'IDD_WIZARD_TRAINING_IS_IMPORTANT': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('SpamBayes will not be effective until it is trained.'), -1, (11, 8, 191, 14), 1342177280], [128, _('About Training...'), 1017, (209, 140, 65, 15), 1342177280], [130, _('SpamBayes is a system that learns about good and bad mail based on examples you provide. It comes with no built-in rules, so must have some training information before it will be effective.'), -1, (11, 21, 263, 30), 1342177280], [130, _("In this case, SpamBayes will begin by filtering all mail to an 'Unsure' folder. You can then use the 'Spam' and 'Not Spam' buttons to train each message as it arrives. Slowly SpamBayes will learn about your mail."), -1, (22, 61, 252, 29), 1342177280], [130, _('This option will close the wizard, and provide instructions how to sort your mail. You will then be able to configure SpamBayes and have it be immediately effective at filtering your mail'), -1, (22, 106, 252, 27), 1342177280], [130, _('For more information, click the About Training button.'), -1, (11, 143, 187, 12), 1342177280], [128, _('I want to continue without training, and let SpamBayes learn as it goes'), 1088, (11, 50, 263, 11), 1342308361], [128, _('I will pre-sort some good and spam messages, and configure SpamBayes later'), 1089, (11, 92, 263, 11), 1342177289]], 'IDD_FILTER_UNSURE': [[_('Possible Spam'), (0, 0, 249, 124), 1355284672, None, (8, 'Tahoma')], [130, _('To be considered uncertain, a message must score at least'), -1, (12, 11, 212, 10), 1342177280], ['msctls_trackbar32', '', 1029, (12, 18, 165, 20), 1342242821], [129, '', 1030, (183, 24, 54, 14), 1350566016], [130, _('and these messages should be:'), -1, (12, 38, 107, 10), 1342177280], [133, '', 1031, (12, 49, 55, 40), 1344339971], [130, _('to folder'), -1, (74, 52, 31, 10), 1342177280], [130, _('(folder name)'), 1033, (119, 49, 59, 14), 1342312972], [128, _('&Browse'), 1034, (183, 49, 50, 14), 1342177280], [128, _('Mark possible spam as read'), 1051, (12, 70, 101, 10), 1342242819]], 'IDD_WIZARD_FINISHED_UNTRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Congratulations'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes is now configured and ready to start learning about your Spam'), -1, (20, 22, 247, 16), 1342177280], [130, _("As SpamBayes has not been trained, all new mail will arrive in your Unsure folder. As each message arrives, you should use the 'Spam' or 'Not Spam' toolbar buttons as appropriate."), -1, (20, 42, 247, 27), 1342177280], [130, _("If you wish to speed up the training process, you can move all the existing Spam from your Inbox to the new Spam folder, then select 'Training' from the SpamBayes manager."), -1, (20, 83, 247, 31), 1342177280], [130, _('As you train, you will find the accuracy of SpamBayes increases.'), -1, (20, 69, 247, 15), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 121, 148, 9), 1342177280]], 'IDD_GENERAL': [[_('General'), (0, 0, 253, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('SpamBayes Version Here'), 1009, (6, 54, 242, 8), 1342177280], [130, _("SpamBayes requiere entrenamiento previo para ser efectivo. Cliquee en la solapa 'Entrenamiento' o use el Asistente de Configuraci\xf3n para entrenar."), -1, (6, 67, 242, 17), 1342177280], [130, _('Estado de la base de datos de entrenamiento:'), -1, (6, 90, 222, 8), 1342177280], [130, _('123 spam messages; 456 good messages\\r\\nLine2\\r\\nLine3'), 1035, (6, 101, 242, 27), 1342181376], [128, _('Habilitar SpamBayes'), 1013, (6, 173, 97, 11), 1342242819], [130, _('Certain spam is moved to Folder1\\nPossible spam is moved too'), 1014, (6, 146, 242, 19), 1342181376], [128, _('Reiniciar la Configuraci\xf3n...'), 1073, (6, 238, 106, 15), 1342177280], [128, _('Asistente de Configuraci\xf3n...'), 1070, (142, 238, 106, 15), 1342177280], [130, _('Estado del filtro:'), -1, (6, 135, 222, 8), 1342177280], [130, '1062', 1063, (0, 2, 275, 52), 1342179342]], 'IDD_FILTER': [[_('Filtering'), (0, 0, 249, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('Filter the following folders as messages arrive'), -1, (8, 4, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1038, (7, 16, 177, 12), 1342312972], [128, _('Browse...'), 1039, (192, 14, 50, 14), 1342177280], [128, _('Certain Spam'), -1, (7, 33, 235, 80), 1342177287], [130, _('To be considered certain spam, a message must score at least'), -1, (13, 42, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1023, (13, 52, 165, 22), 1342242821], [129, '', 1024, (184, 53, 51, 14), 1350566016], [130, _('and these messages should be:'), -1, (13, 72, 107, 10), 1342177280], [133, '', 1025, (12, 83, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 85, 28, 10), 1342177280], [130, _('Folder names...'), 1027, (102, 83, 77, 14), 1342312972], [128, _('Browse'), 1028, (184, 83, 50, 14), 1342177280], [128, _('Possible Spam'), -1, (6, 117, 235, 81), 1342177287], [130, _('To be considered uncertain, a message must score at least'), -1, (12, 128, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1029, (12, 135, 165, 20), 1342242821], [129, '', 1030, (183, 141, 54, 14), 1350566016], [130, _('and these messages should be:'), -1, (12, 155, 107, 10), 1342177280], [133, '', 1031, (12, 166, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 169, 27, 10), 1342177280], [130, _('(folder name)'), 1033, (102, 166, 77, 14), 1342312972], [128, _('&Browse'), 1034, (184, 166, 50, 14), 1342177280], [128, _('Mark spam as read'), 1047, (13, 100, 81, 10), 1342242819], [128, _('Mark possible spam as read'), 1051, (12, 186, 101, 10), 1342242819], [128, _('Certain Good'), -1, (6, 203, 235, 48), 1342177287], [130, _('These messages should be:'), -1, (12, 215, 107, 10), 1342177280], [133, '', 1032, (12, 228, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 230, 27, 10), 1342177280], [130, _('(folder name)'), 1083, (102, 228, 77, 14), 1342312972], [128, _('&Browse'), 1004, (184, 228, 50, 14), 1342177280]], 'IDD_NOTIFICATIONS': [[_('Notifications'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('New Mail Sounds'), -1, (7, 3, 241, 229), 1342177287], [128, _('Enable new mail notification sounds'), 1098, (14, 17, 129, 10), 1342242819], [130, _('Good sound:'), -1, (14, 31, 42, 8), 1342177280], [129, '', 1094, (14, 40, 174, 14), 1350566016], [128, _('Browse...'), 1101, (192, 40, 50, 14), 1342177280], [130, _('Unsure sound:'), -1, (14, 58, 48, 8), 1342177280], [129, '', 1095, (14, 67, 174, 14), 1350566016], [128, _('Browse...'), 1102, (192, 67, 50, 14), 1342177280], [130, _('Spam sound:'), -1, (14, 85, 42, 8), 1342177280], [129, '', 1096, (14, 94, 174, 14), 1350566016], [128, _('Browse...'), 1103, (192, 94, 50, 14), 1342177280], [130, _('Time to wait for additional messages:'), -1, (14, 116, 142, 8), 1342177280], ['msctls_trackbar32', '', 1099, (14, 127, 148, 22), 1342242821], [129, '', 1100, (163, 133, 40, 14), 1350566016], [130, _('seconds'), -1, (205, 136, 28, 8), 1342177280]], 'IDD_WIZARD_FOLDERS_REST': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1005, (208, 85, 60, 15), 1342177280], [130, _('Spam and Unsure Folders'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes uses two folders to manage your Spam - a folder where 'certain' spam is stored, and another for unsure messages."), -1, (20, 20, 247, 22), 1342177280], [130, _('If you enter a folder name and it does not exist, it will be automatically created. If you would prefer to select an existing folder, click the Browse button.'), -1, (20, 44, 243, 24), 1342177280], [129, '', 1027, (20, 85, 179, 14), 1350566016], [130, _('Unsure messages will be delivered to a folder named'), -1, (20, 105, 186, 12), 1342177280], [129, '', 1033, (20, 117, 177, 14), 1350566016], [130, _('Spam will be delivered to a folder named'), -1, (20, 72, 137, 8), 1342177280], [128, _('Browse...'), 1034, (208, 117, 60, 15), 1342177280]]} ids = {'IDC_DELAY1_SLIDER': 1056, 'IDC_PROGRESS': 1000, 'IDD_MANAGER': 101, 'IDD_DIAGNOSTIC': 113, 'IDD_TRAINING': 102, 'IDC_DELAY2_TEXT': 1059, 'IDC_DELAY1_TEXT': 1057, 'IDD_WIZARD': 114, 'IDC_BROWSE_SPAM_SOUND': 1103, 'IDC_STATIC_HAM': 1002, 'IDC_PROGRESS_TEXT': 1001, 'IDD_GENERAL': 108, 'IDC_BROWSE_UNSURE_SOUND': 1102, 'IDC_TAB': 1068, 'IDC_FOLDER_UNSURE': 1033, 'IDC_VERBOSE_LOG': 1061, 'IDC_EDIT1': 1094, 'IDC_BROWSE': 1037, 'IDC_BACK_BTN': 1069, 'IDD_WIZARD_FINISHED_UNCONFIGURED': 119, 'IDC_ACTION_CERTAIN': 1025, 'IDC_BUT_ACT_ALL': 1019, 'IDD_FILTER_NOW': 104, 'IDC_BROWSE_HAM_SOUND': 1101, 'IDC_MARK_SPAM_AS_READ': 1047, 'IDC_RECOVER_RS': 1075, 'IDC_STATIC': -1, 'IDC_PAGE_PLACEHOLDER': 1078, 'IDC_BROWSE_WATCH': 1039, 'IDC_ACCUMULATE_DELAY_TEXT': 1100, 'IDC_FOLDER_HAM': 1083, 'IDD_WIZARD_FOLDERS_REST': 117, 'IDC_SHOW_DATA_FOLDER': 1071, 'IDC_BUT_ACT_SCORE': 1018, '_APS_NEXT_RESOURCE_VALUE': 129, '_APS_NEXT_SYMED_VALUE': 101, 'IDC_SLIDER_CERTAIN': 1023, 'IDC_BUT_UNREAD': 1020, 'IDC_BUT_ABOUT': 1017, 'IDC_BUT_RESCORE': 1008, 'IDC_BUT_SEARCHSUB': 1041, 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER': 1010, 'IDC_LAST_RESET_DATE': 1097, 'IDD_WIZARD_FOLDERS_TRAIN': 120, 'IDC_BUT_FILTER_ENABLE': 1013, 'IDC_ABOUT_BTN': 1072, 'IDD_WIZARD_FINISHED_TRAINED': 122, 'IDD_FOLDER_SELECTOR': 105, 'IDD_STATISTICS': 107, 'IDC_LIST_FOLDERS': 1040, 'IDB_SBWIZLOGO': 125, 'IDC_BUT_VIEW_LOG': 1093, 'IDC_STATUS2': 1044, 'IDC_STATUS1': 1043, 'IDCANCEL': 2, 'IDC_BROWSE_HAM': 1004, 'IDC_BROWSE_SPAM': 1005, 'IDD_WIZARD_FINISHED_UNTRAINED': 116, 'IDC_MARK_UNSURE_AS_READ': 1051, 'IDC_BROWSE_HAM_SOUND2': 1103, 'IDC_BUT_WIZARD': 1070, 'IDC_VERSION': 1009, 'IDC_FOLDER_NAMES': 1036, 'IDC_BUT_TIMER_ENABLED': 1091, 'IDC_SLIDER_UNSURE': 1029, 'IDC_BUT_NEW': 1046, 'IDC_FOLDER_WATCH': 1038, 'IDC_BUT_UNTRAINED': 1088, 'IDC_STATIC_SPAM': 1003, 'IDC_EDIT_UNSURE': 1030, 'IDC_BUT_CLEARALL': 1042, 'IDC_BUT_UNSEEN': 1021, 'IDD_WIZARD_FOLDERS_WATCH': 118, 'IDC_HAM_SOUND': 1094, 'IDC_EDIT_CERTAIN': 1024, 'IDC_BUT_FILTER_DEFINE': 1016, 'IDC_FORWARD_BTN': 1077, '_APS_NEXT_CONTROL_VALUE': 1102, 'IDC_INBOX_TIMER_ONLY': 1060, 'IDD_ADVANCED': 106, 'IDC_WIZ_GRAPHIC': 1092, 'IDD_FILTER_UNSURE': 40002, 'IDC_DEL_SPAM_RS': 1074, 'IDB_FOLDERS': 127, 'IDC_BUT_PREPARATION': 1081, 'IDC_DELAY2_SLIDER': 1058, 'IDC_ACCUMULATE_DELAY_SLIDER': 1099, 'IDC_SAVE_SPAM_SCORE': 1048, 'IDC_FOLDER_CERTAIN': 1027, 'IDB_SBLOGO': 1062, 'IDC_BROWSE_UNSURE': 1034, 'IDC_STATISTICS': 1095, 'IDC_BUT_RESET_STATS': 1096, 'IDC_BUT_TRAIN_TO_SPAM_FOLDER': 1011, 'IDD_FILTER_SPAM': 110, 'IDC_BUT_RESET': 1073, 'IDD_NOTIFICATIONS': 128, 'IDC_ACTION_UNSURE': 1031, 'IDD_WIZARD_TRAIN': 121, 'IDD_WIZARD_FINISHED_TRAIN_LATER': 124, 'IDC_ACTION_HAM': 1032, 'IDC_BUT_REBUILD': 1007, '_APS_NEXT_COMMAND_VALUE': 40001, 'IDC_ENABLE_SOUNDS': 1098, 'IDC_SPAM_SOUND': 1096, 'IDC_UNSURE_SOUND': 1095, 'IDD_WIZARD_TRAINING_IS_IMPORTANT': 123, 'IDC_TRAINING_STATUS': 1035, 'IDD_WIZARD_WELCOME': 115, 'IDC_BUT_TRAIN': 1089, 'IDC_START': 1006, 'IDD_FILTER': 103, 'IDC_LOGO_GRAPHIC': 1063, 'IDC_FILTER_STATUS': 1014, 'IDOK': 1, 'IDC_BROWSE_CERTAIN': 1028, 'IDC_BUT_SHOW_DIAGNOSTICS': 1080, 'IDC_BUT_TRAIN_NOW': 1012} names = {1024: 'IDC_EDIT_CERTAIN', 1: 'IDOK', 2: 'IDCANCEL', 1027: 'IDC_FOLDER_CERTAIN', 1028: 'IDC_BROWSE_CERTAIN', 1029: 'IDC_SLIDER_UNSURE', 1030: 'IDC_EDIT_UNSURE', 1031: 'IDC_ACTION_UNSURE', 1032: 'IDC_ACTION_HAM', 1033: 'IDC_FOLDER_UNSURE', 1034: 'IDC_BROWSE_UNSURE', 1035: 'IDC_TRAINING_STATUS', 1036: 'IDC_FOLDER_NAMES', 1037: 'IDC_BROWSE', 1038: 'IDC_FOLDER_WATCH', 1039: 'IDC_BROWSE_WATCH', 1040: 'IDC_LIST_FOLDERS', 1041: 'IDC_BUT_SEARCHSUB', 1042: 'IDC_BUT_CLEARALL', 1043: 'IDC_STATUS1', 1044: 'IDC_STATUS2', 1046: 'IDC_BUT_NEW', 1047: 'IDC_MARK_SPAM_AS_READ', 1048: 'IDC_SAVE_SPAM_SCORE', 1051: 'IDC_MARK_UNSURE_AS_READ', 1056: 'IDC_DELAY1_SLIDER', 1057: 'IDC_DELAY1_TEXT', 1058: 'IDC_DELAY2_SLIDER', 1059: 'IDC_DELAY2_TEXT', 1060: 'IDC_INBOX_TIMER_ONLY', 1061: 'IDC_VERBOSE_LOG', 1062: 'IDB_SBLOGO', 1063: 'IDC_LOGO_GRAPHIC', 1068: 'IDC_TAB', 1069: 'IDC_BACK_BTN', 1070: 'IDC_BUT_WIZARD', 1071: 'IDC_SHOW_DATA_FOLDER', 1072: 'IDC_ABOUT_BTN', 1073: 'IDC_BUT_RESET', 1074: 'IDC_DEL_SPAM_RS', 1075: 'IDC_RECOVER_RS', 1077: 'IDC_FORWARD_BTN', 1078: 'IDC_PAGE_PLACEHOLDER', 1080: 'IDC_BUT_SHOW_DIAGNOSTICS', 1081: 'IDC_BUT_PREPARATION', 1083: 'IDC_FOLDER_HAM', 1088: 'IDC_BUT_UNTRAINED', 1089: 'IDC_BUT_TRAIN', 40002: 'IDD_FILTER_UNSURE', 1091: 'IDC_BUT_TIMER_ENABLED', 1025: 'IDC_ACTION_CERTAIN', 1093: 'IDC_BUT_VIEW_LOG', 1094: 'IDC_EDIT1', 1095: 'IDC_STATISTICS', 1096: 'IDC_BUT_RESET_STATS', 1097: 'IDC_LAST_RESET_DATE', 1098: 'IDC_ENABLE_SOUNDS', 1099: 'IDC_ACCUMULATE_DELAY_SLIDER', 1100: 'IDC_ACCUMULATE_DELAY_TEXT', 1101: 'IDC_BROWSE_HAM_SOUND', 1102: 'IDC_BROWSE_UNSURE_SOUND', 1103: 'IDC_BROWSE_HAM_SOUND2', 101: 'IDD_MANAGER', 102: 'IDD_TRAINING', 103: 'IDD_FILTER', 104: 'IDD_FILTER_NOW', 105: 'IDD_FOLDER_SELECTOR', 106: 'IDD_ADVANCED', 107: 'IDD_STATISTICS', 108: 'IDD_GENERAL', 110: 'IDD_FILTER_SPAM', 113: 'IDD_DIAGNOSTIC', 114: 'IDD_WIZARD', 115: 'IDD_WIZARD_WELCOME', 116: 'IDD_WIZARD_FINISHED_UNTRAINED', 117: 'IDD_WIZARD_FOLDERS_REST', 118: 'IDD_WIZARD_FOLDERS_WATCH', 119: 'IDD_WIZARD_FINISHED_UNCONFIGURED', 120: 'IDD_WIZARD_FOLDERS_TRAIN', 121: 'IDD_WIZARD_TRAIN', 122: 'IDD_WIZARD_FINISHED_TRAINED', 123: 'IDD_WIZARD_TRAINING_IS_IMPORTANT', 124: 'IDD_WIZARD_FINISHED_TRAIN_LATER', 125: 'IDB_SBWIZLOGO', 127: 'IDB_FOLDERS', 128: 'IDD_NOTIFICATIONS', 129: '_APS_NEXT_RESOURCE_VALUE', 40001: '_APS_NEXT_COMMAND_VALUE', 1092: 'IDC_WIZ_GRAPHIC', 1000: 'IDC_PROGRESS', 1001: 'IDC_PROGRESS_TEXT', 1002: 'IDC_STATIC_HAM', 1003: 'IDC_STATIC_SPAM', 1004: 'IDC_BROWSE_HAM', 1005: 'IDC_BROWSE_SPAM', 1006: 'IDC_START', 1007: 'IDC_BUT_REBUILD', 1008: 'IDC_BUT_RESCORE', 1009: 'IDC_VERSION', 1010: 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER', 1011: 'IDC_BUT_TRAIN_TO_SPAM_FOLDER', 1012: 'IDC_BUT_TRAIN_NOW', 1013: 'IDC_BUT_FILTER_ENABLE', 1014: 'IDC_FILTER_STATUS', 1016: 'IDC_BUT_FILTER_DEFINE', 1017: 'IDC_BUT_ABOUT', 1018: 'IDC_BUT_ACT_SCORE', 1019: 'IDC_BUT_ACT_ALL', 1020: 'IDC_BUT_UNREAD', 1021: 'IDC_BUT_UNSEEN', -1: 'IDC_STATIC', 1023: 'IDC_SLIDER_CERTAIN'} bitmaps = {'IDB_SBWIZLOGO': 'sbwizlogo.bmp', 'IDB_SBLOGO': 'sblogo.bmp', 'IDB_FOLDERS': 'folders.bmp'} def ParseDialogs(s): return FakeParser() From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:04 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:09 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR/LC_MESSAGES __init__.py, NONE, 1.1 messages.mo, NONE, 1.1 messages.po, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es_AR/LC_MESSAGES Added Files: __init__.py messages.mo messages.po Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: __init__.py --- --- NEW FILE: messages.mo --- (This appears to be a binary file; contents omitted.) --- NEW FILE: messages.po --- msgid "" msgstr "" "Project-Id-Version: SpamBayes 1.1\n" "POT-Creation-Date: \n" "PO-Revision-Date: 2005-01-04 14:30+1200\n" "Last-Translator: Tony Meyer \n" "Language-Team: Hernn Foffani et al \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Spanish\n" "X-Poedit-Country: ARGENTINA\n" #: Outlook2000\addin.py:587 msgid "Are you sure you want to permanently delete all items in the \"%s\" folder?" msgstr "" #: Outlook2000\addin.py:598 msgid "The \"%s\" folder is already empty." [...3043 lines suppressed...] #: spambayes\UserInterface.py:1100 msgid "[YOUR EMAIL ADDRESS]" msgstr "" #: spambayes\UserInterface.py:1102 msgid "[DESCRIBE YOUR PROBLEM HERE]" msgstr "" #: spambayes\UserInterface.py:1104 msgid "[PROBLEM SUMMARY]" msgstr "" #: spambayes\Version.py:224 msgid "%s Version %s (%s)" msgstr "" #: spambayes\__init__.py:9 msgid "January 2005" msgstr "" From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:04 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:13:09 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/es_AR/DIALOGS .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 dialogs.rc, NONE, 1.1 i18n_dialogs.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/es_AR/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/es_AR/DIALOGS Added Files: .cvsignore __init__.py dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo --- NEW FILE: __init__.py --- --- NEW FILE: dialogs.rc --- //Microsoft Developer Studio generated resource script. // #include "dialogs.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "winres.h" // spambayes dialog definitions ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // Ingls (Estados Unidos) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_ADVANCED DIALOGEX 0, 0, 248, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Advanced" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN GROUPBOX "Filter timer",IDC_STATIC,7,3,234,117 CONTROL "",IDC_DELAY1_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,36,148,22 LTEXT "Processing start delay",IDC_STATIC,16,26,101,8 EDITTEXT IDC_DELAY1_TEXT,165,39,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,208,41,28,8 CONTROL "",IDC_DELAY2_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,73,148,22 LTEXT "Delay between processing items",IDC_STATIC,16,62,142,8 EDITTEXT IDC_DELAY2_TEXT,165,79,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,207,82,28,8 CONTROL "Only for folders that receive new mail", IDC_INBOX_TIMER_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,100,217,10 PUSHBUTTON "Show Data Folder",IDC_SHOW_DATA_FOLDER,7,238,70,14 CONTROL "Enable background filtering",IDC_BUT_TIMER_ENABLED, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,12,162,10 PUSHBUTTON "Diagnostics...",IDC_BUT_SHOW_DIAGNOSTICS,171,238,70,14 END IDD_STATISTICS DIALOG DISCARDABLE 0, 0, 248, 257 STYLE WS_CHILD | WS_CAPTION CAPTION "Statistics" FONT 8, "Tahoma" BEGIN GROUPBOX "Statistics",IDC_STATIC,7,3,241,229 LTEXT "some stats\nand some more\nline 3\nline 4\nline 5", IDC_STATISTICS,12,12,230,204 PUSHBUTTON "Reset Statistics",IDC_BUT_RESET_STATS,178,238,70,14 LTEXT "Last reset:",IDC_STATIC,7,241,36,8 LTEXT "<<>>",IDC_LAST_RESET_DATE,47,241,107,8 END IDD_MANAGER DIALOGEX 0, 0, 275, 308 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Manager" FONT 8, "Tahoma" BEGIN DEFPUSHBUTTON "Close",IDOK,216,287,50,14 PUSHBUTTON "Cancel",IDCANCEL,155,287,50,14,NOT WS_VISIBLE CONTROL "",IDC_TAB,"SysTabControl32",0x0,8,7,258,276 PUSHBUTTON "About",IDC_ABOUT_BTN,8,287,50,14 END IDD_FILTER_SPAM DIALOGEX 0, 0, 251, 147 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Spam" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "Filter the following folders as messages arrive", IDC_STATIC,8,9,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,20,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,194,19,50,14 GROUPBOX "Certain Spam",IDC_STATIC,7,43,237,80 LTEXT "To be considered certain spam, a message must score at least", IDC_STATIC,13,52,212,10 CONTROL "",IDC_SLIDER_CERTAIN,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,62,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,63,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,82,107,10 COMBOBOX IDC_ACTION_CERTAIN,13,93,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,75,95,31,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,120,93,59,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,93,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,110,81,10 END IDD_FILTER_UNSURE DIALOGEX 0, 0, 249, 124 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Possible Spam" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,11,212,10 CONTROL "",IDC_SLIDER_UNSURE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,18,165,20 EDITTEXT IDC_EDIT_UNSURE,183,24,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,38,107,10 COMBOBOX IDC_ACTION_UNSURE,12,49,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,74,52,31,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,119,49,59,14 PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,183,49,50,14 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,70,101,10 END IDD_DIAGNOSTIC DIALOGEX 0, 0, 183, 98 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Diagnostics" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "These advanced options are for diagnostic or debugging purposes only. You should only change these options if specifically asked to, or you know exactly what they mean.", IDC_STATIC,5,3,174,36 LTEXT "Log file verbosity",IDC_STATIC,5,44,56,8 EDITTEXT IDC_VERBOSE_LOG,73,42,40,14,ES_AUTOHSCROLL PUSHBUTTON "View log...",IDC_BUT_VIEW_LOG,129,41,50,14 CONTROL "Save Spam Score",IDC_SAVE_SPAM_SCORE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,5,63,72,10 PUSHBUTTON "Cancel",IDCANCEL,69,79,50,14,NOT WS_VISIBLE DEFPUSHBUTTON "Close",IDOK,129,79,50,14 END IDD_WIZARD DIALOGEX 0, 0, 384, 190 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Configuration Wizard" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN PUSHBUTTON "Cancel",IDCANCEL,328,173,50,14 PUSHBUTTON "<< Back",IDC_BACK_BTN,216,173,50,14 DEFPUSHBUTTON "Next>>,Finish",IDC_FORWARD_BTN,269,173,50,14 CONTROL "",IDC_PAGE_PLACEHOLDER,"Static",SS_ETCHEDFRAME,75,4,303, 167 CONTROL 125,IDC_WIZ_GRAPHIC,"Static",SS_BITMAP,0,0,69,190 END IDD_WIZARD_WELCOME DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Welcome to the SpamBayes configuration wizard", IDC_STATIC,20,4,191,14 LTEXT "This wizard will help you configure the SpamBayes Outlook addin. Please indicate how you have prepared for this application.", IDC_STATIC,20,20,255,18 CONTROL "I haven't prepared for SpamBayes at all.", IDC_BUT_PREPARATION,"Button",BS_AUTORADIOBUTTON | BS_TOP | WS_GROUP,20,42,190,11 CONTROL "I have already sorted good messages (ham) and spam messages into folders that are suitable for training purposes.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,20,59,255,18 CONTROL "I would prefer to configure SpamBayes manually.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP,20,82, 187,12 LTEXT "If you would like more information about training and configuring SpamBayes, click the About button.", IDC_STATIC,20,103,185,20 PUSHBUTTON "About...",IDC_BUT_ABOUT,215,104,60,15 LTEXT "If you cancel the wizard, you can access it again via the SpamBayes Manager, available from the SpamBayes toolbar.", IDC_STATIC,20,137,232,17 END IDD_WIZARD_FINISHED_UNTRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Congratulations",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes is now configured and ready to start learning about your Spam", IDC_STATIC,20,22,247,16 LTEXT "As SpamBayes has not been trained, all new mail will arrive in your Unsure folder. As each message arrives, you should use the 'Spam' or 'Not Spam' toolbar buttons as appropriate.", IDC_STATIC,20,42,247,27 LTEXT "If you wish to speed up the training process, you can move all the existing Spam from your Inbox to the new Spam folder, then select 'Training' from the SpamBayes manager.", IDC_STATIC,20,83,247,31 LTEXT "As you train, you will find the accuracy of SpamBayes increases.", IDC_STATIC,20,69,247,15 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,121, 148,9 END IDD_WIZARD_FOLDERS_REST DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_SPAM,208,85,60,15 LTEXT "Spam and Unsure Folders",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes uses two folders to manage your Spam - a folder where 'certain' spam is stored, and another for unsure messages.", IDC_STATIC,20,20,247,22 LTEXT "If you enter a folder name and it does not exist, it will be automatically created. If you would prefer to select an existing folder, click the Browse button.", IDC_STATIC,20,44,243,24 EDITTEXT IDC_FOLDER_CERTAIN,20,85,179,14,ES_AUTOHSCROLL LTEXT "Unsure messages will be delivered to a folder named", IDC_STATIC,20,105,186,12 EDITTEXT IDC_FOLDER_UNSURE,20,117,177,14,ES_AUTOHSCROLL LTEXT "Spam will be delivered to a folder named",IDC_STATIC,20, 72,137,8 PUSHBUTTON "Browse...",IDC_BROWSE_UNSURE,208,117,60,15 END IDD_WIZARD_FOLDERS_WATCH DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,225,134,50,14 LTEXT "Folders that receive new messages",IDC_STATIC,20,4,247, 14 LTEXT "SpamBayes needs to know what folders are used to receive new messages. In most cases, this will be your Inbox, but you may also specify additional folders to be watched for spam.", IDC_STATIC,20,21,247,25 LTEXT "The following folders will be watched for new messages. Use the Browse button to change the list, or Next if the list of folders is correct.", IDC_STATIC,20,79,247,20 LTEXT "If you use the Outlook rule wizard to move messages into folders, you may like to select these folders in addition to your inbox.", IDC_STATIC,20,51,241,20 EDITTEXT IDC_FOLDER_WATCH,20,100,195,48,ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY END IDD_WIZARD_FINISHED_UNCONFIGURED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Configuration cancelled",IDC_STATIC,20,4,247,14 LTEXT "The main SpamBayes options will now be displayed. You must define your folders and enable SpamBayes before it will begin filtering mail.", IDC_STATIC,20,29,247,16 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,139, 148,9 END IDD_WIZARD_FOLDERS_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Browse...",IDC_BROWSE_HAM,208,49,60,15 LTEXT "Training",IDC_STATIC,20,4,247,10 LTEXT "Please select the folders with the pre-sorted good messages and the folders with the pre-sorted spam messages.", IDC_STATIC,20,16,243,16 EDITTEXT IDC_FOLDER_HAM,20,49,179,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Examples of Spam, or unwanted messages can be found in", IDC_STATIC,20,71,198,8 EDITTEXT IDC_FOLDER_CERTAIN,20,81,177,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Examples of good messages can be found in",IDC_STATIC, 20,38,153,8 PUSHBUTTON "Browse...",IDC_BROWSE_SPAM,208,81,60,15 LTEXT "If you have not pre-sorted your messages, or already have training information you wish to keep, please select the Back button and indicate you have not prepared for SpamBayes.", IDC_STATIC,20,128,243,26 CONTROL "Score messages when training is complete", IDC_BUT_RESCORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20, 108,163,16 END IDD_WIZARD_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Training",-1,20,4,247,14 LTEXT "SpamBayes is training on your good and spam messages.", -1,20,22,247,16 CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,20,45,255, 11 LTEXT "(progress text)",IDC_PROGRESS_TEXT,20,61,257,10 END IDD_WIZARD_FINISHED_TRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Congratulations",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes has been successfully trained and configured. You should find the system is immediately effective at filtering spam.", IDC_TRAINING_STATUS,20,35,247,26 LTEXT "Even though SpamBayes has been trained, it does continue to learn - please ensure you regularly check your Unsure folder, and use the 'Spam' or 'Not Spam' buttons as appropriate.", IDC_STATIC,20,68,249,30 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,104, 148,9 END IDD_WIZARD_TRAINING_IS_IMPORTANT DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "SpamBayes will not be effective until it is trained.", IDC_STATIC,11,8,191,14 PUSHBUTTON "About Training...",IDC_BUT_ABOUT,209,140,65,15 LTEXT "SpamBayes is a system that learns about good and bad mail based on examples you provide. It comes with no built-in rules, so must have some training information before it will be effective.", IDC_STATIC,11,21,263,30 LTEXT "In this case, SpamBayes will begin by filtering all mail to an 'Unsure' folder. You can then use the 'Spam' and 'Not Spam' buttons to train each message as it arrives. Slowly SpamBayes will learn about your mail.", IDC_STATIC,22,61,252,29 LTEXT "This option will close the wizard, and provide instructions how to sort your mail. You will then be able to configure SpamBayes and have it be immediately effective at filtering your mail", IDC_STATIC,22,106,252,27 LTEXT "For more information, click the About Training button.", IDC_STATIC,11,143,187,12 CONTROL "I want to continue without training, and let SpamBayes learn as it goes", IDC_BUT_UNTRAINED,"Button",BS_AUTORADIOBUTTON | WS_GROUP, 11,50,263,11 CONTROL "I will pre-sort some good and spam messages, and configure SpamBayes later", IDC_BUT_TRAIN,"Button",BS_AUTORADIOBUTTON,11,92,263,11 END IDD_WIZARD_FINISHED_TRAIN_LATER DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Configuration suspended",IDC_STATIC,20,4,247,14 LTEXT "To perform initial training, you should create a folder that contains only examples of good messages, and another that contains only examples of spam.", IDC_STATIC,20,17,247,27 LTEXT "Click Finish to close the wizard.",IDC_STATIC,20,145, 148,9 LTEXT "For examples of good messages, you may like to use your Inbox - however, it is important you remove all spam from this folder before you commence", IDC_STATIC,20,42,247,26 LTEXT "training. If you have too much spam in your Inbox, you may like to create a temporary folder and copy some examples to it.", IDC_STATIC,20,58,247,17 LTEXT "For examples of spam messages, you may like to look through your Deleted Items folder, and your Inbox. However, you will not be able to specify the Deleted Items folder as examples of spam, so you will need to move them to a folder you create.", IDC_STATIC,20,80,247,35 LTEXT "When you are finished, open the SpamBayes Manager via the SpamBayes toolbar, and re-start the Configuration Wizard.", IDC_STATIC,20,121,245,17 END IDD_NOTIFICATIONS DIALOGEX 0, 0, 248, 257 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION CAPTION "Notifications" FONT 8, "Tahoma", 0, 0, 0x0 BEGIN GROUPBOX "New Mail Sounds",IDC_STATIC,7,3,241,229 CONTROL "Enable new mail notification sounds",IDC_ENABLE_SOUNDS, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,17,129,10 LTEXT "Good sound:",IDC_STATIC,14,31,42,8 EDITTEXT IDC_HAM_SOUND,14,40,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_HAM_SOUND,192,40,50,14 LTEXT "Unsure sound:",IDC_STATIC,14,58,48,8 EDITTEXT IDC_UNSURE_SOUND,14,67,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_UNSURE_SOUND,192,67,50,14 LTEXT "Spam sound:",IDC_STATIC,14,85,42,8 EDITTEXT IDC_SPAM_SOUND,14,94,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_SPAM_SOUND,192,94,50,14 LTEXT "Time to wait for additional messages:",IDC_STATIC,14, 116,142,8 CONTROL "",IDC_ACCUMULATE_DELAY_SLIDER,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,14,127,148,22 EDITTEXT IDC_ACCUMULATE_DELAY_TEXT,163,133,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,205,136,28,8 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_ADVANCED, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 241 VERTGUIDE, 16 BOTTOMMARGIN, 204 END IDD_MANAGER, DIALOG BEGIN BOTTOMMARGIN, 253 END IDD_FILTER_SPAM, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 244 TOPMARGIN, 7 BOTTOMMARGIN, 140 END IDD_FILTER_UNSURE, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 242 TOPMARGIN, 7 BOTTOMMARGIN, 117 END IDD_DIAGNOSTIC, DIALOG BEGIN LEFTMARGIN, 5 RIGHTMARGIN, 179 BOTTOMMARGIN, 93 END IDD_WIZARD, DIALOG BEGIN RIGHTMARGIN, 378 END IDD_WIZARD_WELCOME, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 275 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNTRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_REST, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 85 HORZGUIDE, 117 END IDD_WIZARD_FOLDERS_WATCH, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNCONFIGURED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_TRAIN, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 49 HORZGUIDE, 81 END IDD_WIZARD_TRAIN, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_TRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_TRAINING_IS_IMPORTANT, DIALOG BEGIN VERTGUIDE, 11 VERTGUIDE, 22 VERTGUIDE, 274 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_TRAIN_LATER, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_SBLOGO BITMAP MOVEABLE PURE "sblogo.bmp" IDB_SBWIZLOGO BITMAP MOVEABLE PURE "sbwizlogo.bmp" #endif // Ingls (Estados Unidos) resources ///////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////// // Ingls (Australia) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_GENERAL DIALOGEX 0, 0, 253, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "General" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "SpamBayes Version Here",IDC_VERSION,6,54,242,8 LTEXT "SpamBayes requiere entrenamiento previo para ser efectivo. Cliquee en la solapa 'Entrenamiento' o use el Asistente de Configuracin para entrenar.", IDC_STATIC,6,67,242,17 LTEXT "Estado de la base de datos de entrenamiento:", IDC_STATIC,6,90,222,8 LTEXT "123 spam messages; 456 good messages\r\nLine2\r\nLine3", IDC_TRAINING_STATUS,6,101,242,27,SS_SUNKEN CONTROL "Habilitar SpamBayes",IDC_BUT_FILTER_ENABLE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,6,173,97,11 LTEXT "Certain spam is moved to Folder1\nPossible spam is moved too", IDC_FILTER_STATUS,6,146,242,19,SS_SUNKEN PUSHBUTTON "Reiniciar la Configuracin...",IDC_BUT_RESET,6,238,106, 15 PUSHBUTTON "Asistente de Configuracin...",IDC_BUT_WIZARD,142,238, 106,15 LTEXT "Estado del filtro:",IDC_STATIC,6,135,222,8 CONTROL 1062,IDC_LOGO_GRAPHIC,"Static",SS_BITMAP | SS_REALSIZEIMAGE,0,2,275,52 END IDD_TRAINING DIALOGEX 0, 0, 252, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Training" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN GROUPBOX "",IDC_STATIC,5,1,243,113 LTEXT "Folders with known good messages.",IDC_STATIC,11,11,131, 11 CONTROL "",IDC_STATIC_HAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,11,21,175,12 PUSHBUTTON "&Browse...",IDC_BROWSE_HAM,192,20,50,14 LTEXT "Folders with spam or other junk messages.",IDC_STATIC, 11,36,171,9 CONTROL "Static",IDC_STATIC_SPAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,11,46,174,12 PUSHBUTTON "Brow&se...",IDC_BROWSE_SPAM,192,46,50,14 CONTROL "Score &messages after training",IDC_BUT_RESCORE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,11,64,111,10 CONTROL "&Rebuild entire database",IDC_BUT_REBUILD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,137,64,92,10 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER, 11,76,231,11 PUSHBUTTON "&Start Training",IDC_START,11,91,54,14,BS_NOTIFY LTEXT "training status training status training status training status training status training status training status ", IDC_PROGRESS_TEXT,75,89,149,17 GROUPBOX "Incremental Training",IDC_STATIC,4,117,244,87 CONTROL "Train that a message is good when it is moved from a spam folder back to the Inbox.", IDC_BUT_TRAIN_FROM_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,127,204,18 LTEXT "Clicking 'Not Spam' button should",IDC_STATIC,10,148, 115,10 COMBOBOX IDC_RECOVER_RS,127,145,114,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Train that a message is spam when it is moved to the spam folder.", IDC_BUT_TRAIN_TO_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,163,204,16 LTEXT "Clicking 'Spam' button should",IDC_STATIC,10,183,104,10 COMBOBOX IDC_DEL_SPAM_RS,127,180,114,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END IDD_FILTER_NOW DIALOGEX 0, 0, 244, 185 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filter Now" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Filter the following folders",IDC_STATIC,8,9,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_NAMES,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,7,20,172, 12 PUSHBUTTON "Browse...",IDC_BROWSE,187,19,50,14 GROUPBOX "Filter action",IDC_STATIC,7,38,230,40,WS_GROUP CONTROL "Perform all filter actions",IDC_BUT_ACT_ALL,"Button", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,15,49,126,10 CONTROL "Score messages, but don't perform filter action", IDC_BUT_ACT_SCORE,"Button",BS_AUTORADIOBUTTON,15,62,203, 10 GROUPBOX "Restrict the filter to",IDC_STATIC,7,84,230,35,WS_GROUP CONTROL "Unread mail",IDC_BUT_UNREAD,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,94,149,9 CONTROL "Mail never previously spam filtered",IDC_BUT_UNSEEN, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,106,149,9 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7, 129,230,11 LTEXT "Static",IDC_PROGRESS_TEXT,7,144,227,10 DEFPUSHBUTTON "Start Filtering",IDC_START,7,161,52,14 PUSHBUTTON "Close",IDCANCEL,187,162,50,14 END IDD_FILTER DIALOGEX 0, 0, 249, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtering" FONT 8, "Tahoma" BEGIN LTEXT "Filter the following folders as messages arrive", IDC_STATIC,8,4,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,16,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,192,14,50,14 GROUPBOX "Certain Spam",IDC_STATIC,7,33,235,80 LTEXT "To be considered certain spam, a message must score at least", IDC_STATIC,13,42,212,10 CONTROL "Slider1",IDC_SLIDER_CERTAIN,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,52,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,53,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,72,107,10 COMBOBOX IDC_ACTION_CERTAIN,12,83,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,85,28,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,83,77,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,83,50,14 GROUPBOX "Possible Spam",IDC_STATIC,6,117,235,81 LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,128,212,10 CONTROL "Slider1",IDC_SLIDER_UNSURE,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,135,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,155,107,10 COMBOBOX IDC_ACTION_UNSURE,12,166,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,169,27,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,166,77,14 PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,184,166,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,100,81,10 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,186,101,10 GROUPBOX "Certain Good",IDC_STATIC,6,203,235,48 LTEXT "These messages should be:",IDC_STATIC,12,215,107,10 COMBOBOX IDC_ACTION_HAM,12,228,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "to folder",IDC_STATIC,71,230,27,10 CONTROL "(folder name)",IDC_FOLDER_HAM,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,228,77,14 PUSHBUTTON "&Browse",IDC_BROWSE_HAM,184,228,50,14 END IDD_FOLDER_SELECTOR DIALOGEX 0, 0, 247, 215 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Dialog" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "&Folders:",IDC_STATIC,7,7,47,9 CONTROL "",IDC_LIST_FOLDERS,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_CHECKBOXES | WS_BORDER | WS_TABSTOP,7,21,172,140 CONTROL "(sub)",IDC_BUT_SEARCHSUB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,167,126,9 LTEXT "(status1)",IDC_STATUS1,7,180,220,9 LTEXT "(status2)",IDC_STATUS2,7,194,220,9 DEFPUSHBUTTON "OK",IDOK,190,21,50,14 PUSHBUTTON "Cancel",IDCANCEL,190,39,50,14 PUSHBUTTON "C&lear All",IDC_BUT_CLEARALL,190,58,50,14 PUSHBUTTON "&New folder",IDC_BUT_NEW,190,77,50,14 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_GENERAL, DIALOG BEGIN RIGHTMARGIN, 248 VERTGUIDE, 6 BOTTOMMARGIN, 205 END IDD_TRAINING, DIALOG BEGIN RIGHTMARGIN, 241 VERTGUIDE, 11 VERTGUIDE, 242 BOTTOMMARGIN, 207 END IDD_FILTER_NOW, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 237 TOPMARGIN, 9 BOTTOMMARGIN, 176 END IDD_FILTER, DIALOG BEGIN BOTTOMMARGIN, 254 HORZGUIDE, 127 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_FOLDERS BITMAP MOVEABLE PURE "folders.bmp" #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE MOVEABLE PURE BEGIN "dialogs.h\0" END 2 TEXTINCLUDE MOVEABLE PURE BEGIN "#include ""winres.h""\r\n" "// spambayes dialog definitions\r\n" "\0" END 3 TEXTINCLUDE MOVEABLE PURE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED #endif // Ingls (Australia) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED --- NEW FILE: i18n_dialogs.py --- #c:\spambayes\languages\es_AR\DIALOGS\i18n_dialogs.py #This is a generated file. Please edit c:\spambayes\languages\es_AR\DIALOGS\dialogs.rc instead. _rc_size_=33884 _rc_mtime_=1112074549 try: _ except NameError: def _(s): return s class FakeParser: dialogs = {'IDD_MANAGER': [[_('SpamBayes Manager'), (0, 0, 275, 308), -1865940928, 1024, (8, 'Tahoma')], [128, _('Close'), 1, (216, 287, 50, 14), 1342177281], [128, _('Cancel'), 2, (155, 287, 50, 14), 1073741824], ['SysTabControl32', '', 1068, (8, 7, 258, 276), 1342177280], [128, _('About'), 1072, (8, 287, 50, 14), 1342177280]], 'IDD_DIAGNOSTIC': [[_('Diagnostics'), (0, 0, 183, 98), -1865940928, 1024, (8, 'Tahoma')], [130, _('These advanced options are for diagnostic or debugging purposes only. You should only change these options if specifically asked to, or you know exactly what they mean.'), -1, (5, 3, 174, 36), 1342177280], [130, _('Log file verbosity'), -1, (5, 44, 56, 8), 1342177280], [129, '', 1061, (73, 42, 40, 14), 1350566016], [128, _('View log...'), 1093, (129, 41, 50, 14), 1342177280], [128, _('Save Spam Score'), 1048, (5, 63, 72, 10), 1342242819], [128, _('Cancel'), 2, (69, 79, 50, 14), 1073741824], [128, _('Close'), 1, (129, 79, 50, 14), 1342177281]], 'IDD_FILTER_SPAM': [[_('Spam'), (0, 0, 251, 147), 1355284672, None, (8, 'Tahoma')], [130, _('Filter the following folders as messages arrive'), -1, (8, 9, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1038, (7, 20, 177, 12), 1342312972], [128, _('Browse...'), 1039, (194, 19, 50, 14), 1342177280], [128, _('Certain Spam'), -1, (7, 43, 237, 80), 1342177287], [130, _('To be considered certain spam, a message must score at least'), -1, (13, 52, 212, 10), 1342177280], ['msctls_trackbar32', '', 1023, (13, 62, 165, 22), 1342242821], [129, '', 1024, (184, 63, 51, 14), 1350566016], [130, _('and these messages should be:'), -1, (13, 82, 107, 10), 1342177280], [133, '', 1025, (13, 93, 55, 40), 1344339971], [130, _('to folder'), -1, (75, 95, 31, 10), 1342177280], [130, _('Folder names...'), 1027, (120, 93, 59, 14), 1342312972], [128, _('Browse'), 1028, (184, 93, 50, 14), 1342177280], [128, _('Mark spam as read'), 1047, (13, 110, 81, 10), 1342242819]], 'IDD_TRAINING': [[_('Training'), (0, 0, 252, 257), 1355284672, 1024, (8, 'Tahoma')], [128, '', -1, (5, 1, 243, 113), 1342177287], [130, _('Folders with known good messages.'), -1, (11, 11, 131, 11), 1342177280], [130, '', 1002, (11, 21, 175, 12), 1342181900], [128, _('&Browse...'), 1004, (192, 20, 50, 14), 1342177280], [130, _('Folders with spam or other junk messages.'), -1, (11, 36, 171, 9), 1342177280], [130, _('Static'), 1003, (11, 46, 174, 12), 1342312972], [128, _('Brow&se...'), 1005, (192, 46, 50, 14), 1342177280], [128, _('Score &messages after training'), 1008, (11, 64, 111, 10), 1342242819], [128, _('&Rebuild entire database'), 1007, (137, 64, 92, 10), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (11, 76, 231, 11), 1350565888], [128, _('&Start Training'), 1006, (11, 91, 54, 14), 1342193664], [130, _('training status training status training status training status training status training status training status '), 1001, (75, 89, 149, 17), 1342177280], [128, _('Incremental Training'), -1, (4, 117, 244, 87), 1342177287], [128, _('Train that a message is good when it is moved from a spam folder back to the Inbox.'), 1010, (11, 127, 204, 18), 1342251011], [130, _("Clicking 'Not Spam' button should"), -1, (10, 148, 115, 10), 1342177280], [133, '', 1075, (127, 145, 114, 54), 1344339971], [128, _('Train that a message is spam when it is moved to the spam folder.'), 1011, (11, 163, 204, 16), 1342251011], [130, _("Clicking 'Spam' button should"), -1, (10, 183, 104, 10), 1342177280], [133, '', 1074, (127, 180, 114, 54), 1344339971]], 'IDD_WIZARD': [[_('SpamBayes Configuration Wizard'), (0, 0, 384, 190), -1865940800, 1024, (8, 'Tahoma')], [128, _('Cancel'), 2, (328, 173, 50, 14), 1342177280], [128, _('<< Back'), 1069, (216, 173, 50, 14), 1342177280], [128, _('Next>>,Finish'), 1077, (269, 173, 50, 14), 1342177281], [130, '', 1078, (75, 4, 303, 167), 1342177298], [130, '125', 1092, (0, 0, 69, 190), 1342177294]], 'IDD_WIZARD_FOLDERS_WATCH': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1039, (225, 134, 50, 14), 1342177280], [130, _('Folders that receive new messages'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes needs to know what folders are used to receive new messages. In most cases, this will be your Inbox, but you may also specify additional folders to be watched for spam.'), -1, (20, 21, 247, 25), 1342177280], [130, _('The following folders will be watched for new messages. Use the Browse button to change the list, or Next if the list of folders is correct.'), -1, (20, 79, 247, 20), 1342177280], [130, _('If you use the Outlook rule wizard to move messages into folders, you may like to select these folders in addition to your inbox.'), -1, (20, 51, 241, 20), 1342177280], [129, '', 1038, (20, 100, 195, 48), 1350568068]], 'IDD_WIZARD_FINISHED_TRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Congratulations'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes has been successfully trained and configured. You should find the system is immediately effective at filtering spam.'), 1035, (20, 35, 247, 26), 1342177280], [130, _("Even though SpamBayes has been trained, it does continue to learn - please ensure you regularly check your Unsure folder, and use the 'Spam' or 'Not Spam' buttons as appropriate."), -1, (20, 68, 249, 30), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 104, 148, 9), 1342177280]], 'IDD_WIZARD_FOLDERS_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1004, (208, 49, 60, 15), 1342177280], [130, _('Training'), -1, (20, 4, 247, 10), 1342177280], [130, _('Please select the folders with the pre-sorted good messages and the folders with the pre-sorted spam messages.'), -1, (20, 16, 243, 16), 1342177280], [129, '', 1083, (20, 49, 179, 14), 1350568064], [130, _('Examples of Spam, or unwanted messages can be found in'), -1, (20, 71, 198, 8), 1342177280], [129, '', 1027, (20, 81, 177, 14), 1350568064], [130, _('Examples of good messages can be found in'), -1, (20, 38, 153, 8), 1342177280], [128, _('Browse...'), 1005, (208, 81, 60, 15), 1342177280], [130, _('If you have not pre-sorted your messages, or already have training information you wish to keep, please select the Back button and indicate you have not prepared for SpamBayes.'), -1, (20, 128, 243, 26), 1342177280], [128, _('Score messages when training is complete'), 1008, (20, 108, 163, 16), 1342242819]], 'IDD_WIZARD_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Training'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes is training on your good and spam messages.'), -1, (20, 22, 247, 16), 1342177280], ['msctls_progress32', '', 1000, (20, 45, 255, 11), 1350565888], [130, _('(progress text)'), 1001, (20, 61, 257, 10), 1342177280]], 'IDD_WIZARD_FINISHED_TRAIN_LATER': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Configuration suspended'), -1, (20, 4, 247, 14), 1342177280], [130, _('To perform initial training, you should create a folder that contains only examples of good messages, and another that contains only examples of spam.'), -1, (20, 17, 247, 27), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 145, 148, 9), 1342177280], [130, _('For examples of good messages, you may like to use your Inbox - however, it is important you remove all spam from this folder before you commence'), -1, (20, 42, 247, 26), 1342177280], [130, _('training. If you have too much spam in your Inbox, you may like to create a temporary folder and copy some examples to it.'), -1, (20, 58, 247, 17), 1342177280], [130, _('For examples of spam messages, you may like to look through your Deleted Items folder, and your Inbox. However, you will not be able to specify the Deleted Items folder as examples of spam, so you will need to move them to a folder you create.'), -1, (20, 80, 247, 35), 1342177280], [130, _('When you are finished, open the SpamBayes Manager via the SpamBayes toolbar, and re-start the Configuration Wizard.'), -1, (20, 121, 245, 17), 1342177280]], 'IDD_FOLDER_SELECTOR': [[_('Dialog'), (0, 0, 247, 215), -1865940800, None, (8, 'Tahoma')], [130, _('&Folders:'), -1, (7, 7, 47, 9), 1342177280], ['SysTreeView32', '', 1040, (7, 21, 172, 140), 1350631735], [128, _('(sub)'), 1041, (7, 167, 126, 9), 1342242819], [130, _('(status1)'), 1043, (7, 180, 220, 9), 1342177280], [130, _('(status2)'), 1044, (7, 194, 220, 9), 1342177280], [128, _('OK'), 1, (190, 21, 50, 14), 1342177281], [128, _('Cancel'), 2, (190, 39, 50, 14), 1342177280], [128, _('C&lear All'), 1042, (190, 58, 50, 14), 1342177280], [128, _('&New folder'), 1046, (190, 77, 50, 14), 1342177280]], 'IDD_STATISTICS': [[_('Statistics'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('Statistics'), -1, (7, 3, 241, 229), 1342177287], [130, _('some stats\\nand some more\\nline 3\\nline 4\\nline 5'), 1095, (12, 12, 230, 204), 1342177280], [128, _('Reset Statistics'), 1096, (178, 238, 70, 14), 1342177280], [130, _('Last reset:'), -1, (7, 241, 36, 8), 1342177280], [130, _('<<>>'), 1097, (47, 241, 107, 8), 1342177280]], 'IDD_ADVANCED': [[_('Advanced'), (0, 0, 248, 257), 1355284672, 1024, (8, 'Tahoma')], [128, _('Filter timer'), -1, (7, 3, 234, 117), 1342177287], ['msctls_trackbar32', '', 1056, (16, 36, 148, 22), 1342242821], [130, _('Processing start delay'), -1, (16, 26, 101, 8), 1342177280], [129, '', 1057, (165, 39, 40, 14), 1350566016], [130, _('seconds'), -1, (208, 41, 28, 8), 1342177280], ['msctls_trackbar32', '', 1058, (16, 73, 148, 22), 1342242821], [130, _('Delay between processing items'), -1, (16, 62, 142, 8), 1342177280], [129, '', 1059, (165, 79, 40, 14), 1350566016], [130, _('seconds'), -1, (207, 82, 28, 8), 1342177280], [128, _('Only for folders that receive new mail'), 1060, (16, 100, 217, 10), 1342242819], [128, _('Show Data Folder'), 1071, (7, 238, 70, 14), 1342177280], [128, _('Enable background filtering'), 1091, (16, 12, 162, 10), 1342242819], [128, _('Diagnostics...'), 1080, (171, 238, 70, 14), 1342177280]], 'IDD_WIZARD_FINISHED_UNCONFIGURED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Configuration cancelled'), -1, (20, 4, 247, 14), 1342177280], [130, _('The main SpamBayes options will now be displayed. You must define your folders and enable SpamBayes before it will begin filtering mail.'), -1, (20, 29, 247, 16), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 139, 148, 9), 1342177280]], 'IDD_WIZARD_WELCOME': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Welcome to the SpamBayes configuration wizard'), -1, (20, 4, 191, 14), 1342177280], [130, _('This wizard will help you configure the SpamBayes Outlook addin. Please indicate how you have prepared for this application.'), -1, (20, 20, 255, 18), 1342177280], [128, _("I haven't prepared for SpamBayes at all."), 1081, (20, 42, 190, 11), 1342309385], [128, _('I have already sorted good messages (ham) and spam messages into folders that are suitable for training purposes.'), -1, (20, 59, 255, 18), 1342186505], [128, _('I would prefer to configure SpamBayes manually.'), -1, (20, 82, 187, 12), 1342178313], [130, _('If you would like more information about training and configuring SpamBayes, click the About button.'), -1, (20, 103, 185, 20), 1342177280], [128, _('About...'), 1017, (215, 104, 60, 15), 1342177280], [130, _('If you cancel the wizard, you can access it again via the SpamBayes Manager, available from the SpamBayes toolbar.'), -1, (20, 137, 232, 17), 1342177280]], 'IDD_FILTER_NOW': [[_('Filter Now'), (0, 0, 244, 185), -1865940928, 1024, (8, 'Tahoma')], [130, _('Filter the following folders'), -1, (8, 9, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1036, (7, 20, 172, 12), 1342181900], [128, _('Browse...'), 1037, (187, 19, 50, 14), 1342177280], [128, _('Filter action'), -1, (7, 38, 230, 40), 1342308359], [128, _('Perform all filter actions'), 1019, (15, 49, 126, 10), 1342373897], [128, _("Score messages, but don't perform filter action"), 1018, (15, 62, 203, 10), 1342177289], [128, _('Restrict the filter to'), -1, (7, 84, 230, 35), 1342308359], [128, _('Unread mail'), 1020, (15, 94, 149, 9), 1342242819], [128, _('Mail never previously spam filtered'), 1021, (15, 106, 149, 9), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (7, 129, 230, 11), 1350565888], [130, _('Static'), 1001, (7, 144, 227, 10), 1342177280], [128, _('Start Filtering'), 1006, (7, 161, 52, 14), 1342177281], [128, _('Close'), 2, (187, 162, 50, 14), 1342177280]], 'IDD_WIZARD_TRAINING_IS_IMPORTANT': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('SpamBayes will not be effective until it is trained.'), -1, (11, 8, 191, 14), 1342177280], [128, _('About Training...'), 1017, (209, 140, 65, 15), 1342177280], [130, _('SpamBayes is a system that learns about good and bad mail based on examples you provide. It comes with no built-in rules, so must have some training information before it will be effective.'), -1, (11, 21, 263, 30), 1342177280], [130, _("In this case, SpamBayes will begin by filtering all mail to an 'Unsure' folder. You can then use the 'Spam' and 'Not Spam' buttons to train each message as it arrives. Slowly SpamBayes will learn about your mail."), -1, (22, 61, 252, 29), 1342177280], [130, _('This option will close the wizard, and provide instructions how to sort your mail. You will then be able to configure SpamBayes and have it be immediately effective at filtering your mail'), -1, (22, 106, 252, 27), 1342177280], [130, _('For more information, click the About Training button.'), -1, (11, 143, 187, 12), 1342177280], [128, _('I want to continue without training, and let SpamBayes learn as it goes'), 1088, (11, 50, 263, 11), 1342308361], [128, _('I will pre-sort some good and spam messages, and configure SpamBayes later'), 1089, (11, 92, 263, 11), 1342177289]], 'IDD_FILTER_UNSURE': [[_('Possible Spam'), (0, 0, 249, 124), 1355284672, None, (8, 'Tahoma')], [130, _('To be considered uncertain, a message must score at least'), -1, (12, 11, 212, 10), 1342177280], ['msctls_trackbar32', '', 1029, (12, 18, 165, 20), 1342242821], [129, '', 1030, (183, 24, 54, 14), 1350566016], [130, _('and these messages should be:'), -1, (12, 38, 107, 10), 1342177280], [133, '', 1031, (12, 49, 55, 40), 1344339971], [130, _('to folder'), -1, (74, 52, 31, 10), 1342177280], [130, _('(folder name)'), 1033, (119, 49, 59, 14), 1342312972], [128, _('&Browse'), 1034, (183, 49, 50, 14), 1342177280], [128, _('Mark possible spam as read'), 1051, (12, 70, 101, 10), 1342242819]], 'IDD_WIZARD_FINISHED_UNTRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Congratulations'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes is now configured and ready to start learning about your Spam'), -1, (20, 22, 247, 16), 1342177280], [130, _("As SpamBayes has not been trained, all new mail will arrive in your Unsure folder. As each message arrives, you should use the 'Spam' or 'Not Spam' toolbar buttons as appropriate."), -1, (20, 42, 247, 27), 1342177280], [130, _("If you wish to speed up the training process, you can move all the existing Spam from your Inbox to the new Spam folder, then select 'Training' from the SpamBayes manager."), -1, (20, 83, 247, 31), 1342177280], [130, _('As you train, you will find the accuracy of SpamBayes increases.'), -1, (20, 69, 247, 15), 1342177280], [130, _('Click Finish to close the wizard.'), -1, (20, 121, 148, 9), 1342177280]], 'IDD_GENERAL': [[_('General'), (0, 0, 253, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('SpamBayes Version Here'), 1009, (6, 54, 242, 8), 1342177280], [130, _("SpamBayes requiere entrenamiento previo para ser efectivo. Cliquee en la solapa 'Entrenamiento' o use el Asistente de Configuraci\xf3n para entrenar."), -1, (6, 67, 242, 17), 1342177280], [130, _('Estado de la base de datos de entrenamiento:'), -1, (6, 90, 222, 8), 1342177280], [130, _('123 spam messages; 456 good messages\\r\\nLine2\\r\\nLine3'), 1035, (6, 101, 242, 27), 1342181376], [128, _('Habilitar SpamBayes'), 1013, (6, 173, 97, 11), 1342242819], [130, _('Certain spam is moved to Folder1\\nPossible spam is moved too'), 1014, (6, 146, 242, 19), 1342181376], [128, _('Reiniciar la Configuraci\xf3n...'), 1073, (6, 238, 106, 15), 1342177280], [128, _('Asistente de Configuraci\xf3n...'), 1070, (142, 238, 106, 15), 1342177280], [130, _('Estado del filtro:'), -1, (6, 135, 222, 8), 1342177280], [130, '1062', 1063, (0, 2, 275, 52), 1342179342]], 'IDD_FILTER': [[_('Filtering'), (0, 0, 249, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('Filter the following folders as messages arrive'), -1, (8, 4, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1038, (7, 16, 177, 12), 1342312972], [128, _('Browse...'), 1039, (192, 14, 50, 14), 1342177280], [128, _('Certain Spam'), -1, (7, 33, 235, 80), 1342177287], [130, _('To be considered certain spam, a message must score at least'), -1, (13, 42, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1023, (13, 52, 165, 22), 1342242821], [129, '', 1024, (184, 53, 51, 14), 1350566016], [130, _('and these messages should be:'), -1, (13, 72, 107, 10), 1342177280], [133, '', 1025, (12, 83, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 85, 28, 10), 1342177280], [130, _('Folder names...'), 1027, (102, 83, 77, 14), 1342312972], [128, _('Browse'), 1028, (184, 83, 50, 14), 1342177280], [128, _('Possible Spam'), -1, (6, 117, 235, 81), 1342177287], [130, _('To be considered uncertain, a message must score at least'), -1, (12, 128, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1029, (12, 135, 165, 20), 1342242821], [129, '', 1030, (183, 141, 54, 14), 1350566016], [130, _('and these messages should be:'), -1, (12, 155, 107, 10), 1342177280], [133, '', 1031, (12, 166, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 169, 27, 10), 1342177280], [130, _('(folder name)'), 1033, (102, 166, 77, 14), 1342312972], [128, _('&Browse'), 1034, (184, 166, 50, 14), 1342177280], [128, _('Mark spam as read'), 1047, (13, 100, 81, 10), 1342242819], [128, _('Mark possible spam as read'), 1051, (12, 186, 101, 10), 1342242819], [128, _('Certain Good'), -1, (6, 203, 235, 48), 1342177287], [130, _('These messages should be:'), -1, (12, 215, 107, 10), 1342177280], [133, '', 1032, (12, 228, 55, 40), 1344339971], [130, _('to folder'), -1, (71, 230, 27, 10), 1342177280], [130, _('(folder name)'), 1083, (102, 228, 77, 14), 1342312972], [128, _('&Browse'), 1004, (184, 228, 50, 14), 1342177280]], 'IDD_NOTIFICATIONS': [[_('Notifications'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('New Mail Sounds'), -1, (7, 3, 241, 229), 1342177287], [128, _('Enable new mail notification sounds'), 1098, (14, 17, 129, 10), 1342242819], [130, _('Good sound:'), -1, (14, 31, 42, 8), 1342177280], [129, '', 1094, (14, 40, 174, 14), 1350566016], [128, _('Browse...'), 1101, (192, 40, 50, 14), 1342177280], [130, _('Unsure sound:'), -1, (14, 58, 48, 8), 1342177280], [129, '', 1095, (14, 67, 174, 14), 1350566016], [128, _('Browse...'), 1102, (192, 67, 50, 14), 1342177280], [130, _('Spam sound:'), -1, (14, 85, 42, 8), 1342177280], [129, '', 1096, (14, 94, 174, 14), 1350566016], [128, _('Browse...'), 1103, (192, 94, 50, 14), 1342177280], [130, _('Time to wait for additional messages:'), -1, (14, 116, 142, 8), 1342177280], ['msctls_trackbar32', '', 1099, (14, 127, 148, 22), 1342242821], [129, '', 1100, (163, 133, 40, 14), 1350566016], [130, _('seconds'), -1, (205, 136, 28, 8), 1342177280]], 'IDD_WIZARD_FOLDERS_REST': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Browse...'), 1005, (208, 85, 60, 15), 1342177280], [130, _('Spam and Unsure Folders'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes uses two folders to manage your Spam - a folder where 'certain' spam is stored, and another for unsure messages."), -1, (20, 20, 247, 22), 1342177280], [130, _('If you enter a folder name and it does not exist, it will be automatically created. If you would prefer to select an existing folder, click the Browse button.'), -1, (20, 44, 243, 24), 1342177280], [129, '', 1027, (20, 85, 179, 14), 1350566016], [130, _('Unsure messages will be delivered to a folder named'), -1, (20, 105, 186, 12), 1342177280], [129, '', 1033, (20, 117, 177, 14), 1350566016], [130, _('Spam will be delivered to a folder named'), -1, (20, 72, 137, 8), 1342177280], [128, _('Browse...'), 1034, (208, 117, 60, 15), 1342177280]]} ids = {'IDC_DELAY1_SLIDER': 1056, 'IDC_PROGRESS': 1000, 'IDD_MANAGER': 101, 'IDD_DIAGNOSTIC': 113, 'IDD_TRAINING': 102, 'IDC_DELAY2_TEXT': 1059, 'IDC_DELAY1_TEXT': 1057, 'IDD_WIZARD': 114, 'IDC_BROWSE_SPAM_SOUND': 1103, 'IDC_STATIC_HAM': 1002, 'IDC_PROGRESS_TEXT': 1001, 'IDD_GENERAL': 108, 'IDC_BROWSE_UNSURE_SOUND': 1102, 'IDC_TAB': 1068, 'IDC_FOLDER_UNSURE': 1033, 'IDC_VERBOSE_LOG': 1061, 'IDC_EDIT1': 1094, 'IDC_BROWSE': 1037, 'IDC_BACK_BTN': 1069, 'IDD_WIZARD_FINISHED_UNCONFIGURED': 119, 'IDC_ACTION_CERTAIN': 1025, 'IDC_BUT_ACT_ALL': 1019, 'IDD_FILTER_NOW': 104, 'IDC_BROWSE_HAM_SOUND': 1101, 'IDC_MARK_SPAM_AS_READ': 1047, 'IDC_RECOVER_RS': 1075, 'IDC_STATIC': -1, 'IDC_PAGE_PLACEHOLDER': 1078, 'IDC_BROWSE_WATCH': 1039, 'IDC_ACCUMULATE_DELAY_TEXT': 1100, 'IDC_FOLDER_HAM': 1083, 'IDD_WIZARD_FOLDERS_REST': 117, 'IDC_SHOW_DATA_FOLDER': 1071, 'IDC_BUT_ACT_SCORE': 1018, '_APS_NEXT_RESOURCE_VALUE': 129, '_APS_NEXT_SYMED_VALUE': 101, 'IDC_SLIDER_CERTAIN': 1023, 'IDC_BUT_UNREAD': 1020, 'IDC_BUT_ABOUT': 1017, 'IDC_BUT_RESCORE': 1008, 'IDC_BUT_SEARCHSUB': 1041, 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER': 1010, 'IDC_LAST_RESET_DATE': 1097, 'IDD_WIZARD_FOLDERS_TRAIN': 120, 'IDC_BUT_FILTER_ENABLE': 1013, 'IDC_ABOUT_BTN': 1072, 'IDD_WIZARD_FINISHED_TRAINED': 122, 'IDD_FOLDER_SELECTOR': 105, 'IDD_STATISTICS': 107, 'IDC_LIST_FOLDERS': 1040, 'IDB_SBWIZLOGO': 125, 'IDC_BUT_VIEW_LOG': 1093, 'IDC_STATUS2': 1044, 'IDC_STATUS1': 1043, 'IDCANCEL': 2, 'IDC_BROWSE_HAM': 1004, 'IDC_BROWSE_SPAM': 1005, 'IDD_WIZARD_FINISHED_UNTRAINED': 116, 'IDC_MARK_UNSURE_AS_READ': 1051, 'IDC_BROWSE_HAM_SOUND2': 1103, 'IDC_BUT_WIZARD': 1070, 'IDC_VERSION': 1009, 'IDC_FOLDER_NAMES': 1036, 'IDC_BUT_TIMER_ENABLED': 1091, 'IDC_SLIDER_UNSURE': 1029, 'IDC_BUT_NEW': 1046, 'IDC_FOLDER_WATCH': 1038, 'IDC_BUT_UNTRAINED': 1088, 'IDC_STATIC_SPAM': 1003, 'IDC_EDIT_UNSURE': 1030, 'IDC_BUT_CLEARALL': 1042, 'IDC_BUT_UNSEEN': 1021, 'IDD_WIZARD_FOLDERS_WATCH': 118, 'IDC_HAM_SOUND': 1094, 'IDC_EDIT_CERTAIN': 1024, 'IDC_BUT_FILTER_DEFINE': 1016, 'IDC_FORWARD_BTN': 1077, '_APS_NEXT_CONTROL_VALUE': 1102, 'IDC_INBOX_TIMER_ONLY': 1060, 'IDD_ADVANCED': 106, 'IDC_WIZ_GRAPHIC': 1092, 'IDD_FILTER_UNSURE': 40002, 'IDC_DEL_SPAM_RS': 1074, 'IDB_FOLDERS': 127, 'IDC_BUT_PREPARATION': 1081, 'IDC_DELAY2_SLIDER': 1058, 'IDC_ACCUMULATE_DELAY_SLIDER': 1099, 'IDC_SAVE_SPAM_SCORE': 1048, 'IDC_FOLDER_CERTAIN': 1027, 'IDB_SBLOGO': 1062, 'IDC_BROWSE_UNSURE': 1034, 'IDC_STATISTICS': 1095, 'IDC_BUT_RESET_STATS': 1096, 'IDC_BUT_TRAIN_TO_SPAM_FOLDER': 1011, 'IDD_FILTER_SPAM': 110, 'IDC_BUT_RESET': 1073, 'IDD_NOTIFICATIONS': 128, 'IDC_ACTION_UNSURE': 1031, 'IDD_WIZARD_TRAIN': 121, 'IDD_WIZARD_FINISHED_TRAIN_LATER': 124, 'IDC_ACTION_HAM': 1032, 'IDC_BUT_REBUILD': 1007, '_APS_NEXT_COMMAND_VALUE': 40001, 'IDC_ENABLE_SOUNDS': 1098, 'IDC_SPAM_SOUND': 1096, 'IDC_UNSURE_SOUND': 1095, 'IDD_WIZARD_TRAINING_IS_IMPORTANT': 123, 'IDC_TRAINING_STATUS': 1035, 'IDD_WIZARD_WELCOME': 115, 'IDC_BUT_TRAIN': 1089, 'IDC_START': 1006, 'IDD_FILTER': 103, 'IDC_LOGO_GRAPHIC': 1063, 'IDC_FILTER_STATUS': 1014, 'IDOK': 1, 'IDC_BROWSE_CERTAIN': 1028, 'IDC_BUT_SHOW_DIAGNOSTICS': 1080, 'IDC_BUT_TRAIN_NOW': 1012} names = {1024: 'IDC_EDIT_CERTAIN', 1: 'IDOK', 2: 'IDCANCEL', 1027: 'IDC_FOLDER_CERTAIN', 1028: 'IDC_BROWSE_CERTAIN', 1029: 'IDC_SLIDER_UNSURE', 1030: 'IDC_EDIT_UNSURE', 1031: 'IDC_ACTION_UNSURE', 1032: 'IDC_ACTION_HAM', 1033: 'IDC_FOLDER_UNSURE', 1034: 'IDC_BROWSE_UNSURE', 1035: 'IDC_TRAINING_STATUS', 1036: 'IDC_FOLDER_NAMES', 1037: 'IDC_BROWSE', 1038: 'IDC_FOLDER_WATCH', 1039: 'IDC_BROWSE_WATCH', 1040: 'IDC_LIST_FOLDERS', 1041: 'IDC_BUT_SEARCHSUB', 1042: 'IDC_BUT_CLEARALL', 1043: 'IDC_STATUS1', 1044: 'IDC_STATUS2', 1046: 'IDC_BUT_NEW', 1047: 'IDC_MARK_SPAM_AS_READ', 1048: 'IDC_SAVE_SPAM_SCORE', 1051: 'IDC_MARK_UNSURE_AS_READ', 1056: 'IDC_DELAY1_SLIDER', 1057: 'IDC_DELAY1_TEXT', 1058: 'IDC_DELAY2_SLIDER', 1059: 'IDC_DELAY2_TEXT', 1060: 'IDC_INBOX_TIMER_ONLY', 1061: 'IDC_VERBOSE_LOG', 1062: 'IDB_SBLOGO', 1063: 'IDC_LOGO_GRAPHIC', 1068: 'IDC_TAB', 1069: 'IDC_BACK_BTN', 1070: 'IDC_BUT_WIZARD', 1071: 'IDC_SHOW_DATA_FOLDER', 1072: 'IDC_ABOUT_BTN', 1073: 'IDC_BUT_RESET', 1074: 'IDC_DEL_SPAM_RS', 1075: 'IDC_RECOVER_RS', 1077: 'IDC_FORWARD_BTN', 1078: 'IDC_PAGE_PLACEHOLDER', 1080: 'IDC_BUT_SHOW_DIAGNOSTICS', 1081: 'IDC_BUT_PREPARATION', 1083: 'IDC_FOLDER_HAM', 1088: 'IDC_BUT_UNTRAINED', 1089: 'IDC_BUT_TRAIN', 40002: 'IDD_FILTER_UNSURE', 1091: 'IDC_BUT_TIMER_ENABLED', 1025: 'IDC_ACTION_CERTAIN', 1093: 'IDC_BUT_VIEW_LOG', 1094: 'IDC_EDIT1', 1095: 'IDC_STATISTICS', 1096: 'IDC_BUT_RESET_STATS', 1097: 'IDC_LAST_RESET_DATE', 1098: 'IDC_ENABLE_SOUNDS', 1099: 'IDC_ACCUMULATE_DELAY_SLIDER', 1100: 'IDC_ACCUMULATE_DELAY_TEXT', 1101: 'IDC_BROWSE_HAM_SOUND', 1102: 'IDC_BROWSE_UNSURE_SOUND', 1103: 'IDC_BROWSE_HAM_SOUND2', 101: 'IDD_MANAGER', 102: 'IDD_TRAINING', 103: 'IDD_FILTER', 104: 'IDD_FILTER_NOW', 105: 'IDD_FOLDER_SELECTOR', 106: 'IDD_ADVANCED', 107: 'IDD_STATISTICS', 108: 'IDD_GENERAL', 110: 'IDD_FILTER_SPAM', 113: 'IDD_DIAGNOSTIC', 114: 'IDD_WIZARD', 115: 'IDD_WIZARD_WELCOME', 116: 'IDD_WIZARD_FINISHED_UNTRAINED', 117: 'IDD_WIZARD_FOLDERS_REST', 118: 'IDD_WIZARD_FOLDERS_WATCH', 119: 'IDD_WIZARD_FINISHED_UNCONFIGURED', 120: 'IDD_WIZARD_FOLDERS_TRAIN', 121: 'IDD_WIZARD_TRAIN', 122: 'IDD_WIZARD_FINISHED_TRAINED', 123: 'IDD_WIZARD_TRAINING_IS_IMPORTANT', 124: 'IDD_WIZARD_FINISHED_TRAIN_LATER', 125: 'IDB_SBWIZLOGO', 127: 'IDB_FOLDERS', 128: 'IDD_NOTIFICATIONS', 129: '_APS_NEXT_RESOURCE_VALUE', 40001: '_APS_NEXT_COMMAND_VALUE', 1092: 'IDC_WIZ_GRAPHIC', 1000: 'IDC_PROGRESS', 1001: 'IDC_PROGRESS_TEXT', 1002: 'IDC_STATIC_HAM', 1003: 'IDC_STATIC_SPAM', 1004: 'IDC_BROWSE_HAM', 1005: 'IDC_BROWSE_SPAM', 1006: 'IDC_START', 1007: 'IDC_BUT_REBUILD', 1008: 'IDC_BUT_RESCORE', 1009: 'IDC_VERSION', 1010: 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER', 1011: 'IDC_BUT_TRAIN_TO_SPAM_FOLDER', 1012: 'IDC_BUT_TRAIN_NOW', 1013: 'IDC_BUT_FILTER_ENABLE', 1014: 'IDC_FILTER_STATUS', 1016: 'IDC_BUT_FILTER_DEFINE', 1017: 'IDC_BUT_ABOUT', 1018: 'IDC_BUT_ACT_SCORE', 1019: 'IDC_BUT_ACT_ALL', 1020: 'IDC_BUT_UNREAD', 1021: 'IDC_BUT_UNSEEN', -1: 'IDC_STATIC', 1023: 'IDC_SLIDER_CERTAIN'} bitmaps = {'IDB_SBWIZLOGO': 'sbwizlogo.bmp', 'IDB_SBLOGO': 'sblogo.bmp', 'IDB_FOLDERS': 'folders.bmp'} def ParseDialogs(s): return FakeParser() From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:13 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:16 2005 Subject: [Spambayes-checkins] spambayes/languages/es .cvsignore, 1.1, NONE __init__.py, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es Removed Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- __init__.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:13 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:16 2005 Subject: [Spambayes-checkins] spambayes/languages .cvsignore, 1.1, NONE __init__.py, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages Removed Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- __init__.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:14 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:17 2005 Subject: [Spambayes-checkins] spambayes/languages/es/DIALOGS .cvsignore, 1.1, NONE dialogs.rc, 1.2, NONE i18n_dialogs.py, 1.2, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es/DIALOGS Removed Files: .cvsignore dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- dialogs.rc DELETED --- --- i18n_dialogs.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:14 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:18 2005 Subject: [Spambayes-checkins] spambayes/languages/es/LC_MESSAGES messages.mo, 1.1, NONE messages.po, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es/LC_MESSAGES Removed Files: messages.mo messages.po Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- messages.mo DELETED --- --- messages.po DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:14 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:18 2005 Subject: [Spambayes-checkins] spambayes/languages/es_AR .cvsignore, 1.1, NONE __init__.py, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es_AR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es_AR Removed Files: .cvsignore __init__.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- __init__.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:15 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:19 2005 Subject: [Spambayes-checkins] spambayes/languages/es_AR/DIALOGS .cvsignore, 1.1, NONE dialogs.rc, 1.2, NONE i18n_dialogs.py, 1.2, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es_AR/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es_AR/DIALOGS Removed Files: .cvsignore dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- dialogs.rc DELETED --- --- i18n_dialogs.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:15 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:19 2005 Subject: [Spambayes-checkins] spambayes/languages/es_AR/LC_MESSAGES messages.mo, 1.1, NONE messages.po, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/es_AR/LC_MESSAGES In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/es_AR/LC_MESSAGES Removed Files: messages.mo messages.po Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- messages.mo DELETED --- --- messages.po DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:16 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:22 2005 Subject: [Spambayes-checkins] spambayes/languages/fr_FR .cvsignore, 1.2, NONE __init__.py, 1.1, NONE i18n.ui.html, 1.1, NONE i18n_ui_html.py, 1.1, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/fr_FR In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/fr_FR Removed Files: .cvsignore __init__.py i18n.ui.html i18n_ui_html.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- __init__.py DELETED --- --- i18n.ui.html DELETED --- --- i18n_ui_html.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:16 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:22 2005 Subject: [Spambayes-checkins] spambayes/languages/fr_FR/DIALOGS .cvsignore, 1.1, NONE dialogs.rc, 1.3, NONE i18n_dialogs.py, 1.3, NONE Message-ID: Update of /cvsroot/spambayes/spambayes/languages/fr_FR/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208/languages/fr_FR/DIALOGS Removed Files: .cvsignore dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). --- .cvsignore DELETED --- --- dialogs.rc DELETED --- --- i18n_dialogs.py DELETED --- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:15:47 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:15:50 2005 Subject: [Spambayes-checkins] spambayes README-DEVEL.txt,1.21,1.22 Message-ID: Update of /cvsroot/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8208 Modified Files: README-DEVEL.txt Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Index: README-DEVEL.txt =================================================================== RCS file: /cvsroot/spambayes/spambayes/README-DEVEL.txt,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** README-DEVEL.txt 16 Mar 2005 03:35:59 -0000 1.21 --- README-DEVEL.txt 7 Apr 2005 04:15:10 -0000 1.22 *************** *** 578,582 **** Translation is only feasible for 1.1 and above. No translation effort ! is planned for the 1.0.x release series. To translate, you will need: --- 578,582 ---- Translation is only feasible for 1.1 and above. No translation effort ! is planned for the 1.0.x series of releases. To translate, you will need: *************** *** 605,611 **** You will need to create a directory structure as follows: ! spambayes/ # root spambayes directory ! # containing contrib, utilities, ! # scripts, etc languages/ # root languages directory, # possibly already containing --- 605,610 ---- You will need to create a directory structure as follows: ! spambayes/ # spambayes package directory ! # containing classifier.py, tokenizer.py, etc languages/ # root languages directory, # possibly already containing *************** *** 615,621 **** # described below DIALOGS/ # directory for Outlook plug-in ! # dialog resources LC_MESSAGES/ # directory for gettext managed ! # strings __init__.py # Copy of spambayes/spambayes/resources/__init__.py --- 614,623 ---- # described below DIALOGS/ # directory for Outlook plug-in ! # dialog resources, which should contain an ! # empty __init__.py file, so that py2exe can ! # include the directory LC_MESSAGES/ # directory for gettext managed ! # strings, which should also contain an ! # empty __init__.py file __init__.py # Copy of spambayes/spambayes/resources/__init__.py *************** *** 641,646 **** The easiest method of translating these dialogs is to use a tool like VC++ or Visual Studio. Simply open the ! 'spambayes\Outlook2000\dialogs\resources\dialogs.rc' file, translate the ! dialog, and save the file as 'spambayes\languages\{lang_code}\DIALOGS\dialogs.rc', where {lang_code} is the appropriate language code for the language you have translated --- 643,648 ---- The easiest method of translating these dialogs is to use a tool like VC++ or Visual Studio. Simply open the ! 'Outlook2000\dialogs\resources\dialogs.rc' file, translate the dialog, ! and save the file as 'spambayes\languages\{lang_code}\DIALOGS\dialogs.rc', where {lang_code} is the appropriate language code for the language you have translated *************** *** 651,658 **** Once the dialogs are translated, you need to use the rc2py.py utility to create the i18n_dialogs.py file. For example, in the ! 'spambayes\Outlook2000\dialogs\resources' directory: > rc2py.py {base}\spambayes\languages\de_DE\DIALOGS\dialogs.rc {base}\spambayes\languages\de_DE\DIALOGS\i18n_dialogs.py 1 ! Where {base} is the directory that contains the root spambayes directory. This should create a 'i18n_dialogs.py' in the same directory as your translated dialogs.rc file - this is the file the the Outlook plug-in --- 653,660 ---- Once the dialogs are translated, you need to use the rc2py.py utility to create the i18n_dialogs.py file. For example, in the ! 'Outlook2000\dialogs\resources' directory: > rc2py.py {base}\spambayes\languages\de_DE\DIALOGS\dialogs.rc {base}\spambayes\languages\de_DE\DIALOGS\i18n_dialogs.py 1 ! Where {base} is the directory that contains the spambayes package directory. This should create a 'i18n_dialogs.py' in the same directory as your translated dialogs.rc file - this is the file the the Outlook plug-in *************** *** 663,667 **** The easiest method of translating this file is to use a GUI HTML editor. ! Simply open the 'spambayes/spambayes/resources/ui.html' file, translate it as described within, and save the file as 'spambayes/languages/{lang_code}/i18n.ui.html', where {lang_code} is --- 665,669 ---- The easiest method of translating this file is to use a GUI HTML editor. ! Simply open the 'spambayes/resources/ui.html' file, translate it as described within, and save the file as 'spambayes/languages/{lang_code}/i18n.ui.html', where {lang_code} is *************** *** 681,688 **** To translate these strings, use the translation template 'spambayes/languages/messages.pot'. You can regenerate that file, if ! necessary, by running this command in the root spambayes directory: > {python dir}\tools\i18n\pygettext.py -o languages\messages.pot ! contrib\*.py Outlook2000\*.py scripts\*.py spambayes\*.py ! testtools\*.py utilities\*.py windows\*.py You may wish to use a GUI system to create the required *.po file, --- 683,690 ---- To translate these strings, use the translation template 'spambayes/languages/messages.pot'. You can regenerate that file, if ! necessary, by running this command in the spambayes package directory: > {python dir}\tools\i18n\pygettext.py -o languages\messages.pot ! ..\contrib\*.py ..\Outlook2000\*.py ..\scripts\*.py *.py ! ..\testtools\*.py ..\utilities\*.py ..\windows\*.py You may wish to use a GUI system to create the required *.po file, *************** *** 700,703 **** the Control Panel. ! o Get the [globals] language SpamBayes option to a list of the preferred language(s). --- 702,705 ---- the Control Panel. ! o Get the '[globals] language' SpamBayes option to a list of the preferred language(s). From anadelonbrin at users.sourceforge.net Thu Apr 7 06:17:47 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:17:49 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000/dialogs/resources __init__.py, 1.4, 1.5 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9347/Outlook2000/dialogs/resources Modified Files: __init__.py Log Message: Update comment. Index: __init__.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources/__init__.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** __init__.py 15 Sep 2003 06:27:09 -0000 1.4 --- __init__.py 7 Apr 2005 04:17:45 -0000 1.5 *************** *** 7,13 **** bmpid = rc_parser.names[bmpid] int_bmpid = rc_parser.ids[bmpid] - # For both binary and source versions, we currently load from files. - # In future py2exe built binary versions we will be able to load the - # bitmaps directly from our DLL. filename = rc_parser.bitmaps[bmpid] if hasattr(sys, "frozen"): --- 7,10 ---- From anadelonbrin at users.sourceforge.net Thu Apr 7 06:18:21 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:18:24 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000 manager.py,1.107,1.108 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9729/Outlook2000 Modified Files: manager.py Log Message: The language manager can now find the dialogs on its own. Index: manager.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/manager.py,v retrieving revision 1.107 retrieving revision 1.108 diff -C2 -d -r1.107 -r1.108 *** manager.py 16 Jan 2005 22:15:53 -0000 1.107 --- manager.py 7 Apr 2005 04:18:19 -0000 1.108 *************** *** 373,377 **** # Load the environment for translation. ! lang_manager = bayes_i18n.LanguageManager(self.application_directory) # Set the system user default language. lang_manager.set_language(lang_manager.locale_default_lang()) --- 373,377 ---- # Load the environment for translation. ! lang_manager = bayes_i18n.LanguageManager() # Set the system user default language. lang_manager.set_language(lang_manager.locale_default_lang()) From anadelonbrin at users.sourceforge.net Thu Apr 7 06:19:47 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:19:51 2005 Subject: [Spambayes-checkins] spambayes/spambayes i18n.py,1.3,1.4 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10798/spambayes Modified Files: i18n.py Log Message: Get things working when we are running frozen. Basically this handles the move where the languages directory became a subpackage of spambayes. Index: i18n.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/i18n.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** i18n.py 20 Jan 2005 03:49:33 -0000 1.3 --- i18n.py 7 Apr 2005 04:19:45 -0000 1.4 *************** *** 30,63 **** ## Set language environment for gettext and for dynamic load of dialogs. ## ! ## Our directory layout is: ## spambayes ! ## spambayes ! ## i18n.py <--- this file ! ## languages <--- the directory for lang packs ## es <-- generic language data ! ## DIALOGS ! ## LC_MESSAGES ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ## es_ES <-- specific language/country data. ! ## DIALOGS <-- resource dialogs ! ## LC_MESSAGES <-- gettext messages files ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ## zn ## zn_TW - ## Outlook2000 - ## utilities ## ..etc.. class LanguageManager: ! def __init__(self, directory=os.path.dirname(__file__)): ! """Initialisation. ! ! 'directory' is the parent directory of the 'languages' ! directory. It defaults to the directory of this module.""" self.current_langs_codes = [] - self.local_dir = os.path.join(directory, "..", "languages") self._sys_path_modifications = [] --- 30,102 ---- ## Set language environment for gettext and for dynamic load of dialogs. ## ! ## Our directory layout with source is: ## spambayes ! ## spambayes (or spambayes.modules with the binary) ! ## i18n.py <-- this file ! ## languages <-- the directory for lang packs ! ## es <-- generic language data ! ## DIALOGS ! ## LC_MESSAGES <-- gettext message files ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ! ## es_ES <-- specific language/country data. ! ## DIALOGS <-- resource dialogs ! ## LC_MESSAGES <-- gettext message files ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ! ## zn ! ## zn_TW ! ## Outlook2000 ! ## utilities ! ## ..etc.. ! ## ! ## Our directory layout with the binaries is: ! ## lib ! ## spambayes.modules ! ## i18n.py <-- this file ! ## languages <-- the directory for lang packs ! ## es <-- generic language data ! ## DIALOGS ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ! ## es_ES <-- specific language/country data. ! ## DIALOGS <-- resource dialogs ! ## __init__.py <-- resourcepackage __init__.py ! ## ui.html <-- web interface translation ! ## zn ! ## zn_TW ! ## languages ## es <-- generic language data ! ## LC_MESSAGES <-- gettext message files ## es_ES <-- specific language/country data. ! ## LC_MESSAGES <-- gettext message files ## zn ## zn_TW ## ..etc.. + ## + ## A distutils installation will not currently work. I don't know + ## where to put the .mo files, so setup.py ignores them. + if hasattr(sys, "frozen"): + # LC_MESSAGES are harder to find. + if sys.frozen == "dll": + # Outlook + import win32api + this_filename = win32api.GetModuleFileName(sys.frozendllhandle) + else: + # Not Outlook + this_filename = __file__ + LC_DIR = os.path.dirname(os.path.dirname(this_filename)) + else: + try: + this_filename = os.path.abspath(__file__) + except NameError: # no __file__ - means Py2.2 and __name__=='__main__' + this_filename = os.path.abspath(sys.argv[0]) + LC_DIR = os.path.dirname(this_filename) + class LanguageManager: ! def __init__(self): self.current_langs_codes = [] self._sys_path_modifications = [] *************** *** 99,105 **** current language.""" for language in self.current_langs_codes: ! moduleName = 'languages.%s.i18n_ui_html' % (language, ) try: ! module = __import__(moduleName, {}, {}, ('languages', language)) except ImportError: --- 138,144 ---- current language.""" for language in self.current_langs_codes: ! moduleName = 'spambayes.languages.%s.i18n_ui_html' % (language, ) try: ! module = __import__(moduleName, {}, {}, ('spambayes.languages', language)) except ImportError: *************** *** 115,119 **** def _install_gettext(self): """Set the gettext specific environment.""" ! lang = translation("messages", self.local_dir, self.current_langs_codes, fallback=True) lang.install() --- 154,158 ---- def _install_gettext(self): """Set the gettext specific environment.""" ! lang = translation("messages", LC_DIR, self.current_langs_codes, fallback=True) lang.install() *************** *** 127,134 **** self._clear_syspath() for lcode in self.current_langs_codes: ! code_and_country = os.path.join(self.local_dir, lcode, 'DIALOGS') ! code_only = os.path.join(self.local_dir, lcode.split("_")[0], ! 'DIALOGS') if code_and_country not in sys.path: sys.path.append(code_and_country) --- 166,172 ---- self._clear_syspath() for lcode in self.current_langs_codes: ! code_and_country = os.path.join(LC_DIR, "languages", lcode, 'DIALOGS') ! code_only = os.path.join(LC_DIR, lcode.split("_")[0], 'DIALOGS') if code_and_country not in sys.path: sys.path.append(code_and_country) From anadelonbrin at users.sourceforge.net Thu Apr 7 06:23:52 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:23:55 2005 Subject: [Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.22, 1.23 Message-ID: Update of /cvsroot/spambayes/spambayes/windows/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12760/windows/py2exe Modified Files: setup_all.py Log Message: Handle the language files. Index: setup_all.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** setup_all.py 7 Apr 2005 02:19:48 -0000 1.22 --- setup_all.py 7 Apr 2005 04:23:50 -0000 1.23 *************** *** 8,12 **** sys.path.append(os.path.join(sb_top_dir, "scripts")) sys.path.append(os.path.join(sb_top_dir, "Outlook2000")) ! sys.path.append(os.path.join(sb_top_dir, "Outlook2000/sandbox")) import spambayes.resources --- 8,12 ---- sys.path.append(os.path.join(sb_top_dir, "scripts")) sys.path.append(os.path.join(sb_top_dir, "Outlook2000")) ! sys.path.append(os.path.join(sb_top_dir, "Outlook2000", "sandbox")) import spambayes.resources *************** *** 36,40 **** py2exe_options = dict( ! packages = "spambayes.resources,encodings", excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included. includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dialogs --- 36,44 ---- py2exe_options = dict( ! packages = "spambayes.resources,encodings,spambayes.languages," \ ! "spambayes.languages.es,spambayes.languages.es_AR," \ ! "spambayes.languages.fr_FR,spambayes.languages.es.DIALOGS," \ ! "spambayes.languages.es_AR.DIALOGS," \ ! "spambayes.languages.fr_FR.DIALOGS", excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included. includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dialogs *************** *** 140,144 **** language_files = [] ! languages_root = os.path.join(sb_top_dir, "languages") def add_language_files(current_dir): files = os.listdir(current_dir) --- 144,148 ---- language_files = [] ! languages_root = os.path.join(sb_top_dir, "spambayes", "languages") def add_language_files(current_dir): files = os.listdir(current_dir) *************** *** 148,152 **** add_language_files(full_fn) continue ! if os.path.splitext(fn)[1] == ".py": dest_name = os.path.join("languages", "%s" % (full_fn[len(languages_root)+1:],)) --- 152,156 ---- add_language_files(full_fn) continue ! if os.path.splitext(fn)[1] == ".mo": dest_name = os.path.join("languages", "%s" % (full_fn[len(languages_root)+1:],)) From anadelonbrin at users.sourceforge.net Thu Apr 7 06:24:52 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 06:24:55 2005 Subject: [Spambayes-checkins] spambayes/windows spambayes.iss,1.23,1.24 Message-ID: Update of /cvsroot/spambayes/spambayes/windows In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13412/windows Modified Files: spambayes.iss Log Message: Only need to worry about the *.mo language files. Index: spambayes.iss =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/spambayes.iss,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** spambayes.iss 7 Apr 2005 02:17:52 -0000 1.23 --- spambayes.iss 7 Apr 2005 04:24:50 -0000 1.24 *************** *** 27,37 **** ; Is there a cleverer way of including all of these? ! Source: "py2exe\dist\languages\*.py"; DestDir: "{app}\languages"; Flags: ignoreversion ! Source: "py2exe\dist\languages\es\*.py"; DestDir: "{app}\languages\es"; Flags: ignoreversion ! Source: "py2exe\dist\languages\es\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\es"; Flags: ignoreversion ! Source: "py2exe\dist\languages\es_AR\*.py"; DestDir: "{app}\languages\es_AR"; Flags: ignoreversion ! Source: "py2exe\dist\languages\es_AR\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\es_AR"; Flags: ignoreversion ! Source: "py2exe\dist\languages\fr_FR\*.py"; DestDir: "{app}\languages\fr_FR"; Flags: ignoreversion ! Source: "py2exe\dist\languages\fr_FR\DIALOGS\*.py"; DestDir: "{app}\languages\DIALOGS\fr_FR"; Flags: ignoreversion Source: "py2exe\dist\bin\outlook_addin.dll"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion --- 27,32 ---- ; Is there a cleverer way of including all of these? ! Source: "py2exe\dist\languages\es\LC_MESSAGES\*.mo"; DestDir: "{app}\languages\DIALOGS\es"; Flags: ignoreversion ! Source: "py2exe\dist\languages\es_AR\LC_MESSAGES\*.mo"; DestDir: "{app}\languages\DIALOGS\es_AR"; Flags: ignoreversion Source: "py2exe\dist\bin\outlook_addin.dll"; DestDir: "{app}\bin"; Check: InstallingOutlook; Flags: ignoreversion From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:04 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 07:24:23 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/fr/DIALOGS .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 dialogs.rc, NONE, 1.1 i18n_dialogs.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/fr/DIALOGS In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/fr/DIALOGS Added Files: .cvsignore __init__.py dialogs.rc i18n_dialogs.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo --- NEW FILE: __init__.py --- --- NEW FILE: dialogs.rc --- //Microsoft Developer Studio generated resource script. // #include "dialogs.h" #define APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // #include "winres.h" // spambayes dialog definitions ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS ///////////////////////////////////////////////////////////////////////////// // English (U.S.) resources #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) #ifdef _WIN32 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US #pragma code_page(1252) #endif //_WIN32 ///////////////////////////////////////////////////////////////////////////// // // Dialog // IDD_ADVANCED DIALOGEX 0, 0, 248, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Avanc" FONT 8, "Tahoma" BEGIN GROUPBOX "Dlais de filtrage",IDC_STATIC,7,3,234,117 CONTROL "",IDC_DELAY1_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,36,148,22 LTEXT "Dlai avant filtrage",IDC_STATIC,16,26,101,8 EDITTEXT IDC_DELAY1_TEXT,165,39,40,14,ES_AUTOHSCROLL LTEXT "secondes",IDC_STATIC,208,41,28,8 CONTROL "",IDC_DELAY2_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,16,73,148,22 LTEXT "Dlai de filtrage entre deux messages",IDC_STATIC,16,62, 142,8 EDITTEXT IDC_DELAY2_TEXT,165,79,40,14,ES_AUTOHSCROLL LTEXT "secondes",IDC_STATIC,207,82,28,8 CONTROL "Seulement pour les dossiers qui reoivent de nouveaux messages", IDC_INBOX_TIMER_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,100,217,10 PUSHBUTTON "Afficher le rpertoire de donnes",IDC_SHOW_DATA_FOLDER, 7,238,111,14 CONTROL "Activer le filtrage en tche de fond", IDC_BUT_TIMER_ENABLED,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,12,162,10 PUSHBUTTON "Diagnostiques...",IDC_BUT_SHOW_DIAGNOSTICS,171,238,70, 14 END IDD_STATISTICS DIALOG DISCARDABLE 0, 0, 248, 257 STYLE WS_CHILD | WS_CAPTION CAPTION "Statistiques" FONT 8, "Tahoma" BEGIN GROUPBOX "Statistiques",IDC_STATIC,7,3,241,229 LTEXT "some stats\nand some more\nline 3\nline 4\nline 5", IDC_STATISTICS,12,12,230,204 PUSHBUTTON "Remise 0 des statistiques",IDC_BUT_RESET_STATS,156, 238,92,14 LTEXT "Dernire remise 0 :",IDC_STATIC,7,241,36,8 LTEXT "<<>>",IDC_LAST_RESET_DATE,47,241,107,8 END IDD_MANAGER DIALOGEX 0, 0, 275, 308 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Manager" FONT 8, "Tahoma", 0, 0, 0x1 BEGIN DEFPUSHBUTTON "Fermer",IDOK,216,287,50,14 PUSHBUTTON "Annuler",IDCANCEL,155,287,50,14,NOT WS_VISIBLE CONTROL "",IDC_TAB,"SysTabControl32",0x0,8,7,258,276 PUSHBUTTON "A propos...",IDC_ABOUT_BTN,8,287,50,14 END IDD_FILTER_SPAM DIALOGEX 0, 0, 251, 147 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Spam" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "Dossiers filtrer lors de l'arrive de nouveaux messages", IDC_STATIC,8,9,168,11 CONTROL "Folder names...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,20,177,12 PUSHBUTTON "&Parcourir...",IDC_BROWSE_WATCH,194,19,50,14 GROUPBOX "Spam sr",IDC_STATIC,7,43,237,80 LTEXT "Pour tre considr comme un spam, un message doit obtenir une note d'au moins", IDC_STATIC,13,52,212,10 CONTROL "",IDC_SLIDER_CERTAIN,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,62,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,63,51,14,ES_AUTOHSCROLL LTEXT "et ces messages doivent tre :",IDC_STATIC,13,82,107,10 COMBOBOX IDC_ACTION_CERTAIN,13,93,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "dans le dossier",IDC_STATIC,75,95,31,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,120,93,59,14 PUSHBUTTON "P&arcourir...",IDC_BROWSE_CERTAIN,184,93,50,14 CONTROL "Marquer les messages comme &lus",IDC_MARK_SPAM_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,110,81,10 END IDD_FILTER_UNSURE DIALOGEX 0, 0, 249, 124 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU CAPTION "Messages douteux" FONT 8, "Tahoma", 400, 0, 0x1 BEGIN LTEXT "Pour tre considr comme douteux, un message doit obtenir une note d'au moins", IDC_STATIC,12,11,212,10 CONTROL "",IDC_SLIDER_UNSURE,"msctls_trackbar32",TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,18,165,20 EDITTEXT IDC_EDIT_UNSURE,183,24,54,14,ES_AUTOHSCROLL LTEXT "et ces messages doivent tre :",IDC_STATIC,12,38,107,10 COMBOBOX IDC_ACTION_UNSURE,12,49,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "dans le dossier",IDC_STATIC,74,52,31,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,119,49,59,14 PUSHBUTTON "Pa&rcourir",IDC_BROWSE_UNSURE,183,49,50,14 CONTROL "Marquer les messages l&us",IDC_MARK_UNSURE_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,70,101,10 END IDD_DIAGNOSTIC DIALOGEX 0, 0, 201, 98 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Diagnostiques" FONT 8, "Tahoma" BEGIN LTEXT "Ces options avances sont fournies des fins de diagnostiques et dboguage seulement. Vous ne devriez changer les valeurs que sur demande ou si vous savez exactement ce que vous faites.", IDC_STATIC,5,3,192,36 LTEXT "Verbosit du log",IDC_STATIC,5,44,56,8 EDITTEXT IDC_VERBOSE_LOG,73,42,40,14,ES_AUTOHSCROLL PUSHBUTTON "Voir le fichier de log...",IDC_BUT_VIEW_LOG,122,41,75, 14 CONTROL "Enregistrer la note attribue",IDC_SAVE_SPAM_SCORE, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,5,63,72,10 PUSHBUTTON "Annuler",IDCANCEL,69,79,50,14,NOT WS_VISIBLE DEFPUSHBUTTON "Fermer",IDOK,147,79,50,14 END IDD_WIZARD DIALOGEX 0, 0, 384, 190 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Assistant de configuration SpamBayes" FONT 8, "Tahoma" BEGIN PUSHBUTTON "Annuler",IDCANCEL,328,173,50,14 PUSHBUTTON "<< Prcdent",IDC_BACK_BTN,204,173,50,14 DEFPUSHBUTTON "Suivant>>,Fin",IDC_FORWARD_BTN,259,173,52,14 CONTROL "",IDC_PAGE_PLACEHOLDER,"Static",SS_ETCHEDFRAME,75,4,303, 167 CONTROL 125,IDC_WIZ_GRAPHIC,"Static",SS_BITMAP,0,0,69,190 END IDD_WIZARD_WELCOME DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma" BEGIN LTEXT "Bienvenue dans l'assistant de paramtrage de SpamBayes", IDC_STATIC,20,4,191,14 LTEXT "Cet assistant va vous guider dans le paramtrage du module SpamBayes pour Outlook. Merci de prciser o vous en tes pour le paramtrage.", IDC_STATIC,20,20,255,18 CONTROL "Je n'ai rien prpar du tout pour SpamBayes.", IDC_BUT_PREPARATION,"Button",BS_AUTORADIOBUTTON | BS_TOP | WS_GROUP,20,42,190,11 CONTROL "J'ai dj filtr les bon messages (ham) et les mauvais (spam) dans des dossiers spars adapts l'entranement.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP | BS_MULTILINE,20,59,255,18 CONTROL "Je prfre me dbrouiller tout seul pour configurer SpamBayes.", IDC_STATIC,"Button",BS_AUTORADIOBUTTON | BS_TOP,20,82, 187,12 LTEXT "Pour plus d'informations sur l'entranement et le paramtrage de SpamBayes, cliquer sur le bouton A propos.", IDC_STATIC,20,103,185,26 PUSHBUTTON "A propos...",IDC_BUT_ABOUT,215,104,60,15 LTEXT "Si vous quittez l'assistant, vous pouvez le relancer partir du SpamBayes Manager, disponible sur la barre d'outil SpamBayes.", IDC_STATIC,20,137,232,17 END IDD_WIZARD_FINISHED_UNTRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Bravo !",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes est maintenant paramtr et prt filtrer sur vos messages", IDC_STATIC,20,22,247,16 LTEXT "Comme SpamBayes ne s'est pas encore entran, tous les messages vont tre rangs dans le dossier Douteux (Unsure). Pour chacun des messages, vous devez cliquer soit sur 'C'est du Spam' soit sur 'Ce n'est pas du Spam'.", IDC_STATIC,20,42,247,27 LTEXT "Pour acclrer l'entranement, vous pouvez dplacer manuellement tous les spams de votre 'Bote de rception' dans le dossier 'Spam', et alors slectionner 'Entranement' depuis le SpamBayes manager.", IDC_STATIC,20,83,247,31 LTEXT "Plus le programme s'entrane et plus la fiabilit augmente. Notez qu'aprs seulement quelques messages le rsultat est tonnant.", IDC_STATIC,20,69,247,15 LTEXT "Cliquer sur Fin pour sortir de l'assistant.",IDC_STATIC, 20,121,148,9 END IDD_WIZARD_FOLDERS_REST DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Parcourir...",IDC_BROWSE_SPAM,208,85,60,15 LTEXT "Dossiers Spam et Douteux",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes utilise deux dossiers pour grer le spam. Un dossier 'sr' pour stocker le spam et un dossier 'douteux' qu'il vous faudra aiguiller manuellement.", IDC_STATIC,20,20,247,22 LTEXT "Si vous entrez un nom de dossier qui n'existe pas, il va tre cr automatiquement. Pour choisir un dossier existant, cliquer sur Parcourir.", IDC_STATIC,20,44,243,24 EDITTEXT IDC_FOLDER_CERTAIN,20,85,179,14,ES_AUTOHSCROLL LTEXT "Les messages douteux vont tre rangs dans le dossier nomm", IDC_STATIC,20,105,186,12 EDITTEXT IDC_FOLDER_UNSURE,20,117,177,14,ES_AUTOHSCROLL LTEXT "Les messages spam vont tre rangs dans le dossier nomm", IDC_STATIC,20,72,137,8 PUSHBUTTON "Parcourir...",IDC_BROWSE_UNSURE,208,117,60,15 END IDD_WIZARD_FOLDERS_WATCH DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Parcourir...",IDC_BROWSE_WATCH,225,134,50,14 LTEXT "Dossiers recevant les nouveaux messages",IDC_STATIC,20, 4,247,14 LTEXT "SpamBayes a besoin de connaitre les dossiers utiliss pour rceptionner les nouveaux messages. En gnral, il s'agit du dossier 'Bote de rception', mais vous pouvez en prciser d'autres filtrer.", IDC_STATIC,20,21,247,25 LTEXT "Les dossiers suivants seront filtrs. Uiliser le bouton Parcourir pour changer la liste puis cliquer sur Suivant.", IDC_STATIC,20,79,247,20 LTEXT "Astuce : si vous utilisez des rgles d'aiguillage de messages, vous devriez ajouter les dossiers destination la liste.", IDC_STATIC,20,51,241,20 EDITTEXT IDC_FOLDER_WATCH,20,100,195,48,ES_MULTILINE | ES_AUTOHSCROLL | ES_READONLY END IDD_WIZARD_FINISHED_UNCONFIGURED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Annulation du paramtrage",IDC_STATIC,20,4,247,14 LTEXT "L'cran principal de SpamBayes va maintenant tre affich. Vous devez dfinir les dossiers et activer SpamBayes pour commencer filtrer les messages.", IDC_STATIC,20,29,247,16 LTEXT "Cliquer sur Fin pour quitter l'assistant.",IDC_STATIC, 20,139,148,9 END IDD_WIZARD_FOLDERS_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN PUSHBUTTON "Parcourir...",IDC_BROWSE_HAM,208,49,60,15 LTEXT "Entranement",IDC_STATIC,20,4,247,10 LTEXT "Slectionner les dossiers contenant les messages pr-tris, un pour les spams et un pour les bons messages.", IDC_STATIC,20,16,243,16 EDITTEXT IDC_FOLDER_HAM,20,49,179,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Des exemples de messages spams ou indsirables figurent dans le dossier", IDC_STATIC,20,71,198,8 EDITTEXT IDC_FOLDER_CERTAIN,20,81,177,14,ES_AUTOHSCROLL | ES_READONLY LTEXT "Des exemples de bons messages figurent dans le dossier", IDC_STATIC,20,38,153,8 PUSHBUTTON "Parcourir...",IDC_BROWSE_SPAM,208,81,60,15 LTEXT "Si vous n'avez pas de messages pr-tris ou que vous avez dj pratiqu l'entranement ou voulez garder la base, cliquer sur Prcdent et choisissez l'option 'Je n'ai rien prpar du tout'.", IDC_STATIC,20,128,243,26 CONTROL "Attribuer une note aux messages lorsque l'entranement est termin.", IDC_BUT_RESCORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,20, 108,163,16 END IDD_WIZARD_TRAIN DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Entranement",-1,20,4,247,14 LTEXT "SpamBayes s'entrane sur vos bons messages et sur les spams.", -1,20,22,247,16 CONTROL "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,20,45,255, 11 LTEXT "(progress text)",IDC_PROGRESS_TEXT,20,61,257,10 END IDD_WIZARD_FINISHED_TRAINED DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Bravo !",IDC_STATIC,20,4,247,14 LTEXT "SpamBayes s'est entran et est maintenant paramtr. Les premiers rsultats sont observables ds maintenant !", IDC_TRAINING_STATUS,20,35,247,26 LTEXT "Bien que SpamBayes ce soit entran, il continue apprendre. Pensez rgulirement vrifier le contenu du dossier 'Douteux', et utilisez les boutons 'C'est du spam' et 'Ce n'est pas du spam'.", IDC_STATIC,20,68,249,30 LTEXT "Cliquer sur Fin pour fermer l'assistant.",IDC_STATIC,20, 104,148,9 END IDD_WIZARD_TRAINING_IS_IMPORTANT DIALOGEX 0, 0, 328, 156 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma" BEGIN LTEXT "SpamBayes ne fonctionnera pas tant qu'il ne s'est pas entran.", IDC_STATIC,11,8,312,14 PUSHBUTTON "A propos de l'entranement...",IDC_BUT_ABOUT,258,135,65, 15 LTEXT "SpamBayes est un systme qui apprend reconnatre les bons et les mauvais messages partir des exemples que vous lui donnez. A la base, il ne dispose d'aucun filtres, il doit donc tre entran pour devenir effectif.", IDC_STATIC,11,21,312,30 LTEXT "Pour commencer, SpamBayes va aiguiller tous vos messages dans le dossier 'Douteux'. L'entranement est simple : pour chaque message, vous spcifiez alors s'il s'agit de spam ou non partir des boutons 'C'est du spam' et 'Ce n'est pas du spam'. Petit pete????ctls_progress32", IDC_STATIC,22,61,301,35 LTEXT "Cette option fermera l'assistant et vous dire comment aiguiller vos messages. Vous pourrez paramtrer SpamBayes et le rendre actif immdiatement sur vos messages", IDC_STATIC,22,113,301,27 LTEXT "Pour plus d'information, cliquer sur le bouton A propos de l'entranement.", IDC_STATIC,11,137,234,8 CONTROL "Je veux stopper l'entranement et laisser SpamBayes apprendre sur les nouveaux messages", IDC_BUT_UNTRAINED,"Button",BS_AUTORADIOBUTTON | WS_GROUP, 11,50,312,11 CONTROL "Je vais effectuer le pr-tri moi-mme (bon / spam) et paramtrer SpamBayes plus tard", IDC_BUT_TRAIN,"Button",BS_AUTORADIOBUTTON,11,98,312,11 END IDD_WIZARD_FINISHED_TRAIN_LATER DIALOGEX 0, 0, 284, 162 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Paramtrage abandonn",IDC_STATIC,20,4,247,14 LTEXT "Pour effectuer l'entranement initial, vous devriez crer deux dossiers, un contenant de bons messages et un autre des messages non sollicits.", IDC_STATIC,20,17,247,27 LTEXT "Cliquer sur Fin pour quitter l'assistant.",IDC_STATIC, 20,145,148,9 LTEXT "Pour des exemples de bons messages, vous pouvez utiliser votre 'Bote de rception' mais vous evez tre SR qu'elle ne contient aucun message non sollicit", IDC_STATIC,20,42,247,26 LTEXT "Si faire ce tri tait trop fastidieux, crez simplement un dossier temporaire en mettant quelques messages en exemple.", IDC_STATIC,20,58,247,17 LTEXT "Pour des exemples de messages non sollicits vous pouvez utiliser le dossier 'Elments supprims'. Si faire ce tri tait trop fastidieux, crez simplement un dossier temporaire en mettant quelques messages en exemple.", IDC_STATIC,20,80,247,35 LTEXT "Lorsque vous aurez termin, ouvrez le SpamBayes Manager via la barre d'outil SpamBayes, et redmarrez l'assistant.", IDC_STATIC,20,121,245,17 END IDD_NOTIFICATIONS DIALOGEX 0, 0, 248, 257 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION CAPTION "Notifications" FONT 8, "Tahoma", 0, 0, 0x0 BEGIN GROUPBOX "New Mail Sounds",IDC_STATIC,7,3,241,229 CONTROL "Enable new mail notification sounds",IDC_ENABLE_SOUNDS, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,17,129,10 LTEXT "Good sound:",IDC_STATIC,14,31,42,8 EDITTEXT IDC_HAM_SOUND,14,40,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_HAM_SOUND,192,40,50,14 LTEXT "Unsure sound:",IDC_STATIC,14,58,48,8 EDITTEXT IDC_UNSURE_SOUND,14,67,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_UNSURE_SOUND,192,67,50,14 LTEXT "Spam sound:",IDC_STATIC,14,85,42,8 EDITTEXT IDC_SPAM_SOUND,14,94,174,14,ES_AUTOHSCROLL PUSHBUTTON "Browse...",IDC_BROWSE_SPAM_SOUND,192,94,50,14 LTEXT "Time to wait for additional messages:",IDC_STATIC,14, 116,142,8 CONTROL "",IDC_ACCUMULATE_DELAY_SLIDER,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,14,127,148,22 EDITTEXT IDC_ACCUMULATE_DELAY_TEXT,163,133,40,14,ES_AUTOHSCROLL LTEXT "seconds",IDC_STATIC,205,136,28,8 END IDD_GENERAL DIALOGEX 0, 0, 253, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_VISIBLE | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "General" FONT 8, "Tahoma" BEGIN LTEXT "SpamBayes Version",IDC_VERSION,6,54,242,8 LTEXT "SpamBayes a besoin de s'entraner avant d'tre activ. Cliquer sur l'onglet 'Entranement', ou utilisez l'assistant en vous laissant guider.", IDC_STATIC,6,67,242,17 LTEXT "Status de la base d'entranement :",IDC_STATIC,6,90,222, 8 LTEXT "123 spams ; 456 bons messages\r\nLine2\r\nLine3", IDC_TRAINING_STATUS,6,101,242,27,SS_SUNKEN CONTROL "Activer SpamBayes",IDC_BUT_FILTER_ENABLE,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,6,221,97,11 LTEXT "Les messages classifis comme spam sont aiguills dans le dossier Folder1\nLes messages douteux sont galement aiguills", IDC_FILTER_STATUS,6,146,242,67,SS_SUNKEN PUSHBUTTON "Revenir au paramtrage initial...",IDC_BUT_RESET,6,238, 109,14 PUSHBUTTON "Assistant...",IDC_BUT_WIZARD,142,238,106,15 LTEXT "Status des filtres :",IDC_STATIC,6,135,222,8 CONTROL 1062,IDC_LOGO_GRAPHIC,"Static",SS_BITMAP | SS_REALSIZEIMAGE,0,2,275,52 END IDD_TRAINING DIALOGEX 0, 0, 252, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Entranement" FONT 8, "Tahoma" BEGIN GROUPBOX "",IDC_STATIC,5,1,243,113 LTEXT "Dossiers contenant les bons messages",IDC_STATIC,11,11, 124,8 CONTROL "",IDC_STATIC_HAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,11,21,175,12 PUSHBUTTON "&Parcourir...",IDC_BROWSE_HAM,192,20,50,14 LTEXT "Dossiers contenant les messages non sollicits", IDC_STATIC,11,36,171,9 CONTROL "Static",IDC_STATIC_SPAM,"Static",SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,11,46,174,12 PUSHBUTTON "P&arcourir...",IDC_BROWSE_SPAM,192,46,50,14 CONTROL "Attribuer une note aux messages aprs l'entranement", IDC_BUT_RESCORE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,11, 64,111,10 CONTROL "&Reconstruire toute la base",IDC_BUT_REBUILD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,137,64,92,10 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER, 11,76,231,11 PUSHBUTTON "&Commencer l'entranement",IDC_START,11,91,90,14, BS_NOTIFY LTEXT "status entranement status entranement status entranement status entranement status entranements status entranement status entranement", IDC_PROGRESS_TEXT,106,89,135,17 GROUPBOX "Entranement incremental",IDC_STATIC,4,117,244,87 CONTROL "Dplacer un message d'un dossier spam la 'Bote de rception' participe l'entranement.", IDC_BUT_TRAIN_FROM_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,127,204,18 LTEXT "Lors d'un click sur 'Ce n'est pas du spam'",IDC_STATIC, 10,148,129,8 COMBOBOX IDC_RECOVER_RS,142,145,99,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP CONTROL "Dplacer un message d'un dossier de la 'Bote de rception' au dossier 'Spam' participe l'entranement.", IDC_BUT_TRAIN_TO_SPAM_FOLDER,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,11,163,204,16 LTEXT "Lors d'un click sur 'C'est du spam'",IDC_STATIC,10,183, 106,8 COMBOBOX IDC_DEL_SPAM_RS,127,180,114,54,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP END IDD_FILTER_NOW DIALOGEX 0, 0, 244, 185 STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtrer maintenant" FONT 8, "Tahoma" BEGIN LTEXT "Filtrer les dossiers suivants",IDC_STATIC,8,9,168,11 CONTROL "Dossiers...\nLine 2",IDC_FOLDER_NAMES,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN,7,20,172, 12 PUSHBUTTON "Parcourir...",IDC_BROWSE,187,19,50,14 GROUPBOX "Filtres et actions",IDC_STATIC,7,38,230,40,WS_GROUP CONTROL "Effectuer les actions (aiguillage du message)", IDC_BUT_ACT_ALL,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,15,49,126,10 CONTROL "Attribuer une note mais ne pas effectuer d'action", IDC_BUT_ACT_SCORE,"Button",BS_AUTORADIOBUTTON,15,62,203, 10 GROUPBOX "Restrendre le filtre",IDC_STATIC,7,84,230,35,WS_GROUP CONTROL "Aux messages non lus",IDC_BUT_UNREAD,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,15,94,149,9 CONTROL "Aux messages qui n'ont pas eu de note attribue", IDC_BUT_UNSEEN,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15, 106,149,9 CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7, 129,230,11 LTEXT "Static",IDC_PROGRESS_TEXT,7,144,227,10 DEFPUSHBUTTON "Dmarrer le filtrage",IDC_START,7,161,67,14 PUSHBUTTON "Fermer",IDCANCEL,187,162,50,14 END IDD_FILTER DIALOGEX 0, 0, 249, 257 STYLE DS_MODALFRAME | WS_CHILD | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtrage" FONT 8, "Tahoma" BEGIN LTEXT "Filtrer les dossiers suivant lors de la rception de nouveaux messages", IDC_STATIC,8,4,168,11 CONTROL "Dossiers...\nLine 2",IDC_FOLDER_WATCH,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,7,16,177,12 PUSHBUTTON "Parcourir...",IDC_BROWSE_WATCH,192,14,50,14 GROUPBOX "Spam sr",IDC_STATIC,7,33,235,80 LTEXT "Pour tre considr comme un spam, un message doit obtenir une note d'au moins", IDC_STATIC,13,42,212,10 CONTROL "Slider1",IDC_SLIDER_CERTAIN,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,52,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,53,51,14,ES_AUTOHSCROLL LTEXT "et ces messages doivent tre :",IDC_STATIC,13,72,107,10 COMBOBOX IDC_ACTION_CERTAIN,12,83,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "dans le dossier",IDC_STATIC,71,85,28,10 CONTROL "Folder names...",IDC_FOLDER_CERTAIN,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,102,83,77,14 PUSHBUTTON "&Parcourir",IDC_BROWSE_CERTAIN,184,83,50,14 GROUPBOX "Message douteux",IDC_STATIC,6,117,235,81 LTEXT "Pour tre considr comme douteux, un message doit obtenir une note d'au moins", IDC_STATIC,12,128,212,10 CONTROL "Slider1",IDC_SLIDER_UNSURE,"msctls_trackbar32", TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,135,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL LTEXT "et ces messages doivent tre :",IDC_STATIC,12,155,107, 10 COMBOBOX IDC_ACTION_UNSURE,12,166,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "dans le dossier",IDC_STATIC,71,169,48,8 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,122,166,57,14 PUSHBUTTON "P&arcourir",IDC_BROWSE_UNSURE,184,166,50,14 CONTROL "Marquer les spams comme lus",IDC_MARK_SPAM_AS_READ, "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,100,81,10 CONTROL "Marquer les messages douteux comme lus", IDC_MARK_UNSURE_AS_READ,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,186,101,10 GROUPBOX "Bons messages",IDC_STATIC,6,203,235,48 LTEXT "Ces messages doivent tre :",IDC_STATIC,12,215,107,10 COMBOBOX IDC_ACTION_HAM,12,228,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP LTEXT "dans le dossier",IDC_STATIC,71,230,48,8 CONTROL "(folder name)",IDC_FOLDER_HAM,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | WS_GROUP,122,228,57,14 PUSHBUTTON "Pa&rcourir...",IDC_BROWSE_HAM,184,228,50,14 END IDD_FOLDER_SELECTOR DIALOG DISCARDABLE 0, 0, 253, 215 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Dialog" FONT 8, "Tahoma" BEGIN LTEXT "&Dossiers :",IDC_STATIC,7,7,47,9 CONTROL "",IDC_LIST_FOLDERS,"SysTreeView32",TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_CHECKBOXES | WS_BORDER | WS_TABSTOP,7,21,172,140 CONTROL "(sub)",IDC_BUT_SEARCHSUB,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,167,126,9 LTEXT "(status1)",IDC_STATUS1,7,180,220,9 LTEXT "(status2)",IDC_STATUS2,7,194,220,9 DEFPUSHBUTTON "OK",IDOK,190,21,57,14 PUSHBUTTON "Annuler",IDCANCEL,190,39,57,14 PUSHBUTTON "&Tout effacer",IDC_BUT_CLEARALL,190,58,57,14 PUSHBUTTON "&Nouveau dossier",IDC_BUT_NEW,190,77,58,14 END ///////////////////////////////////////////////////////////////////////////// // // DESIGNINFO // #ifdef APSTUDIO_INVOKED GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_ADVANCED, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 241 VERTGUIDE, 16 BOTTOMMARGIN, 204 END IDD_MANAGER, DIALOG BEGIN BOTTOMMARGIN, 253 END IDD_FILTER_SPAM, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 244 TOPMARGIN, 7 BOTTOMMARGIN, 140 END IDD_FILTER_UNSURE, DIALOG BEGIN LEFTMARGIN, 7 RIGHTMARGIN, 242 TOPMARGIN, 7 BOTTOMMARGIN, 117 END IDD_DIAGNOSTIC, DIALOG BEGIN LEFTMARGIN, 5 RIGHTMARGIN, 197 BOTTOMMARGIN, 93 END IDD_WIZARD, DIALOG BEGIN RIGHTMARGIN, 378 END IDD_WIZARD_WELCOME, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 275 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNTRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_REST, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 85 HORZGUIDE, 117 END IDD_WIZARD_FOLDERS_WATCH, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_UNCONFIGURED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FOLDERS_TRAIN, DIALOG BEGIN VERTGUIDE, 20 VERTGUIDE, 268 BOTTOMMARGIN, 161 HORZGUIDE, 49 HORZGUIDE, 81 END IDD_WIZARD_TRAIN, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_FINISHED_TRAINED, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END IDD_WIZARD_TRAINING_IS_IMPORTANT, DIALOG BEGIN VERTGUIDE, 11 VERTGUIDE, 22 VERTGUIDE, 323 BOTTOMMARGIN, 155 END IDD_WIZARD_FINISHED_TRAIN_LATER, DIALOG BEGIN VERTGUIDE, 20 BOTTOMMARGIN, 161 END END #endif // APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Bitmap // IDB_SBLOGO BITMAP MOVEABLE PURE "sblogo.bmp" IDB_SBWIZLOGO BITMAP MOVEABLE PURE "sbwizlogo.bmp" IDB_FOLDERS BITMAP MOVEABLE PURE "folders.bmp" #ifdef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // TEXTINCLUDE // 1 TEXTINCLUDE MOVEABLE PURE BEGIN "dialogs.h\0" END 2 TEXTINCLUDE MOVEABLE PURE BEGIN "#include ""winres.h""\r\n" "// spambayes dialog definitions\r\n" "\0" END 3 TEXTINCLUDE MOVEABLE PURE BEGIN "\r\n" "\0" END #endif // APSTUDIO_INVOKED #endif // English (U.S.) resources ///////////////////////////////////////////////////////////////////////////// #ifndef APSTUDIO_INVOKED ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 3 resource. // ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED --- NEW FILE: i18n_dialogs.py --- #c:\spambayes\languages\fr_FR\DIALOGS\i18n_dialogs.py #This is a generated file. Please edit c:\spambayes\languages\fr_FR\DIALOGS\dialogs.rc instead. _rc_size_=33774 _rc_mtime_=1112074577 try: _ except NameError: def _(s): return s class FakeParser: dialogs = {'IDD_MANAGER': [[_('SpamBayes Manager'), (0, 0, 275, 308), -1865940928, 1024, (8, 'Tahoma')], [128, _('Fermer'), 1, (216, 287, 50, 14), 1342177281], [128, _('Annuler'), 2, (155, 287, 50, 14), 1073741824], ['SysTabControl32', '', 1068, (8, 7, 258, 276), 1342177280], [128, _('A propos...'), 1072, (8, 287, 50, 14), 1342177280]], 'IDD_DIAGNOSTIC': [[_('Diagnostiques'), (0, 0, 201, 98), -1865940928, 1024, (8, 'Tahoma')], [130, _('Ces options avanc\xe9es sont fournies \xe0 des fins de diagnostiques et d\xe9boguage seulement. Vous ne devriez changer les valeurs que sur demande ou si vous savez exactement ce que vous faites.'), -1, (5, 3, 192, 36), 1342177280], [130, _('Verbosit\xe9 du log'), -1, (5, 44, 56, 8), 1342177280], [129, '', 1061, (73, 42, 40, 14), 1350566016], [128, _('Voir le fichier de log...'), 1093, (122, 41, 75, 14), 1342177280], [128, _('Enregistrer la note attribu\xe9e'), 1048, (5, 63, 72, 10), 1342242819], [128, _('Annuler'), 2, (69, 79, 50, 14), 1073741824], [128, _('Fermer'), 1, (147, 79, 50, 14), 1342177281]], 'IDD_FILTER_SPAM': [[_('Spam'), (0, 0, 251, 147), 1355284672, None, (8, 'Tahoma')], [130, _("Dossiers \xe0 filtrer lors de l'arriv\xe9e de nouveaux messages"), -1, (8, 9, 168, 11), 1342177280], [130, _('Folder names...\\nLine 2'), 1038, (7, 20, 177, 12), 1342312972], [128, _('&Parcourir...'), 1039, (194, 19, 50, 14), 1342177280], [128, _('Spam s\xfbr'), -1, (7, 43, 237, 80), 1342177287], [130, _("Pour \xeatre consid\xe9r\xe9 comme un spam, un message doit obtenir une note d'au moins"), -1, (13, 52, 212, 10), 1342177280], ['msctls_trackbar32', '', 1023, (13, 62, 165, 22), 1342242821], [129, '', 1024, (184, 63, 51, 14), 1350566016], [130, _('et ces messages doivent \xeatre :'), -1, (13, 82, 107, 10), 1342177280], [133, '', 1025, (13, 93, 55, 40), 1344339971], [130, _('dans le dossier'), -1, (75, 95, 31, 10), 1342177280], [130, _('Folder names...'), 1027, (120, 93, 59, 14), 1342312972], [128, _('P&arcourir...'), 1028, (184, 93, 50, 14), 1342177280], [128, _('Marquer les messages comme &lus'), 1047, (13, 110, 81, 10), 1342242819]], 'IDD_TRAINING': [[_('Entra\xeenement'), (0, 0, 252, 257), 1355284672, 1024, (8, 'Tahoma')], [128, '', -1, (5, 1, 243, 113), 1342177287], [130, _('Dossiers contenant les bons messages'), -1, (11, 11, 124, 8), 1342177280], [130, '', 1002, (11, 21, 175, 12), 1342181900], [128, _('&Parcourir...'), 1004, (192, 20, 50, 14), 1342177280], [130, _('Dossiers contenant les messages non sollicit\xe9s'), -1, (11, 36, 171, 9), 1342177280], [130, _('Static'), 1003, (11, 46, 174, 12), 1342312972], [128, _('P&arcourir...'), 1005, (192, 46, 50, 14), 1342177280], [128, _("Attribuer une note aux messages apr\xe8s l'entra\xeenement"), 1008, (11, 64, 111, 10), 1342242819], [128, _('&Reconstruire toute la base'), 1007, (137, 64, 92, 10), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (11, 76, 231, 11), 1350565888], [128, _("&Commencer l'entra\xeenement"), 1006, (11, 91, 90, 14), 1342193664], [130, _('status entra\xeenement status entra\xeenement status entra\xeenement status entra\xeenement status entra\xeenements status entra\xeenement status entra\xeenement'), 1001, (106, 89, 135, 17), 1342177280], [128, _('Entra\xeenement incremental'), -1, (4, 117, 244, 87), 1342177287], [128, _("D\xe9placer un message d'un dossier spam \xe0 la 'Bo\xeete de r\xe9ception' participe \xe0 l'entra\xeenement."), 1010, (11, 127, 204, 18), 1342251011], [130, _("Lors d'un click sur 'Ce n'est pas du spam'"), -1, (10, 148, 129, 8), 1342177280], [133, '', 1075, (142, 145, 99, 54), 1344339971], [128, _("D\xe9placer un message d'un dossier de la 'Bo\xeete de r\xe9ception' au dossier 'Spam' participe \xe0 l'entra\xeenement."), 1011, (11, 163, 204, 16), 1342251011], [130, _("Lors d'un click sur 'C'est du spam'"), -1, (10, 183, 106, 8), 1342177280], [133, '', 1074, (127, 180, 114, 54), 1344339971]], 'IDD_WIZARD': [[_('Assistant de configuration SpamBayes'), (0, 0, 384, 190), -1865940800, 1024, (8, 'Tahoma')], [128, _('Annuler'), 2, (328, 173, 50, 14), 1342177280], [128, _('<< Pr\xe9c\xe9dent'), 1069, (204, 173, 50, 14), 1342177280], [128, _('Suivant>>,Fin'), 1077, (259, 173, 52, 14), 1342177281], [130, '', 1078, (75, 4, 303, 167), 1342177298], [130, '125', 1092, (0, 0, 69, 190), 1342177294]], 'IDD_WIZARD_FOLDERS_WATCH': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Parcourir...'), 1039, (225, 134, 50, 14), 1342177280], [130, _('Dossiers recevant les nouveaux messages'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes a besoin de connaitre les dossiers utilis\xe9s pour r\xe9ceptionner les nouveaux messages. En g\xe9n\xe9ral, il s'agit du dossier 'Bo\xeete de r\xe9ception', mais vous pouvez en pr\xe9ciser d'autres \xe0 filtrer."), -1, (20, 21, 247, 25), 1342177280], [130, _('Les dossiers suivants seront filtr\xe9s. Uiliser le bouton Parcourir pour changer la liste puis cliquer sur Suivant.'), -1, (20, 79, 247, 20), 1342177280], [130, _("Astuce : si vous utilisez des r\xe8gles d'aiguillage de messages, vous devriez ajouter les dossiers destination \xe0 la liste."), -1, (20, 51, 241, 20), 1342177280], [129, '', 1038, (20, 100, 195, 48), 1350568068]], 'IDD_WIZARD_FINISHED_TRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Bravo !'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes s'est entra\xeen\xe9 et est maintenant param\xe9tr\xe9. Les premiers r\xe9sultats sont observables d\xe8s maintenant !"), 1035, (20, 35, 247, 26), 1342177280], [130, _("Bien que SpamBayes ce soit entra\xeen\xe9, il continue \xe0 apprendre. Pensez \xe0 r\xe9guli\xe8rement v\xe9rifier le contenu du dossier 'Douteux', et utilisez les boutons 'C'est du spam' et 'Ce n'est pas du spam'."), -1, (20, 68, 249, 30), 1342177280], [130, _("Cliquer sur Fin pour fermer l'assistant."), -1, (20, 104, 148, 9), 1342177280]], 'IDD_WIZARD_FOLDERS_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Parcourir...'), 1004, (208, 49, 60, 15), 1342177280], [130, _('Entra\xeenement'), -1, (20, 4, 247, 10), 1342177280], [130, _('S\xe9lectionner les dossiers contenant les messages pr\xe9-tri\xe9s, un pour les spams et un pour les bons messages.'), -1, (20, 16, 243, 16), 1342177280], [129, '', 1083, (20, 49, 179, 14), 1350568064], [130, _('Des exemples de messages spams ou ind\xe9sirables figurent dans le dossier'), -1, (20, 71, 198, 8), 1342177280], [129, '', 1027, (20, 81, 177, 14), 1350568064], [130, _('Des exemples de bons messages figurent dans le dossier'), -1, (20, 38, 153, 8), 1342177280], [128, _('Parcourir...'), 1005, (208, 81, 60, 15), 1342177280], [130, _("Si vous n'avez pas de messages pr\xe9-tri\xe9s ou que vous avez d\xe9j\xe0 pratiqu\xe9 l'entra\xeenement ou voulez garder la base, cliquer sur Pr\xe9c\xe9dent et choisissez l'option 'Je n'ai rien pr\xe9par\xe9 du tout'."), -1, (20, 128, 243, 26), 1342177280], [128, _("Attribuer une note aux messages lorsque l'entra\xeenement est termin\xe9."), 1008, (20, 108, 163, 16), 1342242819]], 'IDD_WIZARD_TRAIN': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Entra\xeenement'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes s'entra\xeene sur vos bons messages et sur les spams."), -1, (20, 22, 247, 16), 1342177280], ['msctls_progress32', '', 1000, (20, 45, 255, 11), 1350565888], [130, _('(progress text)'), 1001, (20, 61, 257, 10), 1342177280]], 'IDD_WIZARD_FINISHED_TRAIN_LATER': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Param\xe9trage abandonn\xe9'), -1, (20, 4, 247, 14), 1342177280], [130, _("Pour effectuer l'entra\xeenement initial, vous devriez cr\xe9er deux dossiers, un contenant de bons messages et un autre des messages non sollicit\xe9s."), -1, (20, 17, 247, 27), 1342177280], [130, _("Cliquer sur Fin pour quitter l'assistant."), -1, (20, 145, 148, 9), 1342177280], [130, _("Pour des exemples de bons messages, vous pouvez utiliser votre 'Bo\xeete de r\xe9ception' mais vous evez \xeatre S\xdbR qu'elle ne contient aucun message non sollicit\xe9"), -1, (20, 42, 247, 26), 1342177280], [130, _('Si faire ce tri \xe9tait trop fastidieux, cr\xe9ez simplement un dossier temporaire en mettant quelques messages en exemple.'), -1, (20, 58, 247, 17), 1342177280], [130, _("Pour des exemples de messages non sollicit\xe9s vous pouvez utiliser le dossier 'El\xe9ments supprim\xe9s'. Si faire ce tri \xe9tait trop fastidieux, cr\xe9ez simplement un dossier temporaire en mettant quelques messages en exemple."), -1, (20, 80, 247, 35), 1342177280], [130, _("Lorsque vous aurez termin\xe9, ouvrez le SpamBayes Manager via la barre d'outil SpamBayes, et red\xe9marrez l'assistant."), -1, (20, 121, 245, 17), 1342177280]], 'IDD_FOLDER_SELECTOR': [[_('Dialog'), (0, 0, 253, 215), -1865940800, None, (8, 'Tahoma')], [130, _('&Dossiers :'), -1, (7, 7, 47, 9), 1342177280], ['SysTreeView32', '', 1040, (7, 21, 172, 140), 1350631735], [128, _('(sub)'), 1041, (7, 167, 126, 9), 1342242819], [130, _('(status1)'), 1043, (7, 180, 220, 9), 1342177280], [130, _('(status2)'), 1044, (7, 194, 220, 9), 1342177280], [128, _('OK'), 1, (190, 21, 57, 14), 1342177281], [128, _('Annuler'), 2, (190, 39, 57, 14), 1342177280], [128, _('&Tout effacer'), 1042, (190, 58, 57, 14), 1342177280], [128, _('&Nouveau dossier'), 1046, (190, 77, 58, 14), 1342177280]], 'IDD_STATISTICS': [[_('Statistiques'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('Statistiques'), -1, (7, 3, 241, 229), 1342177287], [130, _('some stats\\nand some more\\nline 3\\nline 4\\nline 5'), 1095, (12, 12, 230, 204), 1342177280], [128, _('Remise \xe0 0 des statistiques'), 1096, (156, 238, 92, 14), 1342177280], [130, _('Derni\xe8re remise \xe0 0 :'), -1, (7, 241, 36, 8), 1342177280], [130, _('<<>>'), 1097, (47, 241, 107, 8), 1342177280]], 'IDD_ADVANCED': [[_('Avanc\xe9'), (0, 0, 248, 257), 1355284672, 1024, (8, 'Tahoma')], [128, _('D\xe9lais de filtrage'), -1, (7, 3, 234, 117), 1342177287], ['msctls_trackbar32', '', 1056, (16, 36, 148, 22), 1342242821], [130, _('D\xe9lai avant filtrage'), -1, (16, 26, 101, 8), 1342177280], [129, '', 1057, (165, 39, 40, 14), 1350566016], [130, _('secondes'), -1, (208, 41, 28, 8), 1342177280], ['msctls_trackbar32', '', 1058, (16, 73, 148, 22), 1342242821], [130, _('D\xe9lai de filtrage entre deux messages'), -1, (16, 62, 142, 8), 1342177280], [129, '', 1059, (165, 79, 40, 14), 1350566016], [130, _('secondes'), -1, (207, 82, 28, 8), 1342177280], [128, _('Seulement pour les dossiers qui re\xe7oivent de nouveaux messages'), 1060, (16, 100, 217, 10), 1342242819], [128, _('Afficher le r\xe9pertoire de donn\xe9es'), 1071, (7, 238, 111, 14), 1342177280], [128, _('Activer le filtrage en t\xe2che de fond'), 1091, (16, 12, 162, 10), 1342242819], [128, _('Diagnostiques...'), 1080, (171, 238, 70, 14), 1342177280]], 'IDD_WIZARD_FINISHED_UNCONFIGURED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Annulation du param\xe9trage'), -1, (20, 4, 247, 14), 1342177280], [130, _("L'\xe9cran principal de SpamBayes va maintenant \xeatre affich\xe9. Vous devez d\xe9finir les dossiers et activer SpamBayes pour commencer \xe0 filtrer les messages."), -1, (20, 29, 247, 16), 1342177280], [130, _("Cliquer sur Fin pour quitter l'assistant."), -1, (20, 139, 148, 9), 1342177280]], 'IDD_WIZARD_WELCOME': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _("Bienvenue dans l'assistant de param\xe9trage de SpamBayes"), -1, (20, 4, 191, 14), 1342177280], [130, _('Cet assistant va vous guider dans le param\xe9trage du module SpamBayes pour Outlook. Merci de pr\xe9ciser o\xf9 vous en \xeates pour le param\xe9trage.'), -1, (20, 20, 255, 18), 1342177280], [128, _("Je n'ai rien pr\xe9par\xe9 du tout pour SpamBayes."), 1081, (20, 42, 190, 11), 1342309385], [128, _("J'ai d\xe9j\xe0 filtr\xe9 les bon messages (ham) et les mauvais (spam) dans des dossiers s\xe9par\xe9s adapt\xe9s \xe0 l'entra\xeenement."), -1, (20, 59, 255, 18), 1342186505], [128, _('Je pr\xe9f\xe8re me d\xe9brouiller tout seul pour configurer SpamBayes.'), -1, (20, 82, 187, 12), 1342178313], [130, _("Pour plus d'informations sur l'entra\xeenement et le param\xe9trage de SpamBayes, cliquer sur le bouton A propos."), -1, (20, 103, 185, 26), 1342177280], [128, _('A propos...'), 1017, (215, 104, 60, 15), 1342177280], [130, _("Si vous quittez l'assistant, vous pouvez le relancer \xe0 partir du SpamBayes Manager, disponible sur la barre d'outil SpamBayes."), -1, (20, 137, 232, 17), 1342177280]], 'IDD_FILTER_NOW': [[_('Filtrer maintenant'), (0, 0, 244, 185), -1865940928, 1024, (8, 'Tahoma')], [130, _('Filtrer les dossiers suivants'), -1, (8, 9, 168, 11), 1342177280], [130, _('Dossiers...\\nLine 2'), 1036, (7, 20, 172, 12), 1342181900], [128, _('Parcourir...'), 1037, (187, 19, 50, 14), 1342177280], [128, _('Filtres et actions'), -1, (7, 38, 230, 40), 1342308359], [128, _('Effectuer les actions (aiguillage du message)'), 1019, (15, 49, 126, 10), 1342373897], [128, _("Attribuer une note mais ne pas effectuer d'action"), 1018, (15, 62, 203, 10), 1342177289], [128, _('Restrendre le filtre'), -1, (7, 84, 230, 35), 1342308359], [128, _('Aux messages non lus'), 1020, (15, 94, 149, 9), 1342242819], [128, _("Aux messages qui n'ont pas eu de note attribu\xe9e"), 1021, (15, 106, 149, 9), 1342242819], ['msctls_progress32', _('Progress1'), 1000, (7, 129, 230, 11), 1350565888], [130, _('Static'), 1001, (7, 144, 227, 10), 1342177280], [128, _('D\xe9marrer le filtrage'), 1006, (7, 161, 67, 14), 1342177281], [128, _('Fermer'), 2, (187, 162, 50, 14), 1342177280]], 'IDD_WIZARD_TRAINING_IS_IMPORTANT': [['', (0, 0, 328, 156), 1354760384, 1024, (8, 'Tahoma')], [130, _("SpamBayes ne fonctionnera pas tant qu'il ne s'est pas entra\xeen\xe9."), -1, (11, 8, 312, 14), 1342177280], [128, _("A propos de l'entra\xeenement..."), 1017, (258, 135, 65, 15), 1342177280], [130, _("SpamBayes est un syst\xe8me qui apprend \xe0 reconna\xeetre les bons et les mauvais messages \xe0 partir des exemples que vous lui donnez. A la base, il ne dispose d'aucun filtres, il doit donc \xeatre entra\xeen\xe9 pour devenir effectif."), -1, (11, 21, 312, 30), 1342177280], [130, _("Pour commencer, SpamBayes va aiguiller tous vos messages dans le dossier 'Douteux'. L'entra\xeenement est simple : pour chaque message, vous sp\xe9cifiez alors s'il s'agit de spam ou non \xe0 partir des boutons 'C'est du spam' et 'Ce n'est pas du spam'. Petit \xe0 pete????ctls_progress32"), -1, (22, 61, 301, 35), 1342177280], [130, _("Cette option fermera l'assistant et vous dire comment aiguiller vos messages. Vous pourrez param\xe9trer SpamBayes et le rendre actif imm\xe9diatement sur vos messages"), -1, (22, 113, 301, 27), 1342177280], [130, _("Pour plus d'information, cliquer sur le bouton A propos de l'entra\xeenement."), -1, (11, 137, 234, 8), 1342177280], [128, _("Je veux stopper l'entra\xeenement et laisser SpamBayes apprendre sur les nouveaux messages"), 1088, (11, 50, 312, 11), 1342308361], [128, _('Je vais effectuer le pr\xe9-tri moi-m\xeame (bon / spam) et param\xe9trer SpamBayes plus tard'), 1089, (11, 98, 312, 11), 1342177289]], 'IDD_FILTER_UNSURE': [[_('Messages douteux'), (0, 0, 249, 124), 1355284672, None, (8, 'Tahoma')], [130, _("Pour \xeatre consid\xe9r\xe9 comme douteux, un message doit obtenir une note d'au moins"), -1, (12, 11, 212, 10), 1342177280], ['msctls_trackbar32', '', 1029, (12, 18, 165, 20), 1342242821], [129, '', 1030, (183, 24, 54, 14), 1350566016], [130, _('et ces messages doivent \xeatre :'), -1, (12, 38, 107, 10), 1342177280], [133, '', 1031, (12, 49, 55, 40), 1344339971], [130, _('dans le dossier'), -1, (74, 52, 31, 10), 1342177280], [130, _('(folder name)'), 1033, (119, 49, 59, 14), 1342312972], [128, _('Pa&rcourir'), 1034, (183, 49, 50, 14), 1342177280], [128, _('Marquer les messages l&us'), 1051, (12, 70, 101, 10), 1342242819]], 'IDD_WIZARD_FINISHED_UNTRAINED': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [130, _('Bravo !'), -1, (20, 4, 247, 14), 1342177280], [130, _('SpamBayes est maintenant param\xe9tr\xe9 et pr\xeat \xe0 filtrer sur vos messages'), -1, (20, 22, 247, 16), 1342177280], [130, _("Comme SpamBayes ne s'est pas encore entra\xeen\xe9, tous les messages vont \xeatre rang\xe9s dans le dossier Douteux (Unsure). Pour chacun des messages, vous devez cliquer soit sur 'C'est du Spam' soit sur 'Ce n'est pas du Spam'."), -1, (20, 42, 247, 27), 1342177280], [130, _("Pour acc\xe9l\xe9rer l'entra\xeenement, vous pouvez d\xe9placer manuellement tous les spams de votre 'Bo\xeete de r\xe9ception' dans le dossier 'Spam', et alors s\xe9lectionner 'Entra\xeenement' depuis le SpamBayes manager."), -1, (20, 83, 247, 31), 1342177280], [130, _("Plus le programme s'entra\xeene et plus la fiabilit\xe9 augmente. Notez qu'apr\xe8s seulement quelques messages le r\xe9sultat est \xe9tonnant."), -1, (20, 69, 247, 15), 1342177280], [130, _("Cliquer sur Fin pour sortir de l'assistant."), -1, (20, 121, 148, 9), 1342177280]], 'IDD_GENERAL': [[_('General'), (0, 0, 253, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('SpamBayes Version'), 1009, (6, 54, 242, 8), 1342177280], [130, _("SpamBayes a besoin de s'entra\xeener avant d'\xeatre activ\xe9. Cliquer sur l'onglet 'Entra\xeenement', ou utilisez l'assistant en vous laissant guider."), -1, (6, 67, 242, 17), 1342177280], [130, _("Status de la base d'entra\xeenement :"), -1, (6, 90, 222, 8), 1342177280], [130, _('123 spams ; 456 bons messages\\r\\nLine2\\r\\nLine3'), 1035, (6, 101, 242, 27), 1342181376], [128, _('Activer SpamBayes'), 1013, (6, 221, 97, 11), 1342242819], [130, _('Les messages classifi\xe9s comme spam sont aiguill\xe9s dans le dossier Folder1\\nLes messages douteux sont \xe9galement aiguill\xe9s'), 1014, (6, 146, 242, 67), 1342181376], [128, _('Revenir au param\xe9trage initial...'), 1073, (6, 238, 109, 14), 1342177280], [128, _('Assistant...'), 1070, (142, 238, 106, 15), 1342177280], [130, _('Status des filtres :'), -1, (6, 135, 222, 8), 1342177280], [130, '1062', 1063, (0, 2, 275, 52), 1342179342]], 'IDD_FILTER': [[_('Filtrage'), (0, 0, 249, 257), 1355284672, 1024, (8, 'Tahoma')], [130, _('Filtrer les dossiers suivant lors de la r\xe9ception de nouveaux messages'), -1, (8, 4, 168, 11), 1342177280], [130, _('Dossiers...\\nLine 2'), 1038, (7, 16, 177, 12), 1342312972], [128, _('Parcourir...'), 1039, (192, 14, 50, 14), 1342177280], [128, _('Spam s\xfbr'), -1, (7, 33, 235, 80), 1342177287], [130, _("Pour \xeatre consid\xe9r\xe9 comme un spam, un message doit obtenir une note d'au moins"), -1, (13, 42, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1023, (13, 52, 165, 22), 1342242821], [129, '', 1024, (184, 53, 51, 14), 1350566016], [130, _('et ces messages doivent \xeatre :'), -1, (13, 72, 107, 10), 1342177280], [133, '', 1025, (12, 83, 55, 40), 1344339971], [130, _('dans le dossier'), -1, (71, 85, 28, 10), 1342177280], [130, _('Folder names...'), 1027, (102, 83, 77, 14), 1342312972], [128, _('&Parcourir'), 1028, (184, 83, 50, 14), 1342177280], [128, _('Message douteux'), -1, (6, 117, 235, 81), 1342177287], [130, _("Pour \xeatre consid\xe9r\xe9 comme douteux, un message doit obtenir une note d'au moins"), -1, (12, 128, 212, 10), 1342177280], ['msctls_trackbar32', _('Slider1'), 1029, (12, 135, 165, 20), 1342242821], [129, '', 1030, (183, 141, 54, 14), 1350566016], [130, _('et ces messages doivent \xeatre :'), -1, (12, 155, 107, 10), 1342177280], [133, '', 1031, (12, 166, 55, 40), 1344339971], [130, _('dans le dossier'), -1, (71, 169, 48, 8), 1342177280], [130, _('(folder name)'), 1033, (122, 166, 57, 14), 1342312972], [128, _('P&arcourir'), 1034, (184, 166, 50, 14), 1342177280], [128, _('Marquer les spams comme lus'), 1047, (13, 100, 81, 10), 1342242819], [128, _('Marquer les messages douteux comme lus'), 1051, (12, 186, 101, 10), 1342242819], [128, _('Bons messages'), -1, (6, 203, 235, 48), 1342177287], [130, _('Ces messages doivent \xeatre :'), -1, (12, 215, 107, 10), 1342177280], [133, '', 1032, (12, 228, 55, 40), 1344339971], [130, _('dans le dossier'), -1, (71, 230, 48, 8), 1342177280], [130, _('(folder name)'), 1083, (122, 228, 57, 14), 1342312972], [128, _('Pa&rcourir...'), 1004, (184, 228, 50, 14), 1342177280]], 'IDD_NOTIFICATIONS': [[_('Notifications'), (0, 0, 248, 257), 1354760256, None, (8, 'Tahoma')], [128, _('New Mail Sounds'), -1, (7, 3, 241, 229), 1342177287], [128, _('Enable new mail notification sounds'), 1098, (14, 17, 129, 10), 1342242819], [130, _('Good sound:'), -1, (14, 31, 42, 8), 1342177280], [129, '', 1094, (14, 40, 174, 14), 1350566016], [128, _('Browse...'), 1101, (192, 40, 50, 14), 1342177280], [130, _('Unsure sound:'), -1, (14, 58, 48, 8), 1342177280], [129, '', 1095, (14, 67, 174, 14), 1350566016], [128, _('Browse...'), 1102, (192, 67, 50, 14), 1342177280], [130, _('Spam sound:'), -1, (14, 85, 42, 8), 1342177280], [129, '', 1096, (14, 94, 174, 14), 1350566016], [128, _('Browse...'), 1103, (192, 94, 50, 14), 1342177280], [130, _('Time to wait for additional messages:'), -1, (14, 116, 142, 8), 1342177280], ['msctls_trackbar32', '', 1099, (14, 127, 148, 22), 1342242821], [129, '', 1100, (163, 133, 40, 14), 1350566016], [130, _('seconds'), -1, (205, 136, 28, 8), 1342177280]], 'IDD_WIZARD_FOLDERS_REST': [['', (0, 0, 284, 162), 1354760384, 1024, (8, 'Tahoma')], [128, _('Parcourir...'), 1005, (208, 85, 60, 15), 1342177280], [130, _('Dossiers Spam et Douteux'), -1, (20, 4, 247, 14), 1342177280], [130, _("SpamBayes utilise deux dossiers pour g\xe9rer le spam. Un dossier 's\xfbr' pour stocker le spam et un dossier 'douteux' qu'il vous faudra aiguiller manuellement."), -1, (20, 20, 247, 22), 1342177280], [130, _("Si vous entrez un nom de dossier qui n'existe pas, il va \xeatre cr\xe9\xe9 automatiquement. Pour choisir un dossier existant, cliquer sur Parcourir."), -1, (20, 44, 243, 24), 1342177280], [129, '', 1027, (20, 85, 179, 14), 1350566016], [130, _('Les messages douteux vont \xeatre rang\xe9s dans le dossier nomm\xe9'), -1, (20, 105, 186, 12), 1342177280], [129, '', 1033, (20, 117, 177, 14), 1350566016], [130, _('Les messages spam vont \xeatre rang\xe9s dans le dossier nomm\xe9'), -1, (20, 72, 137, 8), 1342177280], [128, _('Parcourir...'), 1034, (208, 117, 60, 15), 1342177280]]} ids = {'IDC_DELAY1_SLIDER': 1056, 'IDC_PROGRESS': 1000, 'IDD_MANAGER': 101, 'IDD_DIAGNOSTIC': 113, 'IDD_TRAINING': 102, 'IDC_DELAY2_TEXT': 1059, 'IDC_DELAY1_TEXT': 1057, 'IDD_WIZARD': 114, 'IDC_BROWSE_SPAM_SOUND': 1103, 'IDC_STATIC_HAM': 1002, 'IDC_PROGRESS_TEXT': 1001, 'IDD_GENERAL': 108, 'IDC_BROWSE_UNSURE_SOUND': 1102, 'IDC_TAB': 1068, 'IDC_FOLDER_UNSURE': 1033, 'IDC_VERBOSE_LOG': 1061, 'IDC_EDIT1': 1094, 'IDC_BROWSE': 1037, 'IDC_BACK_BTN': 1069, 'IDD_WIZARD_FINISHED_UNCONFIGURED': 119, 'IDC_ACTION_CERTAIN': 1025, 'IDC_BUT_ACT_ALL': 1019, 'IDD_FILTER_NOW': 104, 'IDC_BROWSE_HAM_SOUND': 1101, 'IDC_MARK_SPAM_AS_READ': 1047, 'IDC_RECOVER_RS': 1075, 'IDC_STATIC': -1, 'IDC_PAGE_PLACEHOLDER': 1078, 'IDC_BROWSE_WATCH': 1039, 'IDC_ACCUMULATE_DELAY_TEXT': 1100, 'IDC_FOLDER_HAM': 1083, 'IDD_WIZARD_FOLDERS_REST': 117, 'IDC_SHOW_DATA_FOLDER': 1071, 'IDC_BUT_ACT_SCORE': 1018, '_APS_NEXT_RESOURCE_VALUE': 129, '_APS_NEXT_SYMED_VALUE': 101, 'IDC_SLIDER_CERTAIN': 1023, 'IDC_BUT_UNREAD': 1020, 'IDC_BUT_ABOUT': 1017, 'IDC_BUT_RESCORE': 1008, 'IDC_BUT_SEARCHSUB': 1041, 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER': 1010, 'IDC_LAST_RESET_DATE': 1097, 'IDD_WIZARD_FOLDERS_TRAIN': 120, 'IDC_BUT_FILTER_ENABLE': 1013, 'IDC_ABOUT_BTN': 1072, 'IDD_WIZARD_FINISHED_TRAINED': 122, 'IDD_FOLDER_SELECTOR': 105, 'IDD_STATISTICS': 107, 'IDC_LIST_FOLDERS': 1040, 'IDB_SBWIZLOGO': 125, 'IDC_BUT_VIEW_LOG': 1093, 'IDC_STATUS2': 1044, 'IDC_STATUS1': 1043, 'IDCANCEL': 2, 'IDC_BROWSE_HAM': 1004, 'IDC_BROWSE_SPAM': 1005, 'IDD_WIZARD_FINISHED_UNTRAINED': 116, 'IDC_MARK_UNSURE_AS_READ': 1051, 'IDC_BROWSE_HAM_SOUND2': 1103, 'IDC_BUT_WIZARD': 1070, 'IDC_VERSION': 1009, 'IDC_FOLDER_NAMES': 1036, 'IDC_BUT_TIMER_ENABLED': 1091, 'IDC_SLIDER_UNSURE': 1029, 'IDC_BUT_NEW': 1046, 'IDC_FOLDER_WATCH': 1038, 'IDC_BUT_UNTRAINED': 1088, 'IDC_STATIC_SPAM': 1003, 'IDC_EDIT_UNSURE': 1030, 'IDC_BUT_CLEARALL': 1042, 'IDC_BUT_UNSEEN': 1021, 'IDD_WIZARD_FOLDERS_WATCH': 118, 'IDC_HAM_SOUND': 1094, 'IDC_EDIT_CERTAIN': 1024, 'IDC_BUT_FILTER_DEFINE': 1016, 'IDC_FORWARD_BTN': 1077, '_APS_NEXT_CONTROL_VALUE': 1102, 'IDC_INBOX_TIMER_ONLY': 1060, 'IDD_ADVANCED': 106, 'IDC_WIZ_GRAPHIC': 1092, 'IDD_FILTER_UNSURE': 40002, 'IDC_DEL_SPAM_RS': 1074, 'IDB_FOLDERS': 127, 'IDC_BUT_PREPARATION': 1081, 'IDC_DELAY2_SLIDER': 1058, 'IDC_ACCUMULATE_DELAY_SLIDER': 1099, 'IDC_SAVE_SPAM_SCORE': 1048, 'IDC_FOLDER_CERTAIN': 1027, 'IDB_SBLOGO': 1062, 'IDC_BROWSE_UNSURE': 1034, 'IDC_STATISTICS': 1095, 'IDC_BUT_RESET_STATS': 1096, 'IDC_BUT_TRAIN_TO_SPAM_FOLDER': 1011, 'IDD_FILTER_SPAM': 110, 'IDC_BUT_RESET': 1073, 'IDD_NOTIFICATIONS': 128, 'IDC_ACTION_UNSURE': 1031, 'IDD_WIZARD_TRAIN': 121, 'IDD_WIZARD_FINISHED_TRAIN_LATER': 124, 'IDC_ACTION_HAM': 1032, 'IDC_BUT_REBUILD': 1007, '_APS_NEXT_COMMAND_VALUE': 40001, 'IDC_ENABLE_SOUNDS': 1098, 'IDC_SPAM_SOUND': 1096, 'IDC_UNSURE_SOUND': 1095, 'IDD_WIZARD_TRAINING_IS_IMPORTANT': 123, 'IDC_TRAINING_STATUS': 1035, 'IDD_WIZARD_WELCOME': 115, 'IDC_BUT_TRAIN': 1089, 'IDC_START': 1006, 'IDD_FILTER': 103, 'IDC_LOGO_GRAPHIC': 1063, 'IDC_FILTER_STATUS': 1014, 'IDOK': 1, 'IDC_BROWSE_CERTAIN': 1028, 'IDC_BUT_SHOW_DIAGNOSTICS': 1080, 'IDC_BUT_TRAIN_NOW': 1012} names = {1024: 'IDC_EDIT_CERTAIN', 1: 'IDOK', 2: 'IDCANCEL', 1027: 'IDC_FOLDER_CERTAIN', 1028: 'IDC_BROWSE_CERTAIN', 1029: 'IDC_SLIDER_UNSURE', 1030: 'IDC_EDIT_UNSURE', 1031: 'IDC_ACTION_UNSURE', 1032: 'IDC_ACTION_HAM', 1033: 'IDC_FOLDER_UNSURE', 1034: 'IDC_BROWSE_UNSURE', 1035: 'IDC_TRAINING_STATUS', 1036: 'IDC_FOLDER_NAMES', 1037: 'IDC_BROWSE', 1038: 'IDC_FOLDER_WATCH', 1039: 'IDC_BROWSE_WATCH', 1040: 'IDC_LIST_FOLDERS', 1041: 'IDC_BUT_SEARCHSUB', 1042: 'IDC_BUT_CLEARALL', 1043: 'IDC_STATUS1', 1044: 'IDC_STATUS2', 1046: 'IDC_BUT_NEW', 1047: 'IDC_MARK_SPAM_AS_READ', 1048: 'IDC_SAVE_SPAM_SCORE', 1051: 'IDC_MARK_UNSURE_AS_READ', 1056: 'IDC_DELAY1_SLIDER', 1057: 'IDC_DELAY1_TEXT', 1058: 'IDC_DELAY2_SLIDER', 1059: 'IDC_DELAY2_TEXT', 1060: 'IDC_INBOX_TIMER_ONLY', 1061: 'IDC_VERBOSE_LOG', 1062: 'IDB_SBLOGO', 1063: 'IDC_LOGO_GRAPHIC', 1068: 'IDC_TAB', 1069: 'IDC_BACK_BTN', 1070: 'IDC_BUT_WIZARD', 1071: 'IDC_SHOW_DATA_FOLDER', 1072: 'IDC_ABOUT_BTN', 1073: 'IDC_BUT_RESET', 1074: 'IDC_DEL_SPAM_RS', 1075: 'IDC_RECOVER_RS', 1077: 'IDC_FORWARD_BTN', 1078: 'IDC_PAGE_PLACEHOLDER', 1080: 'IDC_BUT_SHOW_DIAGNOSTICS', 1081: 'IDC_BUT_PREPARATION', 1083: 'IDC_FOLDER_HAM', 1088: 'IDC_BUT_UNTRAINED', 1089: 'IDC_BUT_TRAIN', 40002: 'IDD_FILTER_UNSURE', 1091: 'IDC_BUT_TIMER_ENABLED', 1025: 'IDC_ACTION_CERTAIN', 1093: 'IDC_BUT_VIEW_LOG', 1094: 'IDC_EDIT1', 1095: 'IDC_STATISTICS', 1096: 'IDC_BUT_RESET_STATS', 1097: 'IDC_LAST_RESET_DATE', 1098: 'IDC_ENABLE_SOUNDS', 1099: 'IDC_ACCUMULATE_DELAY_SLIDER', 1100: 'IDC_ACCUMULATE_DELAY_TEXT', 1101: 'IDC_BROWSE_HAM_SOUND', 1102: 'IDC_BROWSE_UNSURE_SOUND', 1103: 'IDC_BROWSE_HAM_SOUND2', 101: 'IDD_MANAGER', 102: 'IDD_TRAINING', 103: 'IDD_FILTER', 104: 'IDD_FILTER_NOW', 105: 'IDD_FOLDER_SELECTOR', 106: 'IDD_ADVANCED', 107: 'IDD_STATISTICS', 108: 'IDD_GENERAL', 110: 'IDD_FILTER_SPAM', 113: 'IDD_DIAGNOSTIC', 114: 'IDD_WIZARD', 115: 'IDD_WIZARD_WELCOME', 116: 'IDD_WIZARD_FINISHED_UNTRAINED', 117: 'IDD_WIZARD_FOLDERS_REST', 118: 'IDD_WIZARD_FOLDERS_WATCH', 119: 'IDD_WIZARD_FINISHED_UNCONFIGURED', 120: 'IDD_WIZARD_FOLDERS_TRAIN', 121: 'IDD_WIZARD_TRAIN', 122: 'IDD_WIZARD_FINISHED_TRAINED', 123: 'IDD_WIZARD_TRAINING_IS_IMPORTANT', 124: 'IDD_WIZARD_FINISHED_TRAIN_LATER', 125: 'IDB_SBWIZLOGO', 127: 'IDB_FOLDERS', 128: 'IDD_NOTIFICATIONS', 129: '_APS_NEXT_RESOURCE_VALUE', 40001: '_APS_NEXT_COMMAND_VALUE', 1092: 'IDC_WIZ_GRAPHIC', 1000: 'IDC_PROGRESS', 1001: 'IDC_PROGRESS_TEXT', 1002: 'IDC_STATIC_HAM', 1003: 'IDC_STATIC_SPAM', 1004: 'IDC_BROWSE_HAM', 1005: 'IDC_BROWSE_SPAM', 1006: 'IDC_START', 1007: 'IDC_BUT_REBUILD', 1008: 'IDC_BUT_RESCORE', 1009: 'IDC_VERSION', 1010: 'IDC_BUT_TRAIN_FROM_SPAM_FOLDER', 1011: 'IDC_BUT_TRAIN_TO_SPAM_FOLDER', 1012: 'IDC_BUT_TRAIN_NOW', 1013: 'IDC_BUT_FILTER_ENABLE', 1014: 'IDC_FILTER_STATUS', 1016: 'IDC_BUT_FILTER_DEFINE', 1017: 'IDC_BUT_ABOUT', 1018: 'IDC_BUT_ACT_SCORE', 1019: 'IDC_BUT_ACT_ALL', 1020: 'IDC_BUT_UNREAD', 1021: 'IDC_BUT_UNSEEN', -1: 'IDC_STATIC', 1023: 'IDC_SLIDER_CERTAIN'} bitmaps = {'IDB_SBWIZLOGO': 'sbwizlogo.bmp', 'IDB_SBLOGO': 'sblogo.bmp', 'IDB_FOLDERS': 'folders.bmp'} def ParseDialogs(s): return FakeParser() From anadelonbrin at users.sourceforge.net Thu Apr 7 06:13:04 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 07:24:25 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages/fr .cvsignore, NONE, 1.1 __init__.py, NONE, 1.1 i18n.ui.html, NONE, 1.1 i18n_ui_html.py, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages/fr In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6633/spambayes/languages/fr Added Files: .cvsignore __init__.py i18n.ui.html i18n_ui_html.py Log Message: Everything works much nicer if the languages files are inside the spambayes package, so move them there (there is basically no CVS history for these files, anyway). Apart from the .mo files, the rest are modules that can be imported. --- NEW FILE: .cvsignore --- *.pyc *.pyo _cvsignore.py --- NEW FILE: __init__.py --- """Design-time __init__.py for resourcepackage This is the scanning version of __init__.py for your resource modules. You replace it with a blank or doc-only init when ready to release. """ try: __file__ except NameError: pass else: import os if os.path.splitext(os.path.basename( __file__ ))[0] == "__init__": try: from resourcepackage import package, defaultgenerators generators = defaultgenerators.generators.copy() ### CUSTOMISATION POINT ## import specialised generators here, such as for wxPython #from resourcepackage import wxgenerators #generators.update( wxgenerators.generators ) except ImportError: pass else: package = package.Package( packageName = __name__, directory = os.path.dirname( os.path.abspath(__file__) ), generators = generators, ) package.scan( ### CUSTOMISATION POINT ## force true -> always re-loads from external files, otherwise ## only reloads if the file is newer than the generated .py file. # force = 1, ) --- NEW FILE: i18n.ui.html --- SpamBayes - Interface utilisateur

Introduction

Cette page, ui.html, dfinit l'aspect visuel de l'interface utilisateur du serveur SpamBayes. Les diffrentes parties de code HTML dfinies ici sont extraites et gnres l'excution pour produire du code HTML dynamique que le serveur SpamBayes va servir - ce fichier est un ensemble de de composants HTML. PyMeldLite est le fantastique module qui fournit la correspondance entre les objets et le code HTML. Chaque partie de code HTML rcrire est signal par des balises du type id, et devient un objet Python pendant la phase d'excution.

Cette "Introduction" est une prsentation de ce fichier. Elle n'a pas besoin d'tre traduite et n'est jamais utilise dans l'interface homme-machine.

Voici un exemple du mode de fonctionnement : une bote de dialogue avec un id de examplebox: PyMeldLite vous permet de manipuler le code HTML par programmation :

    >>> import PyMeldLite
    >>> html = open("ui.html", "rt").read()
    >>> doc = PyMeldLite.Container(html)
    >>> print doc.examplebox
    <input id="examplebox" size="10" type="text" value="exemple"/>
    >>> doc.examplebox.value = "Chang"
    >>> print doc.examplebox
    <input id="examplebox" size="10" type="text" value="Chang"/>
    

Le code Python ncessaire la gnration de l'interface utilisateur HTML n'a pas besoin de s'embter concatner des chanes ou construire des composants HTML de zro dans le code. L'aspect visuel est dnini uniquement par ce fichier HTML - changement de feuille de style, traduction (autres langues), ajout d'une extension l'interface utilisateur - et tout cela trs simplement.

Les composants de l'interface utilisateur figurent ci-dessous avec leurs ids.


headedBox

Headed box
  Ceci est le "headedBox". La plupart des lments de l'interface utilisateur est prsente dans des botes comme celle-ci. Les lements ne sont pas prsents ici ui.html pour viter une duplication de code HTML. Telle quelle, cette section n'a pas besoin d'tre traduite.
 

Aide

SpamBayes - Aide
  Navr, pas d'aide disponible pour cette section.

Si vous pensez avoir dcouvert un bogue (bug) dans SpamBayes, ou que vous tes perdu dans la manire de procder (installation / mise en oeuvre, ...), vous pouvez vous adresser la mailing list pour obtenir de l'aide. Veuillez noter que les membres de cette liste sont des volontaires qui rpondent sur leur temps libre. Une rponse vos questions peut prendre un certain temps.
 
Si vous tiez quasiment sr d'avoir trouv un bogue, le mieux est de le soumettre via le Suivi SourceForge, ceci vitera d'ventuelles pertes de messages dans la possible masse de messages adresss la liste et palier aux dsagrment occasionns par des virus qui peuvent remplir la bote de messagerie.
 
Lors de la soumission d'un message, merci d'tre aussi prcis que possible pour viter des changes inutiles tels que "merci de nous indiquer ceci ou cela". Il est de bonne augure d'inclure le mode opratoire nous permettant de reproduire le problme, le contenu des messages complet ayant provoqu le boque, une copie du message, ... ainsi que votre suggestion. Toute suggestion de traduction est galement la bienvenue. Pour vous aider, SpamBayes peut crer un message de demande d'assistance pour vous.

Aide - Rsum des fonctionnalits

Rsum des fonctionnalits

Lorsque vous commencez utiliser SpamBayes, tous vos mails seront considrs comme 'Douteux' car SpamBayes n'a aucun moyen de reconnatre ce qui pour vous constitue un bon ou un mauvais message. Il va donc tre ncessaire de lui apprendre reconnatre les messages. Au fur et mesure, de moins en moins de messages seront considrs comme douteux et il ne restera plus que deux catgories de messages, les bons et les mauvais. Rien que lui montrer une vingtaine d'exemple de chaque est suffisant pour obtenir de bons rsultats. A un certain stades, vous constaterez mme que certains messages envoys automatiquement par des virus par exemple sont aiguills vers le dossier rserv aux messages non sollicits.

SpamBayes conserve une copie temporaire de tous vos messages entrants, pour que vous soyez en mesure d'utiliser n'importe quel client de messagerie. Pour chacun de ces messages, vous indiquerez SpamBayes comment il convient de le considrer. La page affiche la liste des messages qui sont arrivs les %(cache_expiry_days) derniers jours et pour lesquels vous n'avez pas tabli de classification. Pour chaque message, vous devez choisir soit de l'ignorer (pas d'apprentissage sur ce message), d'attendre (garder le message pour un apprentissage futur), ou l'utiliser pour entraner SpamBayes (soit en tant que bon message - bon (ham), ou mauvais - spam). Pour cela, il suffit de simplement cliquer sur le cercle idoine. Pour aller plus vite, vous pouvez aussi cliquer sur le titre de la colonne pour classifier tous les messages d'un seul coup.

Pour vous aider dterminer la nature du message, le sujet ainsi que l'emetteur du message vous sont prsents. Bien videmment, ces informations n'tant pas toujours suffisantes pour prendre votre dcision, vous pouvez galement en visualiser le contenu (en texte brut par scurit pour viter qu'un virus n'endommage votre systme) en cliquant sur le sujet du message.

Une fois les actions choisies sur chacun des messages, il vous suffit de cliquer sur le bouton Apprentissage figurant en bas de page. SpamBayes mettra alors jour sa base de donne pour intgrer votre classification et en tiendra compte sur vos prochains messages.

SpamBayes effectue cette classification sur vos nouveaux messages en fonction de vos choix prcdents. Si elle est correcte, vous pourrez choisir d'ignorer le message - c.f. le wiki SpamBayes pour une discussion sur les techniques d'apprentissage (en anglais). Vous pouvez galement consulter les lments (Tokens) contenus dans le message (pas uniquement les mots mais aussi d'autres lments gnrs par SpamBayes) et les indices (Clues) utiliss par SpamBayes pour classifier le message (notez que tous les les lments du messages ne sont pas utiliss pour la classification).

Pour des soucis de visibilit, les nouveaux messages en attente de cette classification sont groups par leur date d'arrive. Des boutons Jour prcdent et Jour suivant sont votre disposition en haut de page pour changer de jour. Si un nouveau message arrive pendant que vous effectuez la classification, il ne sera pas automatiquement ajout la liste affiche l'cran ; il vous faudra cliquer sur le bouton Raffrachir en haut de page pour le voir apparatre.

Aide - Statistiques

SpamBayes conserve certaines informations sur la classification des messages. Cette page permet d'afficher les statistiques sur la classification des messages et l'tat actuel de l'apprentissage.

Au jour d'aujourd'hui, la page affiche le nombre de messages considrs comme bon, mauvais (spam) ou douteux, le nombre de faux ngatifs et faux positifs et enfin combien de messages ont t considrs comme douteux (et comment vous les avez classifi).

Notez que les donnes de cette page figurent dans la base de donnes "message info" utilise par SpamBayes depuis la dernire cration de la base (vous pouvez recrer la base sur demande).

Aide - Page principale

Ceci est la page principale d'aide sur l'interface Web de SpamBayes. Vous y trouverez l'tat actuel de SpamBayes ainsi que les liens vous permettant d'accder vos messages ou de modifier votre configuration.

Cette page vous permet galement de pratiquer l'apprentissage initial soit partir de messages stocks dans des fichiers mbox (Unix) ou dbx (Outlook Express), soit partir d'un message que vous fournissez. Cliquez sur le bouton "Parcourir..." (ou collez le texte, en incluant les en-ttes), et cliquez sur le bouton appropri, soit Ceci est un bon message soit Ceci est du Spam

De mme, si vous avez un message que vous souhaitez soumettre pour analyse, vous avez une fentre votre disposition. Deux solutions s'offrent vous, un copier/coller ou "Importer..." le message. Il suffira alors de cliquer sur le bouton Analyser et une page affichant comment SpamBayes a classifi le message s'affichera.

Pour obtenir des informations sur un mot dans la base de donnes ddie aux statistiques (qui est le coeur de SpamBayes), vous pouvez utiliser le champ "Mot analyser". Entrez alors simplement le mot rechercher et cliquez sur le bouton Analyser ce mot. La recherche avance vous permet d'aller plus loin car elle admet les caratres gnriques et le expressions rgulires.

Vous avez galement la possibilit d'obtenir des informations sur un message en partculier grce la copie temporaire que le systme conserve avant de vous les dlivrer. Ceci peut tre intressant si vous avez fait une erreur sur la classification d'un message et voulez repratiquer l'analyse. La recherche est poissible sur l'ensemble du message, que ce soit sur le sujet, les en-ttes, le corps du message ou encore les identifiants (ID) SpamBayes. Les messages correspondants sont affiches dans l'interface traditionnelle. Attention cependant, les messages qui ont expir (les messages ont une dure de vie de %(cache_expiry_days) jours) ne peuvent plus tre trouvs.


Demande pr-remplie d'aide / soumission de bogue

Send Help Message
Emetteur :
Sujet :
Message :
Fichier de trace joindre :

Status

Le mandataire (proxy) POP3 est en coute sur le port 1110, et relaie les donnes du serveur d'origine POP3 example.com.
Connexions POP3 en cours : 0.
Total de connexions POP3 pour cette session : 0.
Rpartition des messages analyss durant cette sessions : Spam : 0, Bons : 0, Douteux : 0.
Rpartition des messages utiliss pour l'apprentissage : Spam : 0 Bons : 0
Statistiques complmentaires...
          Vous pouvez configurer SpamBayes
       partir de la page de paramtrage.
Attention : mettez votre message d'alerte ici ! Ces alertes sont insres dynamiquement, la traduction n'est de fait pas ncessaire.

reviewText

Le proxy SpamBayes stocke tous les messages qu'il voit. Vous pouvez utiliser l'apprentissage sur ces messages partir de la page de Classification des messages.


reviewTable

Ici sont reprsents les messages que vous pouvez utiliser pour l'apprentissage. Appuyez sur le bouton appropri pour chaque message et clqiuer sur le bouton 'Apprentissage' ci-dessous. 'Mettre en attente' conserve le message ici pour remettre l'opration plus tard. Vous pouvez galement cliquer sur l'en-tte de colonne Annuler / Mettre en attente / Bon / Spam pour traiter tous les messages d'un coup. L'autre en-tte vous permet de trier les messages par type (attention, vous perdriez alors toute modification non valide faite sur la page).

          
 
Messages reconnus comme tant du TYPE :
Emetteur Sujet du message Reception le Annuler / En attente / Bon / Spam Score
Richie Hindle <richie@entrian.com> Sat, 11 Sep 2003 19:03:11                  0.00% Indices | Elments
   
    

Import

Vous pouvez importer un message , mbox (unix) ou dbx :
ou coller tout un message (en incluant les en-ttes) ici :

(Le formulaire d'import est utilis aussi bien pour l'apprentissage que pour la classification - les lments inutiles seront supprims l'excution)


Recherche d'un mot


Requte simple
Requte avec caractres gnriques (*, ?)
Requte partir d'expressions rgulires
Ignorer la casse
Nombre maximal de messages

Recherche d'un message

Chercher dans...
Identificateur SpamBayes
Sujet
En-tte de message
Corps du message
Ignorer la casse
Nombre maximal de messages

Statistiques d'un mot

Nombre de messages de type spam : 123.
Nombre de bons messages : 456.
Probabilit qu'un message contenant ce mot soit un spam : 0.789.
Mot # Spam # Bon Probabil
spambayes 123 436 .789

Rsultat de classification

Probabilit de spam (aprs) : 0.123. Probabilit de spam (avant) : 0.125.

Voici la table des indices menant cette probabilit
Mot Probabil Occurences dans un bon message Occurences dans un spam
Mot exemple 0.123 1 2

Retour lapage principale ou classification d'un autre

(La feuille de classification est ici)

Formulaire de paramtrage

Cette page vous permet de changer le comportement de SpamBayes relatif au traitement de vos messages. Vos choix sont stocks dans /chemin/exemple.

Element      

(Rserv l'aide)

Element
Valeur de l'lment 
     

(Rserv l'aide)

Valeur actuelle :  (valeur)
Valeur actuelle :  (valeur)
 
Nom du dossier / rpertoire

(Rserv l'aide)


Vous quittez le systme

Termin. Merci, bientt.


--- NEW FILE: i18n_ui_html.py --- # -*- coding: ISO-8859-1 -*- """Resource i18n_ui_html (from file i18n.ui.html)""" # written by resourcepackage: (1, 0, 0) source = 'i18n.ui.html' package = 'languages.fr_FR' import zlib data = zlib.decompress("x}r\033ɕ:]\016\035\020\000m-QY[#{bJ\000]\002US\017\ ~ڷ}sʺ\0047bն\0049'=O&Nz}!^y-~3\021\034Fl4\ z~o<\034\017y.B:Ke2\032:7'rпJoD\011\035\006)_3y\012q ^\ g2R*u\013Y*?\031ѓRR,ru>Tz}\032h\002\021ebZ\006iv\020Q/V:W\ \032\010@_e*\016\030oηa\017\000F%=\017IJ*ʃ\\ecb VQfŬ(i\ \026_\014 \034?\011k\014Dqb \026*YRGX|c1\026ߔr\012\\=|xKx\001\ ljNQd\030DtS\0365L]dk{\036\037g374\020 wp|\0018N$'\ Z]ȝGRS&p*Ӕ\006yUi\014#Ec\005#=\021+\031:>r\037\017\0225\003\0307fy\ 2[Օ(2\0171M\000fsӬ,eQ\033\005\020\"\013Qs\017\036k]s\021XsU\"C[\ \000BELv\031G\037a=\021:.\027 \007/\"\000l&I\017\">Gn\035\ 7h\0317\003L:(\014H\007s\020\022:&\031V\022u(kngM\0168d^j\004>\007:Ҡ`UK\ BR7&O\014#\011&H`TZ𦈉\007\032X?TJp\031$\031H-\001kIwt\016\000t\ Р%(E\012\026jf/Q\\eL˂F\002Zoߨ$~\015x\033\022\020xw\006ʢ$dkb\000\017\007\ Ur\0049\004,e\012\000rD\020GU\022/\022oC\006r\0109d'o6QAL\012P(lQx\ \000{\001sQzepbRt\002Fƥ\017BE.\027}\022,`zj'UW\002_D\003d@>\024\ 09E\022<\030\"_$@y\0328\022VEo \024}\015x!BQ\024FF7\025D2Hܥ:XB\ S\014e\021J-W\0112#\031@HjL9&\012K\026\022~9L\\\001\026WA$Ÿ\ fW19':]U%~H@\004\001+G\000T\012o\023@~\032\0341#={\035]\020Ӏ8\ \021ޙ\010\015:\036;&O\014dw/0&0\030 /}p2\021RE\000F`\031̴\020`V9\010&\002\ \033\023me`r?)Kdbd'a1$h@c\0006&o\024\031\014\004@:Nk#X\ \010C`4b[q\026gsC`m\003\035k\033\005\000\027G`5Zȿh#\020+.\004\ }1U8Ц+&{\031oR`TН\005B5`kE`\017\020tΏRNؙj\016z9\023{\002{\012\ \033*\007\014Sd!Z9\021p\034;@C\\;\0026/\027\032\032Qi[[\014\025<0\0353=0\ \020>\000n\026h\002Ϫ`\033\015ޕ\0158P\030?C[ūv`E3\"\023}YR'f\ aX2@nݠ\034ЧQ8!\014!\011D\0304\015t \032d\014\015Qk(z|3l8=\ D\015@hU\024q\013,䰼\000\\\025\034\027\037C1A66_j\006\012Zal\003/3\005\036\004P\036\ Q+@\021\012\003\036ҨMAInj\010D\03362P\0107\011RԩH\017)ݰ\026\002䟂S4\002\026g\021\ C_dAfR\026*Q\035\002:s(`F\024;\031>\022\006\0155b\002D\032Κ\024jډǭ\ T*K c[aR*q\026\001\027\006#?cu\016 {f 6\0158:z\ \025_u\031ǡ\024pbʠ$h\015a\031\016bQ\023\0333/r1\012\001S\000j+\014n꽶\ \021*[\037gś(*cJ1\036@gus?@'\031\020BA\015\031\"^\010٩Jz!7Qnb\ Ȟ\006,q$\021A%2UsPp?D>g\031,(\006!s\001Ȧ`\0324N\ 8a0%;\037EQ\004\020K'r\035,\"\030cuJ!\0203W\036D\033\032/\026UNP\020\001\002\032\ \000\016ŷ`u\002uV\005<\032\032S)P,\0202!\014*0\031#\011\ x4BW7n\016\007hϗZUW\034ͨzlѳ\012R\024gk-‰BKU\010\036#5\032\0041B\ ?a~\000{|Q\013WZ\027/b\006*k\022ݬ\001q$6%O\026$C\036`\ [`Ƴ,\022\033H$x\016\025\004\0033\011\033x2'U\003͢Hbl›6E_*ha\020Ccd\017l\005.\ 4#ZN\035ug]P$0\0179\024Y#\"M\022㈆\032ya4\013StT\011\ \025\03045\031\010\031TLY5dـ\006\006}N\010'\012#\014CNpK. \ \011ֆ\022Ri˒Eg\025f\016\004J^#\014x~}6\010)Ad>\007暀\033\011\001\002bS\ +l \"\027\021G/F7s\006MV)Ly<ּE\001S\017:\026q.D\002\017\ l\015\031`\025_4\012T<~‘np!uhU,o\017\"[\024rCw\024P\017\010\\x\027\\j\017\ &7x4iE'Uݫ<&\034\011ep\007d\004}QQy\022Cz!0\006BA\0238q\ +\0102W\014E`\030*YȮ\025}\"D(*b%wKY\006Ć3E=R\032[f6.k`\ \011AZ%\000VY䏊\022Oi%f\001h'Z\007D\002qf^?\012\004܈\031\010M'\030=\ U$c\013;\033\030oc:Oتr\024\037\\\033d\012h^\017N\012$0$Dcb\"p厳\0330\022k\023\ ڏyCxdc\021R\\%W',ڌ`>ɩʇF\0028!gX3Qn\004TK<\015\ N\003~o\026/\024.__Tƹ\021=\005^Ab\013\033L\001F\030o~jC=K=3!͟e\002\ -\034XWC@b0E\013\020]H\004%;\031P\020홬A\011\034\005\016n`H\010Aj4%V~\ \007;L#LS\023*|~|I߱\\V\036\001RC\036\034iFgG9prW\026r\020Qa< i7\ w [XA1@D8W\027P$)Bk9Uu2N\0319q$%\023\022`/\032p\ \031LEeeH\016bpx0\011Wl0#\006i,i\030a\032kk{\024\0370\031Od\ lmp\003\021\015gþ\024-\020\0301*'\035Lf\034XT\011ETq\032ƓYS~TC\003\ K]\030}\000F1!Fy\\9Xº\0115\003&ekQxH\ \003E\000\031\033}\016CztLfA\003\037pQ\001U\032\0019u\"8R)\0120\ d&\031h\012&3B\037/ ,V\011\031|\000\0350Q6 {tkk(t,\ Κ쉽R0q-ڒvq\023GUO\022R4-lV&`1Poq3Ξ\037\ \027Y}b%Fƹ\013\022%u\032\025JjW/\026\032\031u\022foy\ D\015^\0329kYSf\021q^̜T[m\022\031ʈ\032>5g\022P*dg3aVr$P9\021o\ cZ`P`s\011\0274:\003\031˛2~\024ʨ'\000\031bݚ^\021Z{Tee?\ \027W+,{Cׂ՗kmoE>5=##eYp\034\\Ј\036U\012\012&V\030\017zSX\ E\007%\002q#]{\020dR\0061gpdo\006}e\017BRMؚC\000ެ!c\012\026\ \013l{譃\017L\013\023R\000 #_gǘ80\003L\034P\025\003na'\037\0217)\0002\ _qc{\035|QՑ\025M9K\005Y\006jM_m%\021fzJV[V$^8%{+\016\ ՌB\032\032덢\032\015{=\010(Pͳ\012=\022*B.Wo`pjg53x̏^Q\ O\\mi\0266]G0'\ ut +vIʅB\0121(9~o\014[ArYۢ30*\012\024\022r΄S\011f\ \032Y2m\026!ٹ^l\"Ơa$\0079a~&4\007*\034hL6\004{|s\010us5\ g.M\021\006E+47ւ\021=!\"e2A6\035+o^f&(N\024\014n\ Rj\037\023EJJ`\032lp\035mn\\zn\026 U;[\027\032˰;\0356J̗t\032\024t\ En\000\\d__K'_\035\0347\022ry\001@Ps]%\000kS,\0150\004\013l\022ld\020\022d.IwcI\"4~\000Bxdwo\ [w{\022\023Z僃F];u5y\017'^B-0f\035\036c~scs\002\ ly!8g\035\025Ż\0056n]i}O \003m\021\036=6ˆ\031\00590`\0368\017UHy4H[Xg\ xc%^\017\031prY@s<9yCa\0002K\031?@v1jZh3!\ 䛋pjU]o_ی!QFە7\024\033.`׋a]hA\0008|L;\011\ 7\033R\031\006xK߃.#\\5J[iҮ \007מ\016\0201\013A`ٹ/Zpf\ x~k\010\002=I!P,5\024\003nkW\011.)\002\"#)\005xڮl\021%|/\033Y\ \005/=BDZJCNIB*V,p\033\000@\020Vu\016M|\016\032[ٰ!\ z\003\003D,\006YU$}\030\"vn\020Y\020C\000rK\014W\007X \010!\026+|;\ nZIB6\000ݣR:D-'6\014i~kWhtgϟ?U?,K&\ t:U\031-3Igo\027LYT>eģ\020ay\020Sq_soW?I1\ \023\011f\006\013/NWJ4\035l\003@\017C!\013ÑPT<@z\ \015\027/_T渀Sa.U~&\013}\001F\013\005A\014dyzh%h\031\ ~J²]|p.#e\023l]M﫩\015\032lHV\012n^\021k\013\031<\ w|Cdׄj㐐+\004.ERJDؖ𗗝×:م㽄9F+y\017,֕nt\ NekZIy6Z\0273֫a-ƶcH鵊/\026\026Tdyyj\005;\005 '\ Ѷ}Ҍ`\021vF\025f6!W8\020s]D\020a\011&&AS3\034c_\000\\\022\ gx\012gC8p_GWr\031.:\022AH\034]䠑q/\0023we?۞(Z\ L|\006#\0353kh\033f\004Q]i\014\027\017ʟvk<\023\032){'Tqn*~\ !ms:{ _oۨ2H\013TF:_/?Db&v 4\ ]\037\004\032{?\027\005H7|\"@T\017\001\036&^V.h\013x8\036y8\015&F\ ,V+5@?;g2\013\011e%[>Hd;\030g5|BšA\003\035\024g1\ \034\007vt.e\006{+~\004; z\027\014v\016șjd\022tFĩ(6bn:b:URj\021V\ \007Rf_\0132J\033Ma/5\014L#k5\032\022E=\036\035\027[-a1p՛!ېW\036\016{[\ R{\026y\005\020\026sX6.Xr\001n4t^\016oq\027p\ \033z+4kE\031d\036xyyl`ޥ'>JiFB[{\007mF\ \013\037\000^\031 ;W߹F?n\023J\001&|\014\004\036R\ M[\031B0M\003\036\027L[F\016\022PL\033\034sy\035\024VN\035Z\002Z=\ S\015ΟSpq\016^he!lB T@ABQu}sl4%rtRҔ=-)z\ qr;\013\007w\037\006E-׫ޙx+T3\006n+6'W/>i\ m6\017]\020\\_\013֯~؊u_Ւ\001?bet)\001S\035e4,Ha/_<3\ \014'{\030AVg#P\003ze>\035\"\002WQ;7\010Ӎ<`~\023ExVCd:\ a-l^8-\025\035ShLp\003y}ٜVx\003\021m.\017t-G}nxxK\\lut;\ X\022T%AR\032GV+*=\033~O_#ٶB([a\034jbe?k^40ж.(O:*\ s\036}8hK\036\027㦓>am$\030?{t\030u6@ax+EJ)#\010P:\0359b\ [\030zV\027=r\0273zv'߂h\033\021-?7Z\0216\007~/ȶ\0072Z\\\ ͑nڎ\036\014\0147vyP./t/r6\036̴\012%+\020^Cބ\025@\017h\0048pi5\ {g\016cd\016x߯+||;WgӻԶ δEC,}8e)ۼڛ\013jk\ E\020d6N&x$4+5\015\013^2\006\022vԖ0oz\015.$l6|3\022ڡBrž\ Ѹ\005ǰxbZ\0165\015,$\031\023\017$\037p\000y,K\"ZQ#{o\ Much϶\033_fYgΖX\007Sg&TNgoi\"vӳp<\036z2\"ۍ(\ t@\027\014]`\026n82Z/\\uA7xnn\027X\013u\020fj&\"\ ؎n!м;iܾ\035IM9.>|\003C}\004m%\"os5(\003{1]\014һ!B\035\ \003׫W\031NpUȵ6ʄuL񽾮\ bVo\027B\015\027|\037\004Y\025nU\013\031ߗ46\022Wc\011'o6$\027\\k+\ \037s\025Ç\0172i\016͡ŗCW\033f|\024RpS!F\007}[\ L914K\015\015~fL\"\027WJ\011\005-UPҼeUU첻jlV6\ |\007p\037f&\\08\002K+d5\0367Q\013ra}") ### end From anadelonbrin at users.sourceforge.net Thu Apr 7 07:57:49 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 07:57:52 2005 Subject: [Spambayes-checkins] spambayes/windows/py2exe setup_all.py, 1.23, 1.24 Message-ID: Update of /cvsroot/spambayes/spambayes/windows/py2exe In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31476/windows/py2exe Modified Files: setup_all.py Log Message: Fix refrences to French language resources. Index: setup_all.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/windows/py2exe/setup_all.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** setup_all.py 7 Apr 2005 04:23:50 -0000 1.23 --- setup_all.py 7 Apr 2005 05:57:47 -0000 1.24 *************** *** 38,44 **** packages = "spambayes.resources,encodings,spambayes.languages," \ "spambayes.languages.es,spambayes.languages.es_AR," \ ! "spambayes.languages.fr_FR,spambayes.languages.es.DIALOGS," \ "spambayes.languages.es_AR.DIALOGS," \ ! "spambayes.languages.fr_FR.DIALOGS", excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included. includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dialogs --- 38,44 ---- packages = "spambayes.resources,encodings,spambayes.languages," \ "spambayes.languages.es,spambayes.languages.es_AR," \ ! "spambayes.languages.fr,spambayes.languages.es.DIALOGS," \ "spambayes.languages.es_AR.DIALOGS," \ ! "spambayes.languages.fr.DIALOGS", excludes = "win32ui,pywin,pywin.debugger", # pywin is a package, and still seems to be included. includes = "dialogs.resources.dialogs,weakref", # Outlook dynamic dialogs From anadelonbrin at users.sourceforge.net Thu Apr 7 07:58:33 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 07:58:35 2005 Subject: [Spambayes-checkins] spambayes/spambayes i18n.py,1.4,1.5 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31856/spambayes Modified Files: i18n.py Log Message: Fix finding translated dialogs for frozen plug-in. Index: i18n.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/i18n.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** i18n.py 7 Apr 2005 04:19:45 -0000 1.4 --- i18n.py 7 Apr 2005 05:58:31 -0000 1.5 *************** *** 88,91 **** --- 88,92 ---- this_filename = __file__ LC_DIR = os.path.dirname(os.path.dirname(this_filename)) + DIALOGS_DIR = os.path.join(os.path.dirname(__file__), "languages") else: try: *************** *** 94,97 **** --- 95,99 ---- this_filename = os.path.abspath(sys.argv[0]) LC_DIR = os.path.dirname(this_filename) + DIALOGS_DIR = LC_DIR *************** *** 166,171 **** self._clear_syspath() for lcode in self.current_langs_codes: ! code_and_country = os.path.join(LC_DIR, "languages", lcode, ! 'DIALOGS') code_only = os.path.join(LC_DIR, lcode.split("_")[0], 'DIALOGS') if code_and_country not in sys.path: --- 168,172 ---- self._clear_syspath() for lcode in self.current_langs_codes: ! code_and_country = os.path.join(DIALOGS_DIR, lcode, 'DIALOGS') code_only = os.path.join(LC_DIR, lcode.split("_")[0], 'DIALOGS') if code_and_country not in sys.path: From anadelonbrin at users.sourceforge.net Thu Apr 7 08:04:07 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 08:04:11 2005 Subject: [Spambayes-checkins] spambayes MANIFEST.in,1.12,1.13 Message-ID: Update of /cvsroot/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1664 Modified Files: MANIFEST.in Log Message: Fix location of languages and *.c files. Remove files that no longer exist. Index: MANIFEST.in =================================================================== RCS file: /cvsroot/spambayes/spambayes/MANIFEST.in,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** MANIFEST.in 6 Apr 2005 02:47:10 -0000 1.12 --- MANIFEST.in 7 Apr 2005 06:04:05 -0000 1.13 *************** *** 1,12 **** recursive-include spambayes/resources *.html *.psp *.gif ! recursive-include spambayes/src *.c recursive-include spambayes *.py *.txt recursive-include pspam *.py *.txt *.ini *.sh recursive-include contrib *.py *.sh *.txt *.el *rc ! recursive-include Outlook2000 *.py *.txt *.ini *.html *.bmp *.rc *.h *.jpg *.rtf ! recursive-include utilities *.py *.txt recursive-include scripts *.py *.txt recursive-include testtools *.py *.txt *.sh recursive-include windows *.py *.txt *.h *.rc *.ico *.html *.iss ! recursive-include languages *.py *.html *.rc include *.txt *.py MANIFEST.in *.sh --- 1,12 ---- recursive-include spambayes/resources *.html *.psp *.gif ! recursive-include src *.c recursive-include spambayes *.py *.txt recursive-include pspam *.py *.txt *.ini *.sh recursive-include contrib *.py *.sh *.txt *.el *rc ! recursive-include Outlook2000 *.py *.txt *.ini *.html *.bmp *.rc *.h *.jpg ! recursive-include utilities *.py recursive-include scripts *.py *.txt recursive-include testtools *.py *.txt *.sh recursive-include windows *.py *.txt *.h *.rc *.ico *.html *.iss ! recursive-include spambayes/languages *.py *.html *.rc include *.txt *.py MANIFEST.in *.sh From anadelonbrin at users.sourceforge.net Thu Apr 7 08:15:46 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 08:15:49 2005 Subject: [Spambayes-checkins] website/sigs spambayes-1.1a1.exe.asc, NONE, 1.1 spambayes-1.1a1.tar.gz.asc, NONE, 1.1 spambayes-1.1a1.zip.asc, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/website/sigs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8222/sigs Added Files: spambayes-1.1a1.exe.asc spambayes-1.1a1.tar.gz.asc spambayes-1.1a1.zip.asc Log Message: 1.1a1 release files. --- NEW FILE: spambayes-1.1a1.exe.asc --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQBCVM8PVcUzCvI/cyoRAn44AJ94S500+TH2kQ0R71i/C8+hJf0GgwCdFRWd gykDk6OI7yNd6BJ/CV+elEc= =292Y -----END PGP SIGNATURE----- --- NEW FILE: spambayes-1.1a1.tar.gz.asc --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQBCVM+oVcUzCvI/cyoRAmBOAJ9PaSa6EfPttaN9gmUUTJhI965mBACgtICJ P2TNcaOlDqRr11aqCgDLfrY= =y749 -----END PGP SIGNATURE----- --- NEW FILE: spambayes-1.1a1.zip.asc --- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) iD8DBQBCVM8ZVcUzCvI/cyoRAumEAKDWyWghJbkUnGOJs1U3MPEOmQkPpgCgqaTF flDlboy9Dg2rcCcg3T1vJzY= =T/Hi -----END PGP SIGNATURE----- From anadelonbrin at users.sourceforge.net Thu Apr 7 08:20:09 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 7 08:20:11 2005 Subject: [Spambayes-checkins] spambayes/spambayes __init__.py,1.16,1.17 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10630/spambayes Modified Files: __init__.py Log Message: Post-release work. Index: __init__.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/__init__.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** __init__.py 7 Apr 2005 01:29:44 -0000 1.16 --- __init__.py 7 Apr 2005 06:20:06 -0000 1.17 *************** *** 6,9 **** _ = lambda arg: arg ! __version__ = "1.1a1" __date__ = _("April 2005") --- 6,9 ---- _ = lambda arg: arg ! __version__ = "1.1a1+" __date__ = _("April 2005") From anadelonbrin at users.sourceforge.net Fri Apr 8 00:51:56 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 8 00:52:00 2005 Subject: [Spambayes-checkins] spambayes/spambayes Version.py,1.34,1.35 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32029/spambayes Modified Files: Version.py Log Message: Handle version numbers like "1.1a1+" which just serve to distinguish CVS from the just released version. (Just ignore the +, since people running from CVS are unlikely to use the check for new version function anyway). Index: Version.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/Version.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** Version.py 23 Dec 2004 18:14:33 -0000 1.34 --- Version.py 7 Apr 2005 22:51:53 -0000 1.35 *************** *** 168,172 **** return "%s('%s', '%s')" % (self.__class__.__name__, str(self), self.date) ! version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? (([ab]|rc)(\d+))?$', re.VERBOSE) --- 168,172 ---- return "%s('%s', '%s')" % (self.__class__.__name__, str(self), self.date) ! version_re = re.compile(r'^(\d+) \. (\d+) (\. (\d+))? (([ab]|rc)(\d+))?\+?$', re.VERBOSE) From anadelonbrin at users.sourceforge.net Tue Apr 12 02:33:18 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Tue Apr 12 02:33:25 2005 Subject: [Spambayes-checkins] spambayes/spambayes/languages messages.pot, NONE, 1.1 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14094/spambayes/languages Added Files: messages.pot Log Message: Add .pot file for translations. This is autogenerated, but it's easier for the translators if a copy is in CVS (and ensures that they work off one properly created). --- NEW FILE: messages.pot --- # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR ORGANIZATION # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2005-04-12 12:32+New Zealand Standard Time\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: ENCODING\n" "Generated-By: pygettext.py 1.5\n" #: ..\Outlook2000\addin.py:587 msgid "Are you sure you want to permanently delete all items in the \"%s\" folder?" [...2839 lines suppressed...] #: UserInterface.py:1136 msgid "[YOUR EMAIL ADDRESS]" msgstr "" #: UserInterface.py:1138 msgid "[DESCRIBE YOUR PROBLEM HERE]" msgstr "" #: UserInterface.py:1140 msgid "[PROBLEM SUMMARY]" msgstr "" #: Version.py:224 msgid "%s Version %s (%s)" msgstr "" #: __init__.py:9 msgid "April 2005" msgstr "" From anadelonbrin at users.sourceforge.net Wed Apr 13 07:56:47 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 13 07:56:51 2005 Subject: [Spambayes-checkins] spambayes/spambayes i18n.py,1.5,1.6 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20204/spambayes Modified Files: i18n.py Log Message: Fix loading translated dialogs from source. Fix [ 1181160 ] Language fallback doesn't work Index: i18n.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/i18n.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** i18n.py 7 Apr 2005 05:58:31 -0000 1.5 --- i18n.py 13 Apr 2005 05:56:44 -0000 1.6 *************** *** 95,99 **** this_filename = os.path.abspath(sys.argv[0]) LC_DIR = os.path.dirname(this_filename) ! DIALOGS_DIR = LC_DIR --- 95,99 ---- this_filename = os.path.abspath(sys.argv[0]) LC_DIR = os.path.dirname(this_filename) ! DIALOGS_DIR = os.path.join(LC_DIR, "languages") *************** *** 169,173 **** for lcode in self.current_langs_codes: code_and_country = os.path.join(DIALOGS_DIR, lcode, 'DIALOGS') ! code_only = os.path.join(LC_DIR, lcode.split("_")[0], 'DIALOGS') if code_and_country not in sys.path: sys.path.append(code_and_country) --- 169,173 ---- for lcode in self.current_langs_codes: code_and_country = os.path.join(DIALOGS_DIR, lcode, 'DIALOGS') ! code_only = os.path.join(DIALOGS_DIR, lcode.split("_")[0], 'DIALOGS') if code_and_country not in sys.path: sys.path.append(code_and_country) From anadelonbrin at users.sourceforge.net Thu Apr 14 08:18:20 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 14 08:18:24 2005 Subject: [Spambayes-checkins] spambayes/spambayes ProxyUI.py,1.61,1.62 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14202/spambayes Modified Files: ProxyUI.py Log Message: Add suggestion from Matt Southall (on wiki) to highlight current row of review table with a little bit of javascript. This should still work exactly as it did before if javascript isn't available. Index: ProxyUI.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/ProxyUI.py,v retrieving revision 1.61 retrieving revision 1.62 diff -C2 -d -r1.61 -r1.62 *** ProxyUI.py 6 Apr 2005 02:38:20 -0000 1.61 --- ProxyUI.py 14 Apr 2005 06:18:16 -0000 1.62 *************** *** 370,373 **** --- 370,376 ---- row.tokens.href="showclues?key=%s&subject=%s&tokens=1" % (key, subj) setattr(row, 'class', ['stripe_on', 'stripe_off'][stripe]) # Grr! + setattr(row, 'onMouseOut', + ["this.className='stripe_on';", + "this.className='stripe_off';"][stripe]) row = str(row).replace('TYPE', label).replace('KEY', key) table += row From anadelonbrin at users.sourceforge.net Thu Apr 14 08:44:05 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 14 08:44:09 2005 Subject: [Spambayes-checkins] spambayes/spambayes ImapUI.py,1.45,1.46 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25185/spambayes Modified Files: ImapUI.py Log Message: Remove debugging print left in by mistake. Index: ImapUI.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/ImapUI.py,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** ImapUI.py 14 Feb 2005 06:10:45 -0000 1.45 --- ImapUI.py 14 Apr 2005 06:44:02 -0000 1.46 *************** *** 248,252 **** self._writePostamble() return None - print usernames[i], self.imap_pwds[i] try: imap.login(usernames[i], self.imap_pwds[i]) --- 248,251 ---- From anadelonbrin at users.sourceforge.net Thu Apr 14 08:54:04 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 14 08:54:06 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000/dialogs/resources dialogs.rc, 1.52, 1.53 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30865/Outlook2000/dialogs/resources Modified Files: dialogs.rc Log Message: Fix [ 1179055 ] minor UI correction needed (1.1.a1) (Although I think this is also a problem with the French translation; will check that later). Index: dialogs.rc =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources/dialogs.rc,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** dialogs.rc 11 Feb 2005 21:05:56 -0000 1.52 --- dialogs.rc 14 Apr 2005 06:54:01 -0000 1.53 *************** *** 1,3 **** ! // Microsoft Visual C++ generated resource script. // #include "dialogs.h" --- 1,3 ---- ! //Microsoft Developer Studio generated resource script. // #include "dialogs.h" *************** *** 29,33 **** IDD_ADVANCED DIALOGEX 0, 0, 248, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Advanced" --- 29,33 ---- IDD_ADVANCED DIALOGEX 0, 0, 248, 257 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Advanced" *************** *** 54,59 **** END ! IDD_STATISTICS DIALOG 0, 0, 248, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION CAPTION "Statistics" FONT 8, "Tahoma" --- 54,59 ---- END ! IDD_STATISTICS DIALOG DISCARDABLE 0, 0, 248, 257 ! STYLE WS_CHILD | WS_CAPTION CAPTION "Statistics" FONT 8, "Tahoma" *************** *** 68,72 **** IDD_MANAGER DIALOGEX 0, 0, 275, 308 ! STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Manager" --- 68,72 ---- IDD_MANAGER DIALOGEX 0, 0, 275, 308 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Manager" *************** *** 80,84 **** IDD_DIAGNOSTIC DIALOGEX 0, 0, 183, 98 ! STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Diagnostics" --- 80,84 ---- IDD_DIAGNOSTIC DIALOGEX 0, 0, 183, 98 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Diagnostics" *************** *** 97,104 **** IDD_FILTER DIALOGEX 0, 0, 249, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtering" ! FONT 8, "Tahoma", 0, 0, 0x1 BEGIN LTEXT "Filter the following folders as messages arrive", --- 97,104 ---- IDD_FILTER DIALOGEX 0, 0, 249, 257 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filtering" ! FONT 8, "Tahoma" BEGIN LTEXT "Filter the following folders as messages arrive", *************** *** 126,130 **** IDC_STATIC,12,128,212,10 CONTROL "Slider1",IDC_SLIDER_UNSURE,"msctls_trackbar32", ! TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,135,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,155,107,10 --- 126,130 ---- IDC_STATIC,12,128,212,10 CONTROL "Slider1",IDC_SLIDER_UNSURE,"msctls_trackbar32", ! TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,137,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,12,155,107,10 *************** *** 152,156 **** IDD_GENERAL DIALOGEX 0, 0, 253, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "General" --- 152,156 ---- IDD_GENERAL DIALOGEX 0, 0, 253, 257 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "General" *************** *** 175,179 **** IDD_TRAINING DIALOGEX 0, 0, 252, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Training" --- 175,179 ---- IDD_TRAINING DIALOGEX 0, 0, 252, 257 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP CAPTION "Training" *************** *** 217,221 **** IDD_FILTER_NOW DIALOGEX 0, 0, 244, 185 ! STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filter Now" --- 217,221 ---- IDD_FILTER_NOW DIALOGEX 0, 0, 244, 185 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "Filter Now" *************** *** 246,250 **** IDD_FOLDER_SELECTOR DIALOGEX 0, 0, 247, 215 ! STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Select Folder" FONT 8, "Tahoma", 0, 0, 0x1 --- 246,250 ---- IDD_FOLDER_SELECTOR DIALOGEX 0, 0, 247, 215 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Select Folder" FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 266,270 **** IDD_WIZARD DIALOGEX 0, 0, 384, 190 ! STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Configuration Wizard" --- 266,270 ---- IDD_WIZARD DIALOGEX 0, 0, 384, 190 ! STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_CONTEXTHELP CAPTION "SpamBayes Configuration Wizard" *************** *** 280,284 **** IDD_WIZARD_WELCOME DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 280,284 ---- IDD_WIZARD_WELCOME DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 305,309 **** IDD_WIZARD_FINISHED_UNTRAINED DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 305,309 ---- IDD_WIZARD_FINISHED_UNTRAINED DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 323,327 **** IDD_WIZARD_FOLDERS_REST DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 323,327 ---- IDD_WIZARD_FOLDERS_REST DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 343,347 **** IDD_WIZARD_FOLDERS_WATCH DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 343,347 ---- IDD_WIZARD_FOLDERS_WATCH DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 361,365 **** IDD_WIZARD_FINISHED_UNCONFIGURED DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 361,365 ---- IDD_WIZARD_FINISHED_UNCONFIGURED DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 373,377 **** IDD_WIZARD_FOLDERS_TRAIN DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 373,377 ---- IDD_WIZARD_FOLDERS_TRAIN DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 397,401 **** IDD_WIZARD_TRAIN DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 397,401 ---- IDD_WIZARD_TRAIN DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 410,414 **** IDD_WIZARD_FINISHED_TRAINED DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 410,414 ---- IDD_WIZARD_FINISHED_TRAINED DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 424,428 **** IDD_WIZARD_TRAINING_IS_IMPORTANT DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 424,428 ---- IDD_WIZARD_TRAINING_IS_IMPORTANT DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 447,451 **** IDD_WIZARD_FINISHED_TRAIN_LATER DIALOGEX 0, 0, 284, 162 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 --- 447,451 ---- IDD_WIZARD_FINISHED_TRAIN_LATER DIALOGEX 0, 0, 284, 162 ! STYLE WS_CHILD | WS_CAPTION EXSTYLE WS_EX_CONTEXTHELP FONT 8, "Tahoma", 0, 0, 0x1 *************** *** 467,473 **** IDD_NOTIFICATIONS DIALOGEX 0, 0, 248, 257 ! STYLE DS_SETFONT | WS_CHILD | WS_CAPTION CAPTION "Notifications" ! FONT 8, "Tahoma", 0, 0, 0x0 BEGIN GROUPBOX "New Mail Sounds",IDC_STATIC,7,3,241,229 --- 467,473 ---- IDD_NOTIFICATIONS DIALOGEX 0, 0, 248, 257 ! STYLE WS_CHILD | WS_CAPTION CAPTION "Notifications" ! FONT 8, "Tahoma" BEGIN GROUPBOX "New Mail Sounds",IDC_STATIC,7,3,241,229 *************** *** 498,502 **** #ifdef APSTUDIO_INVOKED ! GUIDELINES DESIGNINFO BEGIN IDD_ADVANCED, DIALOG --- 498,502 ---- #ifdef APSTUDIO_INVOKED ! GUIDELINES DESIGNINFO MOVEABLE PURE BEGIN IDD_ADVANCED, DIALOG *************** *** 638,644 **** // ! IDB_SBLOGO BITMAP "sblogo.bmp" ! IDB_SBWIZLOGO BITMAP "sbwizlogo.bmp" ! IDB_FOLDERS BITMAP "folders.bmp" #ifdef APSTUDIO_INVOKED --- 638,644 ---- // ! IDB_SBLOGO BITMAP MOVEABLE PURE "sblogo.bmp" ! IDB_SBWIZLOGO BITMAP MOVEABLE PURE "sbwizlogo.bmp" ! IDB_FOLDERS BITMAP MOVEABLE PURE "folders.bmp" #ifdef APSTUDIO_INVOKED *************** *** 648,657 **** // ! 1 TEXTINCLUDE BEGIN "dialogs.h\0" END ! 2 TEXTINCLUDE BEGIN "#include ""winres.h""\r\n" --- 648,657 ---- // ! 1 TEXTINCLUDE MOVEABLE PURE BEGIN "dialogs.h\0" END ! 2 TEXTINCLUDE MOVEABLE PURE BEGIN "#include ""winres.h""\r\n" *************** *** 660,664 **** END ! 3 TEXTINCLUDE BEGIN "\0" --- 660,664 ---- END ! 3 TEXTINCLUDE MOVEABLE PURE BEGIN "\0" From anadelonbrin at users.sourceforge.net Thu Apr 14 09:09:00 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 14 09:09:05 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000/dialogs/resources dialogs.rc, 1.53, 1.54 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5556/Outlook2000/dialogs/resources Modified Files: dialogs.rc Log Message: Last checkin wasn't quite right. I think this is (looks good with WinXP without that colourful bubbly style stuff anyway). Index: dialogs.rc =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/dialogs/resources/dialogs.rc,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** dialogs.rc 14 Apr 2005 06:54:01 -0000 1.53 --- dialogs.rc 14 Apr 2005 07:08:50 -0000 1.54 *************** *** 108,116 **** WS_GROUP,7,16,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,192,14,50,14 ! GROUPBOX "Certain Spam",IDC_STATIC,7,33,235,80 LTEXT "To be considered certain spam, a message must score at least", ! IDC_STATIC,13,42,212,10 CONTROL "Slider1",IDC_SLIDER_CERTAIN,"msctls_trackbar32", ! TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,52,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,53,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,72,107,10 --- 108,116 ---- WS_GROUP,7,16,177,12 PUSHBUTTON "Browse...",IDC_BROWSE_WATCH,192,14,50,14 ! GROUPBOX "Certain Spam",IDC_STATIC,7,31,235,82 LTEXT "To be considered certain spam, a message must score at least", ! IDC_STATIC,12,40,212,10 CONTROL "Slider1",IDC_SLIDER_CERTAIN,"msctls_trackbar32", ! TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,13,50,165,22 EDITTEXT IDC_EDIT_CERTAIN,184,53,51,14,ES_AUTOHSCROLL LTEXT "and these messages should be:",IDC_STATIC,13,72,107,10 *************** *** 122,126 **** WS_GROUP,102,83,77,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,83,50,14 ! GROUPBOX "Possible Spam",IDC_STATIC,6,117,235,81 LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,128,212,10 --- 122,126 ---- WS_GROUP,102,83,77,14 PUSHBUTTON "Browse",IDC_BROWSE_CERTAIN,184,83,50,14 ! GROUPBOX "Possible Spam",IDC_STATIC,6,117,235,84 LTEXT "To be considered uncertain, a message must score at least", IDC_STATIC,12,128,212,10 *************** *** 128,152 **** TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,137,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL ! LTEXT "and these messages should be:",IDC_STATIC,12,155,107,10 ! COMBOBOX IDC_ACTION_UNSURE,12,166,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP ! LTEXT "to folder",IDC_STATIC,71,169,27,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | ! WS_GROUP,102,166,77,14 ! PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,184,166,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,100,81,10 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, ! "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,186,101,10 ! GROUPBOX "Certain Good",IDC_STATIC,6,203,235,48 ! LTEXT "These messages should be:",IDC_STATIC,12,215,107,10 ! COMBOBOX IDC_ACTION_HAM,12,228,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP ! LTEXT "to folder",IDC_STATIC,71,230,27,10 CONTROL "(folder name)",IDC_FOLDER_HAM,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | ! WS_GROUP,102,228,77,14 ! PUSHBUTTON "&Browse",IDC_BROWSE_HAM,184,228,50,14 END --- 128,152 ---- TBS_AUTOTICKS | TBS_TOP | WS_TABSTOP,12,137,165,20 EDITTEXT IDC_EDIT_UNSURE,183,141,54,14,ES_AUTOHSCROLL ! LTEXT "and these messages should be:",IDC_STATIC,12,158,107,10 ! COMBOBOX IDC_ACTION_UNSURE,12,169,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP ! LTEXT "to folder",IDC_STATIC,71,172,27,10 CONTROL "(folder name)",IDC_FOLDER_UNSURE,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | ! WS_GROUP,102,169,77,14 ! PUSHBUTTON "&Browse",IDC_BROWSE_UNSURE,184,169,50,14 CONTROL "Mark spam as read",IDC_MARK_SPAM_AS_READ,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,13,100,81,10 CONTROL "Mark possible spam as read",IDC_MARK_UNSURE_AS_READ, ! "Button",BS_AUTOCHECKBOX | WS_TABSTOP,12,189,101,10 ! GROUPBOX "Certain Good",IDC_STATIC,6,206,235,48 ! LTEXT "These messages should be:",IDC_STATIC,12,218,107,10 ! COMBOBOX IDC_ACTION_HAM,12,231,55,40,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP ! LTEXT "to folder",IDC_STATIC,71,233,27,10 CONTROL "(folder name)",IDC_FOLDER_HAM,"Static", SS_LEFTNOWORDWRAP | SS_CENTERIMAGE | SS_SUNKEN | ! WS_GROUP,102,231,77,14 ! PUSHBUTTON "&Browse",IDC_BROWSE_HAM,184,231,50,14 END From anadelonbrin at users.sourceforge.net Thu Apr 14 08:18:22 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 14 09:25:36 2005 Subject: [Spambayes-checkins] spambayes/spambayes/resources ui.html, 1.35, 1.36 ui_html.py, 1.34, 1.35 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes/resources In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14202/spambayes/resources Modified Files: ui.html ui_html.py Log Message: Add suggestion from Matt Southall (on wiki) to highlight current row of review table with a little bit of javascript. This should still work exactly as it did before if javascript isn't available. Index: ui.html =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/resources/ui.html,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** ui.html 21 Dec 2004 23:05:23 -0000 1.35 --- ui.html 14 Apr 2005 06:18:18 -0000 1.36 *************** *** 35,38 **** --- 35,39 ---- .stripe_on td { background: #ececec } + .highlight_on td { background: #00ccff } .uiHtmlHeader { font-size: 120%; color: #800000; font-weight: bold } *************** *** 427,431 **** ! --- 428,433 ---- ! Index: ui_html.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/resources/ui_html.py,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** ui_html.py 21 Dec 2004 23:06:19 -0000 1.34 --- ui_html.py 14 Apr 2005 06:18:18 -0000 1.35 *************** *** 6,156 **** import zlib ! data = zlib.decompress("x=ksFS0\015\")v\022=kN;;ʥR)\020\030X\000(nncf0x!\ ! ;WuNJ\"\001LOwO\007W{J~V7W;\032~>\032^^\033Ocqˤ\ ! (Md<\032|Ţ\\[\020Q\031+\021\036}&\0373|!ת\020?\025*\027oR3\031\021=c\ ! bQّ.+\031,'\024\036NK/I\0024}}\026pF\\/\000C&ۯb<>\ ! 7i\000F=\017IJ*ʣ\\8\012e\011\027VQ(D4\015w1\003\010g#!H\003Q\ ! \030T\031\005\\,e>31\026RNy{Çgig\033\000BQr\013׃4N31\013<\ ! `T\"\005=\033?\031fxoY!Fh\002pqHOEjE3w\036I\000O\0313véL\022d*\ ! yVI\0103\005c\0053La/ڏG\001_~!i*?*\014neHa=4\006}MӲL\ ! G\011o[Bp.(xQOR\025+^\022\031W$\007Fc\013\025\016f\034]\ ! \030;\027(,\027 \007O\037\003\021c\000l6j|ރˑ1\015_y\026y==\034gzAa@:Ӆ\ ! 1`~\017\"\0056`HGGI\023^\006sU\0075\030}s2~tnCv12\ ! bm'|$&\017\036]C_ѝ\010bY\024>k?w\014,\034\000\000\006͛\\D˹(+y4\005\030\ ! yri0Vh8\0269\001\020\032D\012fdYUP \015\013\006 9%c.\025.'\026\ ! Dݟ\027#?\035ZBs=碊v7\000Ø9\004Qri\012=œ\033\ ! H\0303,˓z\001\"*,_\004i&\026\0136\020E\0110\\(\021L£R1HgtB'\030\031\036\ ! 5\013?\034Pk|\007?\012\006E \005 Ӆ\023r\005nB\011u_2@\001`%QVŒ\014!2Z\ ! JE\006~#T\010.\027l\0317QBT84W\004L\015\032\013\011UY*)\015e&\002\ ! hc\006_Sq\026tRPD̽%v\025\000``P\004N\016\007\010241󘥼\0056F/K\ ! \"\002c;d\03033-/iTTX o\005\022h9 < \\=U@ N*ޯ\005\020\035\\\037^\ ! Ykzޔ\"L$0\001Y(1T\003q\010\007#\022k\007\007\022b$ v1\ ! \030+mD\023\026^.XHW*o)*\031#~*iz\017\\0\000f\032K\032&\014з*Im\ ! Gl#sK&w\\z䙮\004]\016(\007(P^:9\016\024i\003O\ ! \033-o \016pOHa\032\000\032!\032T*?@r5\0046W,q\\/]m0B\007q1\ ! &`1$h@w\\!I\0066I#Ӻ1%6\010u\014Z\025AaEй\026dB\022_;\012\ ! 48p&!\024PdQ()\0274 Ҝ'\0046\014mKQ\004,F\0268IhG\ ! \002Nb\001\024M\000!s$\002\023NHR6p\017M\037F[$\012\011\007M\010;Q\ ! /tDu,6\011`ZBb6/T\014\022\037aw\011\000jf\023)\023\037^S\0310d)\ ! L@Fބ\002\005ZW\007''`Է=#MMS|\0218\001fg~m|r\001Ѳ\001\007wx}G\ ! /\023hjA\014A\000N\007\037 \\>j\004-\030()\001\033A4l\034\027\027,b=\ ! \0077\021:}6\023\"WM4P\012*\033x9#ݣ\024\016A\013ޥE\037\033\026&\003\0270\035{qT\005#\ ! :dǀ67vDS{xw\033Ӣ\011w)b\024OiXC\010ŀ\00416(akRG$C\ ! c\0172-LQ;)\000z2iFm\012wn\021\023.4ju\032n\022\007\010\025\ ! v#.\015?9EdG@짶\0134(\022\034\0354d-L\005,\012x䝌bZYw\015n؋H\ ! eMH8@6h/\004ݴ\012í]TQd9\026k\035e!gC \003\007`aV\002e6\ ! Zbe-4\005C~P:\021T\000\032\002\000\024h`//9Ɣ\013E`T:|IᇴTunT)\ ! \026Y~\030\007#tji\014‡h\024(\012\014o*\025)Q\016\036^\001dH%\006m?\001\000zXA\ ! tĢj\016\035mN)9Y\015\011G \0012\002cɈ6I\0227g:\005y\002S\034\ ! .\001\003\016!\023w$\016]H.PxX#>\033\012 Pֹ\032&\034a}_0n@x\035=>\032JC\ ! !\036\020j]j\001w\001#0\001\005\004V(\014\026\034FR\004K4\000ۖC\002iL\016d\000\013U\026\014\000V|T\ ! \000(Ԑf\020p&^\002:8☦sxN5!ȘXS,F\015W\023>\010Qh\016^\024E\023G\ ! & 0\022&\022E5#FY.f=\031\013\\X-dp\036F.}\015d\016V\003*dW\ ! I\000Pꤞ9E\032\005\023\016\0074-Hd\025]$b)\032ZU\030\005!RTB%\0152\\\003k#\014\ ! \013]2\034x#\032UT(V,\020F\026,qtA3W2<=[\011\016\015\020\020ҾƵN\021mץ\010X\\\ ! +1i\025שvFV\010\025#!\026kZX e\"T^\003\005\004PXTi+:\007%H<'\ ! 96}Rpi1\007\023\021%F5\015r:\"%Ô99\004FU=4uw\015#%dl\032m\027>\ ! \034(Ȩ\"$P\"M#HUqi\015!4kM*$\025 t-O*IȄ4[c.(\\\ ! \007'Cv \"eo\021\012:Ř4TJBP|L\012\02613\000w' 0Z\033\\1V'\022m/8\031\ ! #\026Y&'XUb,ulV #CIQk\017 (,\036&>:\033\ ! PCȿ\027eS\006$aT\0042\017%:\010Sm\ ! A`\021\017\007jrg X;U\013nkgL(?ĸ!\016@\0313֕#;B.\004\003CG.\022\020\ ! \034򪇺2\012ZQ\001\004!a\037Dy{L\000qFfy\005Aݫer.\"`Y\027E,X\\2\027\ ! Z\012S\03111\001MN\025:7\035隩\002`p…d\020\015\027RX\001D\000\020\026D3&L\\L\ ! Y;0~ɡW\010xAY]\022HKn\003\0304\004Yvqz\\U\012\002`\037b!\\h\000\024\ ! p\021\021-\011\007+\030\\YRFF d\005^AӚ\010ó1Q?\035/K#'^̢!\007i\ ! \035-6\002p!1pB-'(\027#Tp\016a)\015~hE\015ƞ\002*F\003\021\0051`*Y\ ! !zD?hS\016\0325%n`Q\026>i\025\020HMd֎4\0345\0028fF\032\021\ ! V\000 EU 6\012Ɏ@\\Eq7$?bb\027\037F\030bp\ ! \003B#)\" \033j.d@?\002\004w#髲K\0125}O~Hzl)\ ! \0250~\006\010*5G\026D\020@q6\011J\0270\027d3NI-SN1vVÁz]\012\ ! U\\4)\035\007Bx\0335hzF\002\030S\034Bc*֗/!vGT\"/,\\h=\ ! M,&F9&-i.pԁ]\027yF\007tPk\0352l9cM\032D\ ! X'\035\030\003BJf>hx7/\001\027#bMm\031*(󃲡wH_QP:\ ! rcg\012\013T\"S@R⁜\\\\J;-I)\000\025 a\0048\0367\0349\002\024\010T\033\ ! hm4;\012(_¥MfqE\012u\034]|ut$\0027 {VKb*f{3r3\ ! \006vS|\035GL\035IU{\001.LMGv!h*kM\017x\ ! 'Ϟf؞'Xyt \026 \0147ˣ4\007M\027iFXOƇ\022<\010Dň\ ! \036Ws\030~o\030\007)\035\\>:jl5?a\007X]ˆ(i`3<\0164\007mxwy.\ ! 6^\022T\033SswQG\033!iH<̏lB?RN`C3M){ۘ:\014P{o~&~`\ ! ʗK7_D?y:n\022}yDkx\020Ѹ`!e\006X\027X0\015!SP\003\006%s\006=nv\ ! A\023\0173~\006\022o9Œ,8P*\011f{\035R\031AM864\017iJ\ ! g\001:F\011aC3įќ\015!\023F\013\"?\"n^wOI\"vn\016fT\ ! \021m:r~JE_|JQ\032\017͞t\032\036waXw]A\023$=O\031F\ ! \004vBѝXv\015[Y6\011sH\021$\036Y;s4\016Kðg\014 \ ! LK\0317[4\017\035k֡ܘ5\030&\0248>uwb砟6\032\0056\017\034)Lb\ ! Т\0041?ḱ77Ǽ\016YGm6Ot]Yp8lj\036;Hp\023\020ڸ?Sn#r\ ! m4(\033ב\023nx\037}\030\026\0179uq4I\001{ol> \027̶\007pu\ ! jS\\dY\015o\007PkQ\0327sꃠ\020V2OF5/(\001\006\031\011_(\ ! 5_q{jj~+\032Si\014\013\032t\011m'Z\032\0307A%\002]@@`t\023W8kvz\ ! xT4ln$TYt\033\012\"|UH\032*ʔv\010ܐjd4H+I0bi2ާ\ ! 1\033?s\001\037 ZW\025m܊*h5Ԡ\032|\013Kn.LO\014\001\037\ ! S\024{t\005\013_)ܵ(\003Cg60\015uؚcσ\036\030\011\016\030O\024\002[`\ ! \022>Q£͞ik5]\022\006e;A'Ŭl\035`au[۸j\0058<\004\0145\ ! :lb+b\012[K\007̮a8[\0051Ri\037\035\"\012C\005kG!OY>5؛\034\ ! co\001x;cT\035½F\010j&&*m``:e\016?\016%d\002aT ~\ ! \0009\010٘E\033Ļ0ȟ?\037r}?i\004o\014݃'6wmۂ<\014YxFw\ ! _^>~>V%iV\000G{<`q꣒D3l\013*,\015y\023cѼ2U\ ! 2/\027br)N\016롿7HZv\032A\004\017E$.h\000.χ.\025uh+\000\000\010%\ ! u+=\033\007\032\011$Ԏ4\024]^S\000|\"=~/&fN}hrwXoӕʯQ\036\034\036vG\ ! \035 g0^\036\032ټ|\037_CL$,{Z?~'|7EB.\016o!@\"5\ ! \032P\014\023[o\001ζ\004VMP&\035n)CBbۋ\012_;Hȼd7HT\ ! M\021^\010K\0179\0311-<\015n!\017F&k@e9\020x|*=\033\035\037\034\ ! \004\026.9\000oqhm\034\036#\011}*ֶޒԽ=~G\ ! FZ\026Q`!\026 6~\036)Ei\011\017ZLVb`7tl]2|ۥd#7\ ! ؛/BE_(*>5)&3?m4Y\015?Li~\013tK#Mi\010\ ! \033V_نO&\025\034>K,Llj\\\02471$H;\014oBZx\016\014w>ZVKs\ ! v\037fM\003\\\036\033\022I[&8NR#\002ڔ\030wll ڴ\003>\"[L\ ! sop\030_\022;~:nX#7\022G\011mOwx-!(\012uml.|\004-\034u\013\"\ ! omQ\0360[d\034\002N(\033\004Apk}g~\0104;g|Ύm@i:\ ! m/D\037hڌ\034[p;u2l\012\031gd{vҊն\004gN÷gC\006\001\ ! {\030\037GL[u\011\005i'\033jP͐\026\026Г6\000zOC4C\032\0245’^_1i\007c3\002D}0Y:gzs\020l[7H?\010\ ! \007>wTK\006h^6b]y\033*e\013\012lx6\035\020T5s`^\016/S0nó\ ! y\017;KC_}\030_%\015V\025y: 6[5t\017zM\003ѻ~\036\0001_\003;\ ! a0\025c'4x[Hx߆\007!7\026n\031k\012y=x Ff\006Ӡ*~}^\ ! /7!_}!\023L;W5~9?qΔt\001ϨayXQw\000mNQM^P\036~+\036=\007;?\ ! \005}=n1/t{ۯ`\003u[o_6}ԍ\017\003(\034yAꩶgJ=\017u5}Zmj\ ! #\026T~甦;\027ºoWgo>`u]\002Bh\030lRU6\020.\033N\003W\002:\ ! i˖\032\037\022Bw\010Y\017i\006O- /cZh\"_1\016\ ! 9,ַ­Z9\023LBXئ1\027\033Un_dKgqsm\"Tөm*q<\036X\ ! \030oFE'#(@z\022ݍ9\010<\026L\\`\032lN;\011\013\037FO-,:|WC5\\\ ! IkP;pwc\037C\030EL\027Cu)H\ ! L\021nox3g ʙ㓑h,_,2LWIߎ\012\037j=}\032\0054\015[)ݳ\ ! ޟISɘ\ ! H6y>\036Tvbz]B\022@\023P@\023l\015<ш\014'H}j5\005aG\ ! nŜT`N\003hx=2\036Oc\030\011D4֮]\020t-r\\\031<\010\ ! \\O%==J1[P骻\023jڡǰ\014_\031wkQ@Qp_/_z") ### end --- 6,157 ---- import zlib ! data = zlib.decompress("x=ksFS0\015\")v\022=kN=;ʦRj\010\014I@\000C\024713\030qK4]*\\<\033e\035y\\641\012}\004ѳ,.EI\012sa\003PbP\007\020D\017F$\012\ ! \016\017%H@\0001c0V&ۈ>',ԝ\\f1l\030UP\0023FT\030\016|\\`\000p4\0004\ ! L\030oi[q\026%YU֏x\\g\012\002Ps\0174#\015\003{\0356\001p\011BYZA\\\ ! .epҠ\036\007i]lYS\001\033}>t?M8ȇ]\011;\033\035P\016Pt\ ! \010q\034\032)q.L%{6Z@xyk4\000@5\002C4`WU@w\005 k\010lXY\ ! <_~\004a\016l\024Mv'bHЀFb!\012C\014\012mF g\035?ucJm\020\024\031*\ ! |\005s-Ȅ$v\024h\012qLB#)ɢD3T2G;\0112h@9Ow\011~m\031,O\010rY\ ! \030-p\002ϓ+ю\004ŀ\003(\002\0175]\033\017\0014Cn@\004'\034\025\013Am\004\036j?X\ ! H\025\022\016T\021,wV_h1\011{BYl\023{źm<_\030%>\023\000̂'R\003M'\ ! >\030.3`ȒS~ƍL\011\005p\013\016NNo{F8y៛\"Pq\014#\003f\014\ ! e\003\016zڃSG\020Ԃ\014\031\026\001\016D?\002Ay}\010\012_!5[1P9\002c7\\eh\ ! \0009..JYV\005z\017n\014#tlc'\026E.'w ;7E\023 oSpua\037)AӰ\004\021BQ\005\ ! \001\011blP֤Hx\037(e[:/vh#\003 Ȧ\031)\000\033/pQ#\ ! KI\037 \"OW<.B4D\026E\036\001.\037<_Hpt((2\025D(u\ ! 2i\025f\0165a/\"-5\"\003\"\027ɮ\020>rwj+\014\")$\020_(s\0159-\ ! \004\037(<\000C\015\022@.\022kp1)\030a\0020\020\006@\003{A\0267}\031$7\\(\002\034\005\ ! L\0024\017?sZN\034C\003\0268\030SKcH]\024>D@W`~T(Mr\012 C*1\000m%\ ! \016i\014\004c\022\005\017ҧ\033G%W\013thsLÍ_jHH>b\005\011\016\021\034#OF\014o9N-\ ! i>)\033\024@\014lt\011\030p\010\001$qLrjhT\000\005\0020Q\010\033~v\015\ ! P\002\034\035\016\0218PTKu\014p\013H\034w\011( Ba\0000\"%X\001ض\034r\025Hcr \003\ ! X0`\000+\0364\007`Fy4+4\022\0214s\002\012A\024ƚb1j2E\022\ ! ZwEZ,8&\001F)0\030+\0344\022r1Xjj%-\0060*Wvk`\ ! $\0036w\0328\005\026T!O\002HJW'|\021\\-(ph>XiA\"P\"\021KЪˆ\027,`\014\ ! \022*ib\017n\034X\033aXĽwhXWQXC\030Yв\015\006\\l%84B\014CH6\033\027\ ! ;E^\"\000\"\015Hu|\033\021/5W\007-\020FPv\000b\014OZAbr\ ! `;:Ȑcq(ZU\004_7\032Y!VbXiauS{\015\024\020Ca\ ! R\025\034R#\031\0201fJ:å\011\034LD\0304鰋pX\017S\020\030U6h\002\ ! j\012_(sP\012#@\0114!\014\"Uť7,5T\002ҵd>\001\006$!\023\012\ ! l\005n\"\004r\035\014فE(*\024cPe*\011eB12*X\000mR\032hчgb\ ! N^%\004<_p[3\002G\032QSCU-LOҫ\006X٬*AF\034ϓז\037F!AP2Y<\ ! M\006!}Gێ\0127ס\\\027/Fˌy\015y\0249\002\016\025\016\005\023^G=)`B\004Cc\"\025|z\ ! I¨\010d\036K\027(42#R\017\032CL@.\026XϘ|QqC3f+\007v\ ! \\\011\006F\016\\$ \037U\017ue\024\0005\001\003\010B\016Ws?\000wp\001<\010\013\020WTDl\ ! .Xf^e.\024˧2`7cb4\027\003\013*ug\035隩\002`p…d\020\015\027RX\001D\000\ ! \020\026D3&L\\LY;0~ɡW\010xAY]\022HKn\003\0304\004Yvz\\U\012\002`\037\ ! b!\\h\000\024p\021\021-\011\007+\030\\YRFF d\005^AӚ\010ó1Qv׎\027\ ! Б\023/fѐ\003Ǵ3\026e|BTd\020Z\0308k~+\021|U*q8߰\006?\"ÆbcO\001\ ! laKʂ\0300\020H\"\037ok\007a\032r\022o(jpX\013C\010\\&2kGb\032Ty\ ! \032\001GE3#\010+t\020\020\0368Q^mS/MB^\010rE\000Xf\020\027\0028@\007\033\003B\020|Ψ\ ! ;1ʄuh\021\017`D!3c\025BOLPp\033\010\014M\"WW\020\006䩡\ ! pY\\q:@5In\001 `Y\0230W1N\"8Zq\020\007\037k\023i\0304xֵ6i)\ ! \004\006iM89F6C~­h\015\024\025kZ\036W2\013׀c;vFJ9Aơ:!=H\ ! /8\0002\001핹0Xd \001q\022W};BOq\001Q\025\037rn\031!\ ! \027udڗB#2[Q(\005ˉ\005֠?<9\014+sfi\017\012bgZd\017YrV߉ڱ\ ! Z:/@%\012\035\002w=\023D(\025\033#*:\\Łu\003SI\"w\003^2*d\003\025ie4\027\013\014\ ! \015򛀓_˙]Yhb1t3U-b%NK\026K*, \023G\003\006\006\024\033!B\0140E\ ! `K4,VleI\013RN\012N(0\004\006\001Dc3\\\020V(7&bw\"\ ! \005@Ntoߪ<5v\012YW\011[رv.X4N\011!i\010\031\033$W%@\ ! @8A;\032\002˻GM-;(;Ds\011wLR-符=[ƞh\034KG\0011N7GPt\ ! \031vƸ;\005G!d\\q-\032i!8Y4r._@\027QH\025Kr7R,\000N\ ! JLū;\013\036n1bb5Z7>(\017\006\020L\000[\"ryY܆L\020\027h\026\ ! \027XW٘=3,\022\0245#p\02024K;/Dջ\007\015jLA(cj\ ! ӵ_8\036\"/[n\005=̾\0006BJkQ\005\021\004Pk\\'\015fn£\005\005\031\023tRw+\ ! `L\0257p^B\025\027(\012oqǁP\"x\015뢰@!\006r5P蘊mH\ ! Qo/ղ\013%\027ZOS$,Qlya\013y#u$htE\021\001\0357Z\ ! 5\033~d8Ѯ&r\007ƀ\031Oe-i8\036KDžȺXӞaF\012lm'\022\027\ ! mg\024$,Nؙ‚j=?\0247ԫ'g%׳6kqKRJ:@\005H\030\001βǍop?Gb\016\ ! *<\000jh7կ\006Z\033ή\037ʗp~_\\r _];Gg_\035\034\0157Ȟ\025\ ! \031L܌]%yw6\037p\007(Sӑt<]HDJ\ ! ZA\034#ͮ##\014tznR]6޿{LQ\032\017͞t\032\036waX\ ! wA\023$=O\031F\004vBѝXv\015[Y6\011sH\021$\036I;s4\016\ ! Kðg\014 7]2mi\036:U­Cm1kR-1mM(p\013q}ewA?Rm5\ ! \013fm\"\0379RĠE\011b~Қ\0031oo\016YGm6OtmYp8lj\036;Hp\023\ ! \020ڸ?Swn#rƸm4(\033ב\023nx@\037}\030\006\0179uq4I\001{ol\ ! . \027̶\007pujS\\dY\015o\007PkQ\0327s샠\020V2OF5/\ ! (\001\006\031\011_(5_q{jj~+\032Si\014\013\032t\011m'Z\032\0307A%\002]@@`t\023W\ ! חqz4q?itH٩P}6\024D\0124.U)\020!GijV\ ! ja|deOc6~v\0022d\001?@\\\032+ڸ\025A'\0253U\022[JkAK5\026JD\ ! \015]f\030\002>\005M%էJ)v\012/\027ԿRkCQf\007\024m`\032d5Ǻ\007=l\ ! 1\022\004\035~1(\004B]%HI}G=Ij\032u<홗$\014v\002OY6붶qy\ ! \013y\011\025\031\004ktVp\033\024ţ\017\034]q\030\012b?_]9\015[E\024\012\ ! Bp|j7\0379Ǯ\002 \001\025w8Ǩ:${\020|MMT#o\0258az\002?7\037\ ! Tԡ\000\000 8!n'~\013'P;Pt~.^{\003ŋ\027q9sa\ ! IW*\000G\035vdyzhWUԿF_\0171h\015߿xOo\\\ ! \034pWEjc55n}á\030\010\001'\003W\014l\011LxsTx\026l\0206\036\ ! nN*;ŝA\030\0154y\020\005\026\007\011\026);Eߖ}ienxM׋\006Ң/\0154\017\027\ ! WENj#j}`o\021p^F6u>ʅ?\020!0\003^\007AӠQF\007!APF\ ! ph3`PG`x+\017tu\015(|\004\002Eb\021?$\003<+znQHW98>\035\037X\026\ ! \002\022\026v\023@@}͘\016AZh>9=ӻ\037d\021zMfC\024\ ! ,\"%.#:\021\007sW\024\031H.ԨA$_]G^\032DczQ'NB\ ! y5Aip\003\0317\0074YC\007:\"ˁ8<\024\037U&cq甩p=KD\ ! \014\004g儜?D)\010S\016w\033_v;@[!/}ϢA7Y\004 \ ! ޣl;!ڣyۛh1\032\005߹^\005ʐGc9U7y_P\ ! tU\015}kR#Mft)8h4\0322?\\\0262F\020AwþݰL*8|\ ! \002Yv\026߹d)n\\cIvF\031_%U\034\031xo]`z?̚\\\007!׹d\ ! =\0347,SOL\023\006mqF\004)onmi\007]\\|z1w\ ! tܰGR\022\034k0ڤ(r׵[\015\023;ws-=̷E\0256'[D|\ ! nӓqC'\023\007}gĻ!а_o\035FR\0015똷\020}j3sl\ ! Ѹ/z)jf4\022M>Q+V\022b\032\035\003^<{Zw\037(`\017Vbb\ ! [MRx/H+l><:ЛVZl<}\001{z\017\025'ڇm\013\034*\010yB\021Fbo2\036~\ ! ͷ\033&y7\011\037f\015n9ݙtơk\016tS3\004\0172\004ob9:/\033)FXGS1 O\ ! }&φ\\\037\002\0155лE-N\015'S)tC,Y!O>\015?aIE\ ! w/阴}z/&^\0239PGA-DkVw1—/]'Ւ\001>em\ ! 3MXWp^J²\002+\033\036|'<կ\0347\017\033mH!L8tsv9=qٻ\ ! ٴ\021{\"O'=\033\031\033f+.aP]x1z\0036\006;zG:;\014bl\031o\013\011\ ! Fۢ-wMA{;6\002y-}\035QGd\016#Rö=S\027>~]Cjӹ?bL%\020G;NiZ\ ! x\021,&yu\026[%(t&Un\003߻t.l9K!1k-~\ ! ^fتt\002R>\006[Xhż\034m]$pw61GVz1VU\ ! +wI\026\013T1bmWlwY8nQn:M%\016\037\025#ݨ\036\005\005|\026\ ! SOb6LgN\013LSy>a\011e;POjf+i\030\036\ ! \017\011\017\033lN$sF6K3{| \036{O>E\030C?)HL\021nox3\ ! g ʙ㓑h,_,2LWIߎ\012j=M\032\0054\015g)݃ޟIS Update of /cvsroot/spambayes/website In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26201 Modified Files: server_side.ht Log Message: ever-so-slightly more than minimal changes to try make the web page stretch and shrink better Index: server_side.ht =================================================================== RCS file: /cvsroot/spambayes/website/server_side.ht,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** server_side.ht 9 Aug 2004 06:22:47 -0000 1.6 --- server_side.ht 19 Apr 2005 02:01:14 -0000 1.7 *************** *** 26,64 ****
  • Create the DB by training with a mailbox of ham and a mailbox of spam. I put the DB in /var/spambayes/hammie.db (as a DBM store).
  • !
  • In master.cf, the smtp line has been changed for the following two lines:
    ! smtp      inet  n       -       n       -       -       smtpd
        -o content_filter=spambayes:
      
    and the following two lines were added at the end of the file:
    ! spambayes unix  -       n       n       -       -       pipe
    !   user=nobody argv=/usr/local/bin/hammiewrapper.sh $sender $recipient
      
  • Here's what the hammiewrapper.sh file looks like:
      #!/bin/sh
    ! /usr/local/bin/sb_filter.py -d /var/spambayes/hammie.db -f | /usr/sbin/sendmail -f $*
      
  • qmail notes from Michael Martinez

    -

    SpamBayes is installed on our agency's smtp / MX gateway. This machine runs Redhat - Linux 7.1, qmail 1.03, qmail-scanner 1.16, and hbedv's Antivir. Incoming mail is - accepted by tcpserver and handed off to qmail-scanner. Qmail-scanner runs the virus - software (antivir) and hands the message to qmail. Qmail accepts local delivery - on all domain-bound email. This email is delivered to ~alias/.qmail-default. - (This is a standard configuration for qmail).

    !

    ~alias/.qmail-default pipes each email through Spambayes. The .qmail-default ! is set up as follows:

    ! | /usr/local/spambayes/hammiefilter.py -d /usr/local/spambayes/.hammiedb | qmail-remote MSServer.csrees.usda.gov "$SENDER" $DEFAULT@csrees.usda.gov
      

    !

    The permissions for the /usr/local/spambayes directory are set with the following command:
    !

    chown R qmailq.qmail /usr/local/spambayes

    --- 26,75 ----
  • Create the DB by training with a mailbox of ham and a mailbox of spam. I put the DB in /var/spambayes/hammie.db (as a DBM store).
  • !
  • In master.cf, the smtp line has been changed for the following two ! lines:
    !
    ! smtp      inet   n   -   n   -   -   smtpd
        -o content_filter=spambayes:
      
    and the following two lines were added at the end of the file:
    ! spambayes unix  -   n   n   -   -   pipe
    !   user=nobody argv=/usr/local/bin/hammiewrapper.sh
    !     $sender $recipient
      
  • Here's what the hammiewrapper.sh file looks like:
      #!/bin/sh
    ! /usr/local/bin/sb_filter.py \
    !     -d /var/spambayes/hammie.db -f \
    ! | /usr/sbin/sendmail -f $*
      
  • qmail notes from Michael Martinez

    !

    SpamBayes is installed on our agency's smtp / MX gateway. This machine ! runs Redhat Linux 7.1, qmail 1.03, qmail-scanner 1.16, and hbedv's ! Antivir. Incoming mail is accepted by tcpserver and handed off to ! qmail-scanner. Qmail-scanner runs the virus software (antivir) and ! hands the message to qmail. Qmail accepts local delivery on all domain-bound ! email. This email is delivered to ~alias/.qmail-default. (This is a ! standard configuration for qmail).

    ! !

    ~alias/.qmail-default pipes each email through Spambayes. The ! .qmail-default is set up as follows (note line wrapping):

    ! | /usr/local/spambayes/hammiefilter.py \
    !     -d /usr/local/spambayes/.hammiedb \
    ! | qmail-remote MSServer.csrees.usda.gov \
    !     "$SENDER" $DEFAULT@csrees.usda.gov
      

    !

    The permissions for the /usr/local/spambayes directory are set with the ! following command:
    !

    chown -R qmailq.qmail /usr/local/spambayes

    *************** *** 70,76 **** the Rules to detect the Spambayes tag in the message header. If the tag reads Spambayes-Classification: spam then the email is either deleted ! or placed in the user's Spam folder. If it reads Spambayes-Classification: unsure ! then it's placed in the user's Unsure folder. If it reads Spambayes-Classification: ham ! then nothing special is done it is delivered to the user's Inbox as normal.

    The user is given the choice of whether to set up his rules or not.

    --- 81,88 ---- the Rules to detect the Spambayes tag in the message header. If the tag reads Spambayes-Classification: spam then the email is either deleted ! or placed in the user's Spam folder. If it reads ! Spambayes-Classification: unsure then it's placed in the user's ! Unsure folder. If it reads Spambayes-Classification: ham then nothing ! special is done - it is delivered to the user's Inbox as normal.

    The user is given the choice of whether to set up his rules or not.

    *************** *** 92,101 ****
      !
    1. I use a simple script to insert a blank From: line at the top of each email
    2. !
    3. I use a simple script to remove the qmail-scanner header from the bottom of each email.
    4. uuencoded attachments are removed
    5. !
    6. cat /usr/local/spambayes/training/spamdir/* >> /usr/local/spambayes/training/spam
    7. !
    8. cat /usr/local/spambayes/training/hamdir/* >> /usr/local/spambayes/training/ham 
    9. !
    10. /usr/local/spambayes/mboxtrain d /usr/local/spambayes/.hammiedb g /usr/local/spambayes/training/ham s /usr/local/spambayes/training/spam
      (This last step can be run without shutting down qmail.)
    --- 104,120 ----
      !
    1. I use a simple script to insert a blank From: line at the top of each ! email
    2. !
    3. I use a simple script to remove the qmail-scanner header from the bottom ! of each email.
    4. uuencoded attachments are removed
    5. !
    6. cat /usr/local/spambayes/training/spamdir/* \
      !     >> /usr/local/spambayes/training/spam
    7. !
    8. cat /usr/local/spambayes/training/hamdir/* \
      !     >> /usr/local/spambayes/training/ham 
    9. !
    10. /usr/local/spambayes/mboxtrain \
      !     -d /usr/local/spambayes/.hammiedb \
      !     -g /usr/local/spambayes/training/ham \
      !     -s /usr/local/spambayes/training/spam
      (This last step can be run without shutting down qmail.)
    *************** *** 128,133 **** notes explaining how he set up server-side filtering with SpamBayes and ! an IMAP server, using imapfilter.py (now sb_imapfilter.py) and ! hammiefilter.py (now sb_filter.py).

    An Alternate method of Server Mail filtering in Linux or Unix --- 147,152 ---- notes explaining how he set up server-side filtering with SpamBayes and ! an IMAP server, using sb_imapfilter.py and ! sb_filter.py.

    An Alternate method of Server Mail filtering in Linux or Unix *************** *** 158,164 ****

    Mail is filtered by the server using a .procmailrc file in the user's ! directory that runs sb_filter.py. One further thing, which should be ! obvious, is that we have created MX records so that all mail addressed to a ! client is actually delivered to the server.

    Training can easily be done with a simple script such as:

    --- 177,183 ----

    Mail is filtered by the server using a .procmailrc file in the user's ! directory that runs sb_filter.py. One further thing, which ! should be obvious, is that we have created MX records so that all mail ! addressed to a client is actually delivered to the server.

    Training can easily be done with a simple script such as:

    *************** *** 168,172 **** #script: trainsb ! /usr/bin/sb_mboxtrain.py -d $HOME/.hammie.db -g $HOME/Mail/$1 -s $HOME/Mail/$2 --- 187,194 ---- #script: trainsb ! /usr/bin/sb_mboxtrain.py \ ! -d $HOME/.hammie.db \ ! -g $HOME/Mail/$1 \ ! -s $HOME/Mail/$2 From montanaro at users.sourceforge.net Tue Apr 19 13:15:15 2005 From: montanaro at users.sourceforge.net (Skip Montanaro) Date: Tue Apr 19 13:15:17 2005 Subject: [Spambayes-checkins] spambayes/contrib tte.py,1.15,1.16 Message-ID: Update of /cvsroot/spambayes/spambayes/contrib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16030 Modified Files: tte.py Log Message: Include time to create & reverse mailbox in accounting for each round Index: tte.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/contrib/tte.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** tte.py 1 Jan 2005 17:46:18 -0000 1.15 --- tte.py 19 Apr 2005 11:15:12 -0000 1.16 *************** *** 104,107 **** --- 104,112 ---- while round < maxrounds and (hmisses or smisses or round == 0): + round += 1 + if verbose: + print >> sys.stderr, "*** round", round, "***" + + start = datetime.datetime.now() hambone = mboxutils.getmbox(hambox) spamcan = mboxutils.getmbox(spambox) *************** *** 109,119 **** hambone = reversed(list(hambone)) spamcan = reversed(list(spamcan)) - round += 1 - - if verbose: - print >> sys.stderr, "*** round", round, "***" hmisses = smisses = nmsgs = 0 - start = datetime.datetime.now() try: while not maxmsgs or nmsgs < maxmsgs: --- 114,119 ---- From anadelonbrin at users.sourceforge.net Thu Apr 21 09:09:12 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 21 09:09:16 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_imapfilter.py,1.57,1.58 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7311/scripts Modified Files: sb_imapfilter.py Log Message: Move __future__ import to correct place. Add [ 1182703 ] sb_imapfilter binary should output to log This only takes effect when frozen, but hopefully the scheme will work even if there exists a frozen sb_imapfilter for *nix one day. Index: sb_imapfilter.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_imapfilter.py,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** sb_imapfilter.py 6 Apr 2005 02:48:33 -0000 1.57 --- sb_imapfilter.py 21 Apr 2005 07:09:09 -0000 1.58 *************** *** 48,51 **** --- 48,53 ---- """ + from __future__ import generators + todo = """ o IMAP supports authentication via other methods than the plain-text *************** *** 69,74 **** "much to isbg by Roger Binns (http://www.rogerbinns.com/isbg)." - from __future__ import generators - try: True, False --- 71,74 ---- *************** *** 77,85 **** True, False = 1, 0 ! import socket import os import re import time - import sys import getopt import types --- 77,133 ---- True, False = 1, 0 ! # If we are running as a frozen application, then chances are that ! # output is just lost. We'd rather log this, like sb_server and Oulook ! # log, so that the user can pull up the output if possible. We could just ! # rely on the user piping the output appropriately, but would rather have ! # more control. The sb_server tray application only does this if not ! # running in a console window, but we do it whenever we are frozen. import os + import sys + if hasattr(sys, "frozen"): + # We want to move to logging module later, so for now, we + # hack together a simple logging strategy. + try: + import win32api + except ImportError: + if sys.platform == "win32": + # Fall back to CWD, but warn user. + status = "Warning: your log is stored in the current " \ + "working directory. We recommend installing " \ + "the pywin32 extensions, so that the log is " \ + "stored in the Windows temp directory." + temp_dir = os.getcwd() + else: + # Try for a /tmp directory. + if os.path.isdir("/tmp"): + temp_dir = "/tmp" + status = "Log file opened in /tmp" + else: + status = "Warning: your log is stored in the current " \ + "working directory. If this does not suit you " \ + "please let the spambayes@python.org crowd know " \ + "so that an alternative can be arranged." + else: + temp_dir = win32api.GetTempPath() + status = "Log file opened in " + temp_dir + for i in range(3,0,-1): + try: + os.unlink(os.path.join(temp_dir, "SpamBayesIMAP%d.log" % (i+1))) + except os.error: + pass + try: + os.rename( + os.path.join(temp_dir, "SpamBayesIMAP%d.log" % i), + os.path.join(temp_dir, "SpamBayesIMAP%d.log" % (i+1)) + ) + except os.error: + pass + # Open this log, as unbuffered, so crashes still get written. + sys.stdout = open(os.path.join(temp_dir,"SpamBayesIMAP1.log"), "wt", 0) + sys.stderr = sys.stdout + + import socket import re import time import getopt import types From anadelonbrin at users.sourceforge.net Thu Apr 21 09:16:51 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Thu Apr 21 09:16:54 2005 Subject: [Spambayes-checkins] spambayes/spambayes storage.py,1.49,1.50 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12091/spambayes Modified Files: storage.py Log Message: Use the os.path.basename as the database name for a ZODB FileStorage database, so that if the database is moved it will still work. (If it's renamed, it won't work - but maybe this is a good thing. If anyone thinks that it isn't, then change the db name to "SpamBayes" or something. The long term scheme is to put the messageinfo database (when needed) in the same FileStorage, but under a different dbname). Index: storage.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/storage.py,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** storage.py 18 Mar 2005 01:37:22 -0000 1.49 --- storage.py 21 Apr 2005 07:16:48 -0000 1.50 *************** *** 672,676 **** class ZODBClassifier(object): def __init__(self, db_name): ! self.db_name = db_name self.closed = True self.load() --- 672,677 ---- class ZODBClassifier(object): def __init__(self, db_name): ! self.db_filename = db_name ! self.db_name = os.path.basename(db_name) self.closed = True self.load() *************** *** 693,697 **** import ZODB from ZODB.FileStorage import FileStorage ! self.storage = FileStorage(self.db_name) def load(self): --- 694,698 ---- import ZODB from ZODB.FileStorage import FileStorage ! self.storage = FileStorage(self.db_filename) def load(self): *************** *** 700,704 **** if options["globals", "verbose"]: ! print >> sys.stderr, 'Loading state from', self.db_name, 'database' # If we are not closed, then we need to close first before we --- 701,706 ---- if options["globals", "verbose"]: ! print >> sys.stderr, "Loading state from %s (%s) database" % \ ! (self.db_filename, self.db_name) # If we are not closed, then we need to close first before we *************** *** 711,714 **** --- 713,717 ---- self.conn = self.db.open() root = self.conn.root() + self.classifier = root.get(self.db_name) if self.classifier is None: From anadelonbrin at users.sourceforge.net Fri Apr 22 06:08:28 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 22 06:08:33 2005 Subject: [Spambayes-checkins] spambayes/spambayes storage.py,1.50,1.51 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5654/spambayes Modified Files: storage.py Log Message: Fix [ 1187208 ] import into CDB chokes on 8-bit chars Index: storage.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/storage.py,v retrieving revision 1.50 retrieving revision 1.51 diff -C2 -d -r1.50 -r1.51 *** storage.py 21 Apr 2005 07:16:48 -0000 1.50 --- storage.py 22 Apr 2005 04:08:25 -0000 1.51 *************** *** 65,68 **** --- 65,69 ---- import os import sys + import types from spambayes import classifier from spambayes.Options import options, get_pathname_option *************** *** 620,623 **** --- 621,636 ---- return wi + # Stolen from sb_dbexpimp.py + # Heaven only knows what encoding non-ASCII stuff will be in + # Try a few common western encodings and punt if they all fail + def uunquote(self, s): + for encoding in ("utf-8", "cp1252", "iso-8859-1"): + try: + return unicode(s, encoding) + except UnicodeDecodeError: + pass + # punt + return s + def load(self): if os.path.exists(self.db_name): *************** *** 627,631 **** self.nham, self.nspam = [int(i) for i in \ data[self.statekey].split(',')] ! self.wordinfo = dict([(k, self._WordInfoFactory(v)) \ for k, v in data.iteritems() \ if k != self.statekey]) --- 640,645 ---- self.nham, self.nspam = [int(i) for i in \ data[self.statekey].split(',')] ! self.wordinfo = dict([(self.uunquote(k), ! self._WordInfoFactory(v)) \ for k, v in data.iteritems() \ if k != self.statekey]) *************** *** 645,648 **** --- 659,664 ---- items = [(self.statekey, "%d,%d" % (self.nham, self.nspam))] for word, wi in self.wordinfo.iteritems(): + if isinstance(word, types.UnicodeType): + word = word.encode("utf-8") items.append((word, "%d,%d" % (wi.hamcount, wi.spamcount))) db = open(self.db_name, "wb") From anadelonbrin at users.sourceforge.net Fri Apr 22 08:18:14 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 22 08:18:18 2005 Subject: [Spambayes-checkins] spambayes/Outlook2000 addin.py, 1.151, 1.152 manager.py, 1.108, 1.109 Message-ID: Update of /cvsroot/spambayes/spambayes/Outlook2000 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5689/Outlook2000 Modified Files: addin.py manager.py Log Message: Replace assert type(x), type() with assert isinstance(x, types.X) Index: addin.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v retrieving revision 1.151 retrieving revision 1.152 diff -C2 -d -r1.151 -r1.152 *** addin.py 10 Jan 2005 22:17:38 -0000 1.151 --- addin.py 22 Apr 2005 06:18:09 -0000 1.152 *************** *** 1,4 **** --- 1,5 ---- # SpamBayes Outlook Addin import sys, os + import types import warnings import traceback *************** *** 289,293 **** if use_timer: too = None ! if type(start_delay) != type(0.0) or type(interval) != type(0.0): print "*" * 50 print "Timer values are garbage!", repr(start_delay), repr(interval) --- 290,295 ---- if use_timer: too = None ! if not isinstance(start_delay, types.FloatType) or \ ! not isinstance(interval, types.FloatType): print "*" * 50 print "Timer values are garbage!", repr(start_delay), repr(interval) *************** *** 321,325 **** assert thread.get_ident() == self.owner_thread_ident assert self.timer_id is None, "Shouldn't start a timer when already have one" ! assert type(delay)==type(0.0), "Timer values are float seconds" # And start a new timer. assert delay, "No delay means no timer!" --- 323,327 ---- assert thread.get_ident() == self.owner_thread_ident assert self.timer_id is None, "Shouldn't start a timer when already have one" ! assert isinstance(delay, types.FloatType), "Timer values are float seconds" # And start a new timer. assert delay, "No delay means no timer!" Index: manager.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/Outlook2000/manager.py,v retrieving revision 1.108 retrieving revision 1.109 diff -C2 -d -r1.108 -r1.109 *** manager.py 7 Apr 2005 04:18:19 -0000 1.108 --- manager.py 22 Apr 2005 06:18:09 -0000 1.109 *************** *** 5,8 **** --- 5,9 ---- import sys import errno + import types import shutil import traceback *************** *** 396,400 **** except AttributeError: # May already be Unicode pass ! assert type(value) == type(u''), "%r should be a unicode" % value try: if not os.path.isdir(value): --- 397,401 ---- except AttributeError: # May already be Unicode pass ! assert isinstance(value, types.UnicodeType), "%r should be a unicode" % value try: if not os.path.isdir(value): *************** *** 941,950 **** delay = self.config.notification.notify_accumulate_delay self._DoStartNotifyTimer(delay) - pass def _DoStartNotifyTimer(self, delay): assert thread.get_ident() == self.owner_thread_ident assert self.notify_timer_id is None, "Shouldn't start a timer when already have one" ! assert type(delay)==type(0.0), "Timer values are float seconds" # And start a new timer. assert delay, "No delay means no timer!" --- 942,950 ---- delay = self.config.notification.notify_accumulate_delay self._DoStartNotifyTimer(delay) def _DoStartNotifyTimer(self, delay): assert thread.get_ident() == self.owner_thread_ident assert self.notify_timer_id is None, "Shouldn't start a timer when already have one" ! assert isinstance(delay, types.FloatType), "Timer values are float seconds" # And start a new timer. assert delay, "No delay means no timer!" From anadelonbrin at users.sourceforge.net Fri Apr 22 09:15:11 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 22 09:15:16 2005 Subject: [Spambayes-checkins] spambayes/scripts sb_server.py,1.45,1.46 Message-ID: Update of /cvsroot/spambayes/spambayes/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27215/scripts Modified Files: sb_server.py Log Message: Fix [ 1182671 ] When cache directories are full, 1.1a1 starts slowly We re-opened the message database for every message in the corpus directory. We are meant to open it once and keep track of it. Index: sb_server.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/scripts/sb_server.py,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -d -r1.45 -r1.46 *** sb_server.py 6 Apr 2005 04:13:41 -0000 1.45 --- sb_server.py 22 Apr 2005 07:15:08 -0000 1.46 *************** *** 889,895 **** map(storage.ensureDir, [sc, hc, uc]) if self.gzipCache: ! factory = GzipFileMessageFactory() else: ! factory = FileMessageFactory() age = options["Storage", "cache_expiry_days"]*24*60*60 self.spamCorpus = ExpiryFileCorpus(age, factory, sc, --- 889,895 ---- map(storage.ensureDir, [sc, hc, uc]) if self.gzipCache: ! factory = GzipFileMessageFactory(self.mdb) else: ! factory = FileMessageFactory(self.mdb) age = options["Storage", "cache_expiry_days"]*24*60*60 self.spamCorpus = ExpiryFileCorpus(age, factory, sc, From anadelonbrin at users.sourceforge.net Fri Apr 22 09:15:11 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Fri Apr 22 09:15:16 2005 Subject: [Spambayes-checkins] spambayes/spambayes Corpus.py, 1.22, 1.23 FileCorpus.py, 1.19, 1.20 Message-ID: Update of /cvsroot/spambayes/spambayes/spambayes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27215/spambayes Modified Files: Corpus.py FileCorpus.py Log Message: Fix [ 1182671 ] When cache directories are full, 1.1a1 starts slowly We re-opened the message database for every message in the corpus directory. We are meant to open it once and keep track of it. Index: Corpus.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/Corpus.py,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Corpus.py 18 Mar 2005 01:57:28 -0000 1.22 --- Corpus.py 22 Apr 2005 07:15:09 -0000 1.23 *************** *** 253,261 **** class MessageFactory: '''Abstract Message Factory''' - - def __init__(self): - '''Constructor()''' - pass - def create(self, key, content=None): '''Create a message instance''' --- 253,256 ---- Index: FileCorpus.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/spambayes/FileCorpus.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** FileCorpus.py 18 Mar 2005 01:57:28 -0000 1.19 --- FileCorpus.py 22 Apr 2005 07:15:09 -0000 1.20 *************** *** 148,157 **** '''Message that persists as a file system artifact.''' ! def __init__(self, file_name=None, directory=None): '''Constructor(message file name, corpus directory name)''' self.file_name = file_name self.directory = directory self.loaded = False ! self._msg = message.SBHeaderMessage() def __getattr__(self, att): --- 148,158 ---- '''Message that persists as a file system artifact.''' ! def __init__(self, file_name=None, directory=None, ! message_database=None): '''Constructor(message file name, corpus directory name)''' self.file_name = file_name self.directory = directory self.loaded = False ! self._msg = message.SBHeaderMessage(message_info_db=message_database) def __getattr__(self, att): *************** *** 298,301 **** --- 299,306 ---- # Subclass must define a concrete message klass. klass = None + def __init__(self, message_database=None): + self.message_database = message_database + Corpus.MessageFactory.__init__(self) + def create(self, key, directory, content=None): '''Create a message object from a filename in a directory''' *************** *** 307,311 **** msg.loaded = True return msg ! return self.klass(key, directory) --- 312,316 ---- msg.loaded = True return msg ! return self.klass(key, directory, self.message_database) From anadelonbrin at users.sourceforge.net Tue Apr 26 08:15:29 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Tue Apr 26 08:15:33 2005 Subject: [Spambayes-checkins] spambayes/testtools fpfn.py,1.2,1.3 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29414/testtools Modified Files: fpfn.py Log Message: Add [ 618932 ] fpfn.py: add interactivity on unix Except in a cross-platform way. This means that less isn't used, just print, , but I couldn't think of a way around that. Also add the ability to do unsures, including interactivity. Index: fpfn.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/fpfn.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** fpfn.py 17 Jan 2003 06:42:54 -0000 1.2 --- fpfn.py 26 Apr 2005 06:15:27 -0000 1.3 *************** *** 1,7 **** #! /usr/bin/env python ! """Extract false positive and false negative filenames from timcv.py output.""" ! import sys import re def cmpf(a, b): --- 1,30 ---- #! /usr/bin/env python ! """Extract false positive and false negative filenames from timcv.py output. ! Usage: %(program)s [options] cv_output(s) ! ! Where: ! -h ! Show usage and exit. ! -i ! Prompt for each message, letting the user correct classification ! mistakes, or remove email. ! -u ! Also print unsures. ! -o section:option:value ! set [section, option] in the options database to value ! Requires spambayes package on the PYTHONPATH. ! """ ! ! try: ! True, False ! except NameError: ! # Maintain compatibility with Python 2.2 ! True, False = 1, 0 ! ! import os import re + import sys + import getopt def cmpf(a, b): *************** *** 16,21 **** return cmp(a, b) def main(): ! for name in sys.argv[1:]: try: f = open(name + ".txt") --- 39,74 ---- return cmp(a, b) + program = sys.argv[0] + + def usage(code, msg=''): + """Print usage message and sys.exit(code).""" + if msg: + print >> sys.stderr, msg + print >> sys.stderr + print >> sys.stderr, __doc__ % globals() + sys.exit(code) + def main(): ! try: ! opts, args = getopt.getopt(sys.argv[1:], 'hiuo:', []) ! except getopt.error, msg: ! usage(1, msg) ! ! interactive = False ! do_unsures = False ! for opt, arg in opts: ! if opt == '-h': ! usage(0) ! elif opt == '-i': ! interactive = True ! elif opt == '-u': ! do_unsures = True ! elif opt in ('-o', '--option'): ! # Do the import here, so that it is only necessary to have ! # spambayes on the PYTHONPATH if this is used. ! from spambayes.Options import options ! options.set_from_cmdline(arg, sys.stderr) ! ! for name in args: try: f = open(name + ".txt") *************** *** 25,28 **** --- 78,82 ---- fp = [] fn = [] + unsures = [] for line in f: if line.startswith(' new fp: '): *************** *** 30,41 **** elif line.startswith(' new fn: '): fn.extend(eval(line[12:])) fp.sort(cmpf) fn.sort(cmpf) print "--- fp ---" for x in fp: ! print x print "--- fn ---" for x in fn: ! print x if __name__ == '__main__': --- 84,147 ---- elif line.startswith(' new fn: '): fn.extend(eval(line[12:])) + elif line.startswith' new unsure: '): + fn.extend(eval(line[16:])) fp.sort(cmpf) fn.sort(cmpf) + unsures.sort(cmpf) print "--- fp ---" for x in fp: ! if interactive and os.path.exists(x): ! print open(x).read() ! answer = raw_input('(S)pam, (R)emove or (L)eave : ').lower() ! if answer == 's': ! os.rename(x, os.path.join("Data", "Spam", ! "reservoir", x)) ! elif answer == 'r': ! os.remove(x) ! elif answer == 'l': ! pass ! else: ! print "Unknown answer. Left." ! else: ! print x print "--- fn ---" for x in fn: ! if interactive and os.path.exists(x): ! print open(x).read() ! answer = raw_input('(H)am, (R)emove or (L)eave : ').lower() ! if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", ! "reservoir", x)) ! elif answer == 'r': ! os.remove(x) ! elif answer == 'l': ! pass ! else: ! print "Unknown answer. Left." ! else: ! print x ! if do_unsures: ! print "--- unsure ---" ! for x in unsures: ! if interactive and os.path.exists(x): ! print open(x).read() ! print x ! answer = raw_input('(H)am, (S)pam, (R)emove or (L)eave : ').lower() ! # One of these will move from a set to the reservoir, ! # but not change ham/spam, depending on what it was. ! if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", ! "reservoir", x)) ! elif answer == 's': ! os.rename(x, os.path.join("Data", "Sam", ! "reservoir", x)) ! elif answer == 'r': ! os.remove(x) ! elif answer == 'l': ! pass ! else: ! print "Unknown answer. Left." ! else: ! print x if __name__ == '__main__': From anadelonbrin at users.sourceforge.net Tue Apr 26 08:28:51 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Tue Apr 26 08:28:54 2005 Subject: [Spambayes-checkins] spambayes/testtools fpfn.py,1.3,1.4 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2866/testtools Modified Files: fpfn.py Log Message: Typo in last checkin. Index: fpfn.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/fpfn.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** fpfn.py 26 Apr 2005 06:15:27 -0000 1.3 --- fpfn.py 26 Apr 2005 06:28:45 -0000 1.4 *************** *** 84,88 **** elif line.startswith(' new fn: '): fn.extend(eval(line[12:])) ! elif line.startswith' new unsure: '): fn.extend(eval(line[16:])) fp.sort(cmpf) --- 84,88 ---- elif line.startswith(' new fn: '): fn.extend(eval(line[12:])) ! elif line.startswith(' new unsure: '): fn.extend(eval(line[16:])) fp.sort(cmpf) From anadelonbrin at users.sourceforge.net Wed Apr 27 02:30:01 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 27 02:30:04 2005 Subject: [Spambayes-checkins] spambayes/testtools fpfn.py,1.4,1.5 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30621/testtools Modified Files: fpfn.py Log Message: Minor corrections to previous checkin. Index: fpfn.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/fpfn.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** fpfn.py 26 Apr 2005 06:28:45 -0000 1.4 --- fpfn.py 27 Apr 2005 00:29:59 -0000 1.5 *************** *** 95,100 **** answer = raw_input('(S)pam, (R)emove or (L)eave : ').lower() if answer == 's': ! os.rename(x, os.path.join("Data", "Spam", ! "reservoir", x)) elif answer == 'r': os.remove(x) --- 95,100 ---- answer = raw_input('(S)pam, (R)emove or (L)eave : ').lower() if answer == 's': ! os.rename(x, os.path.join("Data", "Spam", "reservoir", ! os.path.basename(x))) elif answer == 'r': os.remove(x) *************** *** 111,116 **** answer = raw_input('(H)am, (R)emove or (L)eave : ').lower() if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", ! "reservoir", x)) elif answer == 'r': os.remove(x) --- 111,116 ---- answer = raw_input('(H)am, (R)emove or (L)eave : ').lower() if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", "reservoir", ! os.path.basename(x))) elif answer == 'r': os.remove(x) *************** *** 131,139 **** # but not change ham/spam, depending on what it was. if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", ! "reservoir", x)) elif answer == 's': ! os.rename(x, os.path.join("Data", "Sam", ! "reservoir", x)) elif answer == 'r': os.remove(x) --- 131,139 ---- # but not change ham/spam, depending on what it was. if answer == 'h': ! os.rename(x, os.path.join("Data", "Ham", "reservoir", ! os.path.basename(x))) elif answer == 's': ! os.rename(x, os.path.join("Data", "Spam", "reservoir", ! os.path.basename(x))) elif answer == 'r': os.remove(x) From anadelonbrin at users.sourceforge.net Wed Apr 27 03:03:08 2005 From: anadelonbrin at users.sourceforge.net (Tony Meyer) Date: Wed Apr 27 03:03:11 2005 Subject: [Spambayes-checkins] spambayes/testtools fpfn.py,1.5,1.6 Message-ID: Update of /cvsroot/spambayes/spambayes/testtools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18277/testtools Modified Files: fpfn.py Log Message: Sigh. Another mistake in the interactivity/unsures patch. Index: fpfn.py =================================================================== RCS file: /cvsroot/spambayes/spambayes/testtools/fpfn.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** fpfn.py 27 Apr 2005 00:29:59 -0000 1.5 --- fpfn.py 27 Apr 2005 01:03:05 -0000 1.6 *************** *** 85,89 **** fn.extend(eval(line[12:])) elif line.startswith(' new unsure: '): ! fn.extend(eval(line[16:])) fp.sort(cmpf) fn.sort(cmpf) --- 85,89 ---- fn.extend(eval(line[12:])) elif line.startswith(' new unsure: '): ! unsures.extend(eval(line[16:])) fp.sort(cmpf) fn.sort(cmpf)