Am 27.10.2010 um 08:52 schrieb Christian Theune:
On 10/27/2010 08:44 AM, Michael Howitz wrote: [...]
+1 But the `mapping` attribute should update the existing mapping of the message ID as this would allow to have a partial mapping stored on the message ID and add the other part when translating.
Does this use case really appear that often?
I think of it as low hanging fruit.
I see that there isn't much danger to doing that as the mappings shouldn't be too large anyway and the code that processes them doesn't allow for control structures based on their values so having superfluous values wouldn't hurt and this behaviour would keep old code working.
OTOH can you make a feature request for this so I can deal with it separately?
https://bugs.launchpad.net/zope.i18n/+bug/668189 (Did not find out how to make a feature request, so filed it as bug.) Yours sincerely, -- Michael Howitz · mh@gocept.com · software developer gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1 Zope and Plone consulting and development