Re: [Silva-general] Silva 1.6.b3 first public beta Released

"kit BLAKE" <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Message-ID <[email protected]>
Marc,
> silva image
> -----------
> per default silva shows nicely customized one-liner error messages.
> since the title is required in silva image we get some default
> formulator error message when the title field is empty:
>
>    Sorry, there are problems with these form fields:
>      * title: Input is required but no input given.
>
> it would be nice if you could customize this as well.

I stumbled across the Python script that renders these error messages,
and realized that much of the time there's just one field that's
erroring. So I changed it to show the standard one-liner if there's
only one field with an error. It's subtle, but better.

(Once somebody reviews my Python) I'll check this in to the trunk and
the 1.5 branch.

Kit

-- 
Kit BLAKE · Infrae · http://infrae.com/ + 31 10 243 7051
Hoevestraat 10 · 3033 GC · Rotterdam + The Netherlands
Contact = http://xri.net/=kitblake
_______________________________________________
silva-dev mailing list
[email protected]
https://infrae.com/mailman/listinfo/silva-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.