[Zope-CMF] Problems translating CMFDefault

Tres Seaver tseaver@zope.com
19 Dec 2002 00:34:20 -0500


On Wed, 2002-12-18 at 18:18, Dieter Maurer wrote:
> Gitte Wange writes:
>  > Hello out there,
>  > 
>  > Well I finally started translating the zpt skins from CMFDefault :-))
>  > I want to give you all nice translations for christmas ... but I need some 
>  > guiding here ...
>  > 
>  > The value of the submit buttons on the edit forms (document_edit_form, 
>  > link_edit_form etc. etc.) will be translated.
>  > But this causes a problem for the edit method, since this uses the text on the 
>  > button to determine what action to return to (view or edit).
>  > 
>  > Anybody here would mind if I make a small adjustment to the edit scripts?
>  > I will give the submit buttons a name and see if REQUEST contains this name 
>  > instead of the behaviour that exists now ... 
> Good idea!

+1.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com