[ https://issues.apache.org/jira/browse/MYFACES-4405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Andraschko resolved MYFACES-4405. ---------------------------------------- Resolution: Fixed Thanks for the great first contribution! > Wrong translation on > myfaces/api/src/main/resources/javax/faces/Messages_pt.properties and pt_BR > for DoubleRangeValidator.NOT_IN_RANGE > -------------------------------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-4405 > URL: https://issues.apache.org/jira/browse/MYFACES-4405 > Project: MyFaces Core > Issue Type: Bug > Components: General > Affects Versions: 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 > Environment: Any platform > Reporter: Gabriel Marinello Moura Leite > Priority: Trivial > Fix For: 4.0.0-RC1, 2.3.10, 2.3-next-M7, 3.0.2 > > Original Estimate: 0.5h > Remaining Estimate: 0.5h > > I was working on showing the validation message > "{color:#4c9aff}javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE{color}" > and I saw that on the folder > "{color:#4c9aff}myfaces/api/src/main/resources/javax/faces/{color}", > 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. > -- This message was sent by Atlassian Jira (v8.3.4#803005)