You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Adrian Gonzalez <ad...@yahoo.fr> on 2007/08/08 17:16:01 UTC

Date conversion messages (fr locale)

Hello,

I'm using faces 1.1.4 and found a little mistake on
conversion messages for french locale.
Just checked svn HEAD
(http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/resources/javax/faces/Messages_fr.properties?view=markup)
and problem persists.

When I've a conversion message for :
<s:convertDateTime pattern="dd/MM/yyyy" /> (Seam
component), 
I've the following message : 
"dateEffet": Conversion de {0} en Date/Heure
impossible
So, {0} is not replaced, I've added quotes (' to '')
to the message and it works better.

Original :
javax.faces.convert.DateTimeConverter.CONVERSION_detail
= "{1}": Conversion de '{0}' en Date/Heure impossible.

Modification :
javax.faces.convert.DateTimeConverter.CONVERSION_detail
= "{1}": Conversion de ''{0}'' en Date/Heure
impossible.

So every '{0}' should be replaced by ''{0}'' I think.

Be careful, this message is not the only one with this
problem.

Thanks for your help.

P.S. I've just added those messages in my app
messages.properties for the moment.



      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail