Skip to content

Commit

Permalink
Fix primefaces#8385: Core: Fix validator message keys (primefaces#8386)
Browse files Browse the repository at this point in the history
* Fix primefaces#8385: Core: Fix validator message keys

* docs: fix validator message keys
  • Loading branch information
maruTA-bis5 authored Feb 3, 2022
1 parent 1a0b83b commit 0e18537
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions docs/10_0_0/core/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,11 +147,11 @@ Side Validation, messages property is used as the bundle for the locale.
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' could not be understood as a date.',
Expand Down
4 changes: 2 additions & 2 deletions docs/11_0_0/core/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ Side Validation, messages property is used as the bundle for the locale.
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' could not be understood as a date.',
Expand Down
4 changes: 2 additions & 2 deletions docs/12_0_0/core/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ Side Validation, messages property is used as the bundle for the locale.
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' could not be understood as a date.',
Expand Down
4 changes: 2 additions & 2 deletions docs/7_0/core/misc.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ Side Validation, messages property is used as the bundle for the locale.
'javax.faces.validator.LongRangeValidator.MAXIMUM' : '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'',
'javax.faces.validator.LongRangeValidator.MINIMUM' : '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE' : '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}' : 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0} : Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM' : '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.MINIMUM' : '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE' : '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}' : 'Validation Error: Value is not of the correct type',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0} : Validation Error: Value is not of the correct type',
'javax.faces.converter.FloatConverter.FLOAT' : '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail' : '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}',
'javax.faces.converter.DateTimeConverter.DATE' : '{2}: \'{0}\' could not be understood as a date.',
Expand Down
4 changes: 2 additions & 2 deletions docs/8_0/core/localization.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ Side Validation, messages property is used as the bundle for the locale.
'javax.faces.validator.LongRangeValidator.MAXIMUM' : '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'',
'javax.faces.validator.LongRangeValidator.MINIMUM' : '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE' : '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}' : 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0} : Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM' : '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.MINIMUM' : '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE' : '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}' : 'Validation Error: Value is not of the correct type',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0} : Validation Error: Value is not of the correct type',
'javax.faces.converter.FloatConverter.FLOAT' : '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail' : '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}',
'javax.faces.converter.DateTimeConverter.DATE' : '{2}: \'{0}\' could not be understood as a date.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Validation Error: Value is greater than allowable maximum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Validation Error: Value is less than allowable minimum of \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Validation Error: Specified attribute is not between the expected values of {0} and {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Validation Error: Value is not of the correct type.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Validation Error: Value is not of the correct type.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' must be a number consisting of one or more digits.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' must be a number between 1.4E-45 and 3.4028235E38 Example: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' could not be understood as a date.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ PrimeFaces.locales['es'] = {
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Error de validación: el valor es mayor que el máximo permitido de \'{0}\'',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Error de validación: el valor es inferior que el mínimo permitido de \'{0}\'',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Error de validación: el atributo especificado no está entre los valores esperados {0} y {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Error de validación: el valor no tiene el tipo correcto.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Error de validación: el valor no tiene el tipo correcto.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Error de validación: el valor es mayor que el máximo permitido de \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Error de validación: el valor es inferior que el mínimo permitido de \'{0}\'',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Error de validación: el atributo especificado no está entre los valores esperados {0} y {1}',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Error de validación: el valor no tiene el tipo correcto.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Error de validación: el valor no tiene el tipo correcto.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' debe ser un número formado por uno o varios dígitos.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' debe ser un número entre 1.4E-45 y 3.4028235E38 Ejemplo: {1}',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' no se ha podido reconocer como fecha.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ PrimeFaces.locales['fa'] = {
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: خطای اعتبارسنجی: مقدار بیشتر از حداکثر مجاز \'{0}\' است.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: خطای اعتبارسنجی: مقدار کمتر از حداقل مجاز \'{0}\' است.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: خطای اعتبارسنجی: صفت مشخص شده بین مقادیر مورد انتظار {0} و {1} نیست.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'خطای اعتبارسنجی: مقدار از نوع درست نیست.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: خطای اعتبارسنجی: مقدار از نوع درست نیست.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: خطای اعتبارسنجی: مقدار بیشتر از حداکثر مجاز \'{0}\' است.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: خطای اعتبارسنجی: مقدار کمتر از حداقل مجاز \'{0}\' است.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: خطای اعتبارسنجی: صفت مشخص شده بین مقادیر مورد انتظار {0} و {1} نیست.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'خطای اعتبارسنجی: مقدار از نوع درست نیست.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: خطای اعتبارسنجی: مقدار از نوع درست نیست.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' باید عددی متشکل از یک یا چند رقم باشد.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' باید عددی بین 1.4E-45 و 3.4028235E38 باشد. مثال: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' نمی تواند به عنوان یک تاریخ تعبیر شود.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Kesalahan Validasi: Nilai lebih besar daripada nilai maksimum yang diperbolehkan, yaitu \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Kesalahan Validasi: Nilai lebih kecil daripada nilai minimum yang diperbolehkan, yaitu \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Kesalahan Validasi: Atribut yang ditetapkan tidak berada di antara nilai yang diharapkan, yaitu {0} dan {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Kesalahan Validasi: Nilai memiliki jenis yang tidak tepat.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Kesalahan Validasi: Nilai memiliki jenis yang tidak tepat.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Kesalahan Validasi: Nilai lebih besar daripada nilai maksimum yang diperbolehkan, yaitu \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Kesalahan Validasi: Nilai lebih kecil daripada nilai minimum yang diperbolehkan, yaitu \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Kesalahan Validasi: Atribut yang ditetapkan tidak berada di antara nilai yang diharapkan, yaitu {0} dan {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Kesalahan Validasi: Nilai memiliki jenis yang tidak tepat.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Kesalahan Validasi: Nilai memiliki jenis yang tidak tepat.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' harus berupa bilangan yang terdiri dari satu angka atau lebih.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' harus berupa bilangan di antara 1.4E-45 dan 3.4028235E38 Contoh: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: \'{0}\' tidak bisa diterjemahkan sebagai tanggal.',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ PrimeFaces.locales ['it'] = {
'javax.faces.validator.LongRangeValidator.MAXIMUM': '{1}: Errore di validazione: Il valore è maggiore del massimo valore consentito di \'{0}\'.',
'javax.faces.validator.LongRangeValidator.MINIMUM': '{1}: Errore di validazione: Il valore è minore del minimo valore consentito di \'{0}\'.',
'javax.faces.validator.LongRangeValidator.NOT_IN_RANGE': '{2}: Errore di validazione: Il valore specificato non è compreso nell\'intervallo previsto tra {0} e {1}.',
'javax.faces.validator.LongRangeValidator.TYPE={0}': 'Errore di validazione: Il valore non è del tipo corretto.',
'javax.faces.validator.LongRangeValidator.TYPE': '{0}: Errore di validazione: Il valore non è del tipo corretto.',
'javax.faces.validator.DoubleRangeValidator.MAXIMUM': '{1}: Errore di validazione: Il valore è maggiore del massimo consentito di \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.MINIMUM': '{1}: Errore di validazione: Il valore è minore del minimo consentito di \'{0}\'.',
'javax.faces.validator.DoubleRangeValidator.NOT_IN_RANGE': '{2}: Errore di validazione: Il valore specificato non è compreso nell\'intervallo previsto tra {0} e {1}.',
'javax.faces.validator.DoubleRangeValidator.TYPE={0}': 'Errore di validazione: Il valore non è del tipo corretto.',
'javax.faces.validator.DoubleRangeValidator.TYPE': '{0}: Errore di validazione: Il valore non è del tipo corretto.',
'javax.faces.converter.FloatConverter.FLOAT': '{2}: \'{0}\' dev\'essere un numero costituito da una o più cifre.',
'javax.faces.converter.FloatConverter.FLOAT_detail': '{2}: \'{0}\' dev\'essere un numero compreso tra 1.4E-45 e 3.4028235E38. Esempio: {1}.',
'javax.faces.converter.DateTimeConverter.DATE': '{2}: non è stato possibile interpretare \'{0}\' come una data.',
Expand Down
Loading

0 comments on commit 0e18537

Please sign in to comment.