File tree 3 files changed +20
-3
lines changed
3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 21
21
abstract class ConstraintValidator implements ConstraintValidatorInterface
22
22
{
23
23
/**
24
- * Whether to format {@link \DateTime} objects as RFC-3339 dates
25
- * ("Y-m-d H:i:s").
24
+ * Whether to format {@link \DateTime} objects, either with the {@link \IntlDateFormatter}
25
+ * (if it is available) or as RFC-3339 dates ( "Y-m-d H:i:s").
26
26
*/
27
27
const PRETTY_DATE = 1 ;
28
28
@@ -69,7 +69,8 @@ protected function formatTypeOf($value)
69
69
* in double quotes ("). Objects, arrays and resources are formatted as
70
70
* "object", "array" and "resource". If the $format bitmask contains
71
71
* the PRETTY_DATE bit, then {@link \DateTime} objects will be formatted
72
- * as RFC-3339 dates ("Y-m-d H:i:s").
72
+ * with the {@link \IntlDateFormatter}. If it is not available, they will be
73
+ * formatted as RFC-3339 dates ("Y-m-d H:i:s").
73
74
*
74
75
* Be careful when passing message parameters to a constraint violation
75
76
* that (may) contain objects, arrays or resources. These parameters
Original file line number Diff line number Diff line change 370
370
<source >This value is not a valid hostname.</source >
371
371
<target >Dieser Wert ist kein gültiger Hostname.</target >
372
372
</trans-unit >
373
+ <trans-unit id =" 96" >
374
+ <source >The number of elements in this collection should be a multiple of {{ compared_value }}.</source >
375
+ <target >Die Anzahl an Elementen in dieser Sammlung sollte ein Vielfaches von {{ compared_value }} sein.</target >
376
+ </trans-unit >
373
377
</body >
374
378
</file >
375
379
</xliff >
Original file line number Diff line number Diff line change 362
362
<source >This password has been leaked in a data breach, it must not be used. Please use another password.</source >
363
363
<target >Mật khẩu này đã bị rò rỉ dữ liệu, không được sử dụng nữa. Xin vui lòng sử dụng mật khẩu khác.</target >
364
364
</trans-unit >
365
+ <trans-unit id =" 94" >
366
+ <source >This value should be between {{ min }} and {{ max }}.</source >
367
+ <target >Giá trị này nên thuộc giữa {{ min }} và {{ max }}.</target >
368
+ </trans-unit >
369
+ <trans-unit id =" 95" >
370
+ <source >This value is not a valid hostname.</source >
371
+ <target >Giá trị này không phải là tên máy chủ hợp lệ.</target >
372
+ </trans-unit >
373
+ <trans-unit id =" 96" >
374
+ <source >The number of elements in this collection should be a multiple of {{ compared_value }}.</source >
375
+ <target >Số lượng các phần tử trong bộ sưu tập này nên là bội số của {{compared_value}}.</target >
376
+ </trans-unit >
365
377
</body >
366
378
</file >
367
379
</xliff >
You can’t perform that action at this time.
0 commit comments