Skip to content

Commit db976fa

Browse files
Fix invalidMessage in Range constraint
1 parent e44a3f5 commit db976fa

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+56
-56
lines changed

src/Symfony/Component/Validator/Constraints/Range.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Range extends Constraint
3434

3535
public $minMessage = 'This value should be {{ limit }} or more.';
3636
public $maxMessage = 'This value should be {{ limit }} or less.';
37-
public $invalidMessage = 'This value should be a valid number.';
37+
public $invalidMessage = 'This value should be a valid number or a valid datetime.';
3838
public $min;
3939
public $max;
4040

src/Symfony/Component/Validator/Resources/translations/validators.af.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Die lêer kan nie opgelaai word nie.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Hierdie waarde moet 'n geldige nommer wees.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.ar.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>لم استطع استقبال الملف.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>هذه القيمة يجب ان تكون رقم.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.az.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Fayl yüklənəbilmir.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Bu dəyər rəqəm olmalıdır.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.be.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Немагчыма запампаваць файл.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Значэнне павінна быць лікам.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.bg.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Файлът не може да бъде качен.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Стойността трябва да бъде валиден номер.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.ca.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>No es pot pujar l'arxiu.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Aquest valor hauria de ser un nombre vàlid.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.cs.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Soubor se nepodařilo nahrát.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Tato hodnota musí být číslo.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.cy.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Methwyd ag uwchlwytho'r ffeil.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Dylai'r gwerth hwn fod yn rif dilys.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

src/Symfony/Component/Validator/Resources/translations/validators.da.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<target>Filen kunne ikke blive uploadet.</target>
128128
</trans-unit>
129129
<trans-unit id="35">
130-
<source>This value should be a valid number.</source>
130+
<source>This value should be a valid number or a valid datetime.</source>
131131
<target>Værdien skal være et gyldigt tal.</target>
132132
</trans-unit>
133133
<trans-unit id="36">

0 commit comments

Comments
 (0)