Skip to content

Commit 7f03e19

Browse files
committed
Merge branch '2.8' into 3.4
* 2.8: Fix class documentation [Validator] Add a missing translation Fix phpdocs [EventDispatcher] Remove template method in test case Added LB translation for #27993 (UUID validator message translation) Replace deprecated validateValue with validate
2 parents 9f8dbf0 + f355782 commit 7f03e19

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

Context/ExecutionContextInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function buildViolation($message, array $parameters = array());
9797
* {
9898
* $validator = $this->context->getValidator();
9999
*
100-
* $violations = $validator->validateValue($value, new Length(array('min' => 3)));
100+
* $violations = $validator->validate($value, new Length(array('min' => 3)));
101101
*
102102
* if (count($violations) > 0) {
103103
* // ...

Resources/translations/validators.lb.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@
318318
<source>Error</source>
319319
<target>Feeler</target>
320320
</trans-unit>
321+
<trans-unit id="83">
322+
<source>This is not a valid UUID.</source>
323+
<target>Dëst ass keng gëlteg UUID.</target>
324+
</trans-unit>
321325
</body>
322326
</file>
323327
</xliff>

Resources/translations/validators.pl.xlf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@
318318
<source>Error</source>
319319
<target>Błąd</target>
320320
</trans-unit>
321+
<trans-unit id="83">
322+
<source>This is not a valid UUID.</source>
323+
<target>To nie jest poprawne UUID.</target>
324+
</trans-unit>
321325
</body>
322326
</file>
323327
</xliff>

0 commit comments

Comments
 (0)