[ovirt-devel] [oVirt 3.6 Localization Question #39] "prefixMsg, "

Vojtech Szocs vszocs at redhat.com
Thu Nov 26 15:41:25 UTC 2015



----- Original Message -----
> From: "Yuko Katabami" <ykatabam at redhat.com>
> To: devel at ovirt.org
> Sent: Tuesday, November 24, 2015 12:51:11 PM
> Subject: [ovirt-devel] [oVirt 3.6 Localization Question #39] "prefixMsg,"
> 
> Hello all,
> 
> Here is another question:
> 
> File: UIMessages
> Resource IDs:
> numberValidationNumberBetweenInvalidReason
> numberValidationNumberGreaterInvalidReason
> numberValidationNumberLessInvalidReason
> Strings:
> {0} between {1} and {2}.
> {0} greater than or equal to {1}.
> {0} less than or equal to {1}.
> Question: Could you please provide some example of those messages? Comment
> section in each of those strings states "0=prefixMsg" but I would like to
> know what will actually replace {0}, so that I can translate them properly.

Dear Yuko,

to my knowledge, above 3 msg keys [numberValidation*] are meant
to replace existing 3 msg keys [integerValidation*] as part of
UI validation logic refactoring.

Please note that [numberValidation*] msg's are not used yet,
even though they were introduced into UIMessages.java file.

In general, 'prefixMsg' in [numberValidation*] msg's should
follow the same structure as in [integerValidation*] msg's.

Example 'prefixMsg':
  This field must contain an integer number

Related patch: https://gerrit.ovirt.org/#/c/48082/

> 
> Kind regards,
> 
> Yuko
> 
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel



More information about the Devel mailing list