On Fri, Nov 27, 2015 at 2:55 AM, Vojtech Szocs <vszocs@redhat.com> wrote:


----- Original Message -----
> From: "Yuko Katabami" <ykatabam@redhat.com>
> To: "Einav Cohen" <ecohen@redhat.com>
> Cc: devel@ovirt.org
> Sent: Thursday, November 26, 2015 1:04:30 AM
> Subject: Re: [ovirt-devel] [oVirt 3.6 Localization Question #40] "This field must contain an {0} number"
>
> Hello Eliraz,
>
> This question also requires your help.
> Thanks in advance,
>
> Yuko
>
> On Tue, Nov 24, 2015 at 11:40 PM, Einav Cohen < ecohen@redhat.com > wrote:
>
>
> > ----- Original Message -----
> > From: "Yuko Katabami" < ykatabam@redhat.com >
> > Sent: Tuesday, November 24, 2015 7:04:03 AM
> >
> > Hello once again,
> >
> > I would like to ask you another question.
> >
> > File: UIMessages
> > Resource ID: thisFieldMustContainTypeNumberInvalidReason
> > String: This field must contain an {0} number
> > Question: I can see from the source comment 0=type but could you please
> > give
> > me an example of what will replace {0}?

Dear Yuko,

[thisFieldMustContainTypeNumberInvalidReason] is not effectively used (yet)
but present in UIMessages.java as part of UI validation logic refactoring.

Its original intention is to model messages like this one:
  This field must contain an integer number

​Hi Vojtech,

Thank you very much for providing us an example.
Like other examples, it would be better to have a full sentence so that we will know what will come after "an".
Also the article "an" is only used for English words starting with a vowel sound, as you know. If it is not "integer" it may not work. (and "an" alone cannot be translated)

For now, I suggested other translators to translate it as "This field must contain a single {0} number"

Thanks again for your help.

Kind regards,

Yuko


Vojtech

>
> @Eliraz?
> [I actually don't see NumberRangeValidation being used anywhere in the
> code..]
>
> >
> > Kind regards,
> >
> > Yuko
> >
> > _______________________________________________
> > Devel mailing list
> > Devel@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
>
>
>
>
>
> _______________________________________________
> Devel mailing list
> Devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel