From: Florian S. <flo...@gm...> - 2007-12-13 23:30:07
|
On Thu, 13 Dec 2007 19:08:58 +0100, David Glick <dav...@on...> wrote: > The schemata name translation currently happens in edit_macros.pt in > Archetypes, as part of the plone domain. > > Actually, I've been meaning to ask about this, because the message ids > for the schemata get set differently depending on whether the context > implements IMultiPageSchema or not. If it doe not, then the schemata > name as set in the content type's schema is used. If it does, then > getTranslatedSchemaLabel() in browser/edit.py is called, which uses > u"label_schema_%s" % schema. Not sure which is preferred, but this > seems like a bug. > > David The latter is definitely the prefered one, because it's much less likely that label_schema_[something] conflicts with anything else. I guess this must have been an oversight on my part when I made the changes in this area to support fieldsets on one page for Plones edit tabs. Regards, Florian Schulze |