ok, good. Commited the French message without doubling the '.
On Tue, Oct 14, 2008 at 11:59 AM, Gerhard Petracek <
[EMAIL PROTECTED]> wrote:
> hello simon,
>
> so far MessageFormat isn't used, because there are just simple messages
> (one argument at most).
> currently there is a straightforward interface [1] for message resolving.
>
> we could change it to:
>
> public interface MessageResolver
> {
> String getMessage(String key, Locale locale);
> String getMessage(String key, Locale locale, Object args[]);
> }
>
> regards,
> gerhard
>
> [1]
> http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/MessageResolver.java?revision=694858&view=markup
>
>
>
> 2008/10/14 Simon Lessard <[EMAIL PROTECTED]>
>
> Hi all,
>>
>> Are we using MessageFormat to add the dynamic variables to the messages or
>> another class? If the former, then all languages needs to escape ' with '' .
>>
>>
>> Regards,
>>
>> ~ Simon
>>
>>
>> On Mon, Oct 13, 2008 at 3:29 PM, Simon Lessard <[EMAIL PROTECTED]
>> > wrote:
>>
>>> That's true, I somehow mistook champ for an invariant like cours. Anyway,
>>> I'll commit them tomorrow.
>>>
>>>
>>> Regards,
>>>
>>> ~ Simon
>>>
>>>
>>> On Mon, Oct 13, 2008 at 4:30 AM, Marc Schneider <
>>> [EMAIL PROTECTED]> wrote:
>>>
>>>> Hi Gilles,
>>>>
>>>> I see an issue, which is a typo one.
>>>> When there is only ONE field, there is no 's' at the end.
>>>>
>>>> For example :
>>>> Ce champ (and NOT : Ce champs).
>>>>
>>>> All files are concerned.
>>>>
>>>> Marc.
>>>>
>>>> Gilles Demarty a écrit :
>>>> > Le fichier corrigé est en attachement
>>>> >
>>>> >
>>>> >
>>>> > On Fri, Oct 10, 2008 at 8:16 PM, Simon Lessard
>>>> > <[EMAIL PROTECTED]> wrote:
>>>> >> Hi Gilles,
>>>> >>
>>>> >> HTML entity for 'é' is eacute, not ecute, so
>>>> >>
>>>> >> // crossval-message-bundle-validation_messages.properties
>>>> >> duplicated_content_required=les champs sont différents
>>>> >> duplicated_content_required_details=les champs sont différents
>>>> >>
>>>> >> duplicated_content_denied=les champs doivent être
>>>> différents
>>>> >> duplicated_content_denied_details=les champs doivent être
>>>> >> différents
>>>> >>
>>>> >> wrong_date_not_before=La date doit être après {0}
>>>> >> wrong_date_not_before_details=La date doit être après
>>>> {0}
>>>> >>
>>>> >> wrong_date_not_equal=La date n'est pas égale à {0}
>>>> >> wrong_date_not_equal_details=La date n'est pas égale à
>>>> {0}
>>>> >>
>>>> >> // baseval-message-bundle-validation_messages.properties
>>>> >> Nothing
>>>> >>
>>>> >> // baseval-message-bundle-jpa_messages_fr.properties
>>>> >> One message contains a è
>>>> >> field_too_long_details=Le contenu de ce champs est trop long ({0}
>>>> >> caractères au maximum)
>>>> >>
>>>> >>
>>>> >> I don't see any other issues.
>>>> >>
>>>> >>
>>>> >> Regards,
>>>> >>
>>>> >> ~ Simon
>>>> >>
>>>> >> On Fri, Oct 10, 2008 at 2:01 PM, Gilles Demarty <
>>>> [EMAIL PROTECTED]>
>>>> >> wrote:
>>>> >>> Here are the french versions. Simon, can you do a double-check ?
>>>> >>>
>>>> >>>
>>>> >>> On Fri, Oct 10, 2008 at 1:54 PM, Hazem Saleh <[EMAIL PROTECTED]>
>>>> wrote:
>>>> >>>> I did the Arabic translation, and Turkish translation done thanks
>>>> to
>>>> >>>> Mert.
>>>> >>>>
>>>> >>>> On Fri, Oct 10, 2008 at 12:51 PM, Glauco P. Gomes
>>>> >>>> <[EMAIL PROTECTED]> wrote:
>>>> >>>>> Gerhard Petracek escreveu:
>>>> >>>>>> what's your suggestion for the replacement of "wrong"?
>>>> >>>>>> (the annotation is responsible to compare if one date value is
>>>> >>>>>> before/after a second one)
>>>> >>>>> +1 to "invalid"
>>>> >>>>>
>>>> >>>>> Glauco P. Gomes
>>>> >>>>
>>>> >>>>
>>>> >>>> --
>>>> >>>> Hazem Ahmed Saleh Ahmed
>>>> >>>>
>>>> >>>> Author of (The Definitive Guide to Apache MyFaces and Facelets):
>>>> >>>>
>>>> >>>>
>>>> http://www.amazon.com/Definitive-Guide-Apache-MyFaces-Facelets/dp/1590597370
>>>> >>>>
>>>> >>>> Web blog: http://www.jroller.com/page/HazemBlog
>>>> >>>>
>>>> >>>> [Web 2.0] Google Maps Integration with JSF:
>>>> >>>> http://code.google.com/p/gmaps4jsf/
>>>> >>>>
>>>> >>
>>>>
>>>>
>>>
>>
>
>
> --
>
> http://www.irian.at
>
> Your JSF powerhouse -
> JSF Consulting, Development and
> Courses in English and German
>
> Professional Support for Apache MyFaces
>