[ovirt-devel] [oVirt 3.6 Localization Question #40] "This field must contain an {0} number"

Vojtech Szocs vszocs at redhat.com
Thu Nov 26 16:55:35 UTC 2015



----- Original Message -----
> From: "Yuko Katabami" <ykatabam at redhat.com>
> To: "Einav Cohen" <ecohen at redhat.com>
> Cc: devel at 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 at redhat.com > wrote:
> 
> 
> > ----- Original Message -----
> > From: "Yuko Katabami" < ykatabam at 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

Vojtech

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



More information about the Devel mailing list