From Lamont_Granada at epix.net Sat Sep 4 16:55:12 2004 From: Lamont_Granada at epix.net (Ashli Kaczor) Date: Sun Aug 10 17:05:20 2008 Subject: [ZPT-CVS] Fwd: high quality Message-ID: <20040904200220.93F612030EF@mail.zope.org> An HTML attachment was scrubbed... URL: http://mail.zope.org/pipermail/zpt-cvs/attachments/20040904/4568f1c5/attachment.html From andreas at andreas-jung.com Thu Sep 23 01:41:39 2004 From: andreas at andreas-jung.com (Andreas Jung) Date: Sun Aug 10 17:05:20 2008 Subject: [ZPT-CVS] CVS: Packages/TAL - talgettext.py:1.1.2.2 Message-ID: <20040923054139.B146F203121@mail.zope.org> Update of /cvs-repository/Packages/TAL In directory cvs.zope.org:/tmp/cvs-serv29868/lib/python/TAL Modified Files: Tag: Zope-2_7-branch talgettext.py Log Message: - Collector #1491: talgettext.py did not create a proper header for the generated .pot file if multiple pagetemplate files were processed. === Packages/TAL/talgettext.py 1.1.2.1 => 1.1.2.2 === --- Packages/TAL/talgettext.py:1.1.2.1 Wed Aug 20 17:01:05 2003 +++ Packages/TAL/talgettext.py Thu Sep 23 01:41:39 2004 @@ -123,9 +123,14 @@ self.catalog[domain] = {} domain = self.catalog[domain] - if msgid not in domain: - domain[msgid] = [] - domain[msgid].append((self.file, position)) + # --------------------------------------------- + # only non-empty msgids are added to dictionary + # (changed by heinrichbernd - 2004/09/07) + # --------------------------------------------- + if msgid: + if msgid not in domain: + domain[msgid] = [] + domain[msgid].append((self.file, position)) return 'x' @@ -283,7 +288,6 @@ outfile = sys.stdout else: outfile = file(outfile, update_mode and "a" or "w") - catalog = {} for domain in engine.catalog.keys(): catalog.update(engine.catalog[domain]) From Lizsandra_Garica at landsend.com Tue Sep 28 15:52:18 2004 From: Lizsandra_Garica at landsend.com (Zack Nietupski) Date: Sun Aug 10 17:05:20 2008 Subject: [ZPT-CVS] Fwd: interesting Message-ID: <20040928190457.9B84320309E@mail.zope.org> An HTML attachment was scrubbed... URL: http://mail.zope.org/pipermail/zpt-cvs/attachments/20040928/18e72749/attachment.html