Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-28 Thread Michael Howitz
Am 29.10.2010 um 08:36 schrieb Christian Theune: [...] >>> 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.) > > Make a bug and mark it

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-28 Thread Christian Theune
On 10/29/2010 08:26 AM, Michael Howitz wrote: > 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

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-28 Thread Michael Howitz
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 tr

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-26 Thread Christian Theune
On 10/27/2010 08:44 AM, Michael Howitz wrote: > Am 26.10.2010 um 16:13 schrieb Tres Seaver: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 10/26/2010 09:36 AM, Christian Theune wrote: >>> Hi, >>> >>> I've fiddled a bit with >>> https://bugs.edge.launchpad.net/zope.i18n/+bug/592753 and

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-26 Thread Michael Howitz
Am 26.10.2010 um 16:13 schrieb Tres Seaver: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/26/2010 09:36 AM, Christian Theune wrote: >> Hi, >> >> I've fiddled a bit with >> https://bugs.edge.launchpad.net/zope.i18n/+bug/592753 and ended up with >> an unclear situation: >> >> The `

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-26 Thread Charlie Clark
Am 26.10.2010, 16:13 Uhr, schrieb Tres Seaver : > I prefer the latter, and don't think we need a deprecation cycle for it: > if the call site is passing in a mapping, that is presumably more > specific than anything stored in the catalog. I can't see how we would > break anything here, as nobody

Re: [Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/26/2010 09:36 AM, Christian Theune wrote: > Hi, > > I've fiddled a bit with > https://bugs.edge.launchpad.net/zope.i18n/+bug/592753 and ended up with > an unclear situation: > > The ``translate'' methods of both zope.i18n and ITranslationDoma

[Zope-dev] zope.18n:translate() keyword arguments versus MessageID attributes

2010-10-26 Thread Christian Theune
Hi, I've fiddled a bit with https://bugs.edge.launchpad.net/zope.i18n/+bug/592753 and ended up with an unclear situation: The ``translate'' methods of both zope.i18n and ITranslationDomain have optional parameters for the domain/default/mapping attributes of a message ID. The message ID attr