Uploaded image for project: 'Hibernate Validator'
  1. HV-946

French translation of @DecimalMin and @DecimalMax messages is incorrect (with inclusive parameter)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.3.Final
    • Fix Version/s: 5.2.0.Beta1
    • Component/s: validators
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      The french template for the @DecimalMin and @DecimalMax constraints is incorrect.
      Eng:

      javax.validation.constraints.DecimalMax.message  = must be less than ${inclusive == true ? 'or equal to ' : ''}{value}
      javax.validation.constraints.DecimalMin.message  = must be greater than ${inclusive == true ? 'or equal to ' : ''}{value}
      

      Fr:

      javax.validation.constraints.DecimalMax.message=doit \u00EAtre plus petit que {value}
      javax.validation.constraints.DecimalMin.message=doit \u00EAtre plus grand que {value}
      

      A good translation would be:

      javax.validation.constraints.DecimalMax.message=doit \u00EAtre inf\u00E9rieur ${inclusive == true ? 'ou \u00E9gal ' : ''}\u00E0 {value}
      javax.validation.constraints.DecimalMin.message=doit \u00EAtre sup\u00E9rieur ${inclusive == true ? 'ou \u00E9gal ' : ''}\u00E0 {value}
      

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: