Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4405

Wrong translation on myfaces/api/src/main/resources/javax/faces/Messages_pt.properties and pt_BR for DoubleRangeValidator.NOT_IN_RANGE

    XMLWordPrintableJSON

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
    • 4.0.0-RC1, 2.3.10, 2.3-next-M7, 3.0.2
    • General
    • 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.
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            marinell0 Gabriel Marinello Moura Leite
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified