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

2015-11-24 Thread Yuko Katabami
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}?

Kind regards,

Yuko
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel

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

2015-11-24 Thread Einav Cohen
> - Original Message -
> From: "Yuko Katabami" 
> 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}?

@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


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

2015-11-25 Thread Yuko Katabami
Hello Eliraz,

This question also requires your help.
Thanks in advance,

Yuko

On Tue, Nov 24, 2015 at 11:40 PM, Einav Cohen  wrote:

> > - Original Message -
> > From: "Yuko Katabami" 
> > 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}?
>
> @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

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

2015-11-26 Thread Vojtech Szocs


- Original Message -
> From: "Yuko Katabami" 
> To: "Einav Cohen" 
> 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 < eco...@redhat.com > wrote:
> 
> 
> > - Original Message -
> > From: "Yuko Katabami" < ykata...@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@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
> 
> 
> 
> 
> 
> ___
> 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


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

2015-11-27 Thread Yuko Katabami
On Fri, Nov 27, 2015 at 2:55 AM, Vojtech Szocs  wrote:

>
>
> - Original Message -
> > From: "Yuko Katabami" 
> > To: "Einav Cohen" 
> > 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 < eco...@redhat.com >
> wrote:
> >
> >
> > > - Original Message -
> > > From: "Yuko Katabami" < ykata...@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
>
___
Devel mailing list
Devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel