Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.2.0, 2.0.24, 2.1.18, 2.2.14, 4.0.0-RC1, 3.0.1, 2.3.9, 2.3-next-M6
-
None
-
Any platform
Description
I was working on showing the validation message "javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE" and I saw that on the folder "myfaces/api/src/main/resources/javax/faces/",
the english version of the message had the right message and the portuguese (pt and pt_BR) didn't have the same message nor does it have the same number of Varargs , and this message is replicated on every branch (also happens on the renamed "jakarta" folder on branches after 3.0.X):
English: {2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.
Portuguese: {2}: Erro de valida\u00e7\u00e3o: O atributo especificado n\u00e3o pode ser convertido para o tipo apropriado.
The message "javax.faces.validator.NOT_IN_RANGE" has the right validation message that should also be on the DoubleRangeValidator.NOT_IN_RANGE.