File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 192
192
</trans-unit >
193
193
<trans-unit id =" 51" >
194
194
<source >No temporary folder was configured in php.ini.</source >
195
- <target >Aucun répertoire temporaire n'a été configuré dans le php.ini.</target >
195
+ <target >Aucun répertoire temporaire n'a été configuré dans le php.ini, ou le répertoire configuré n'existe pas .</target >
196
196
</trans-unit >
197
197
<trans-unit id =" 52" >
198
198
<source >Cannot write temporary file to disk.</source >
Original file line number Diff line number Diff line change 192
192
</trans-unit >
193
193
<trans-unit id =" 51" >
194
194
<source >No temporary folder was configured in php.ini.</source >
195
- <target >Ningunha carpeta temporal foi configurada en php.ini.</target >
195
+ <target >Ningunha carpeta temporal foi configurada en php.ini, ou a carpeta non existe .</target >
196
196
</trans-unit >
197
197
<trans-unit id =" 52" >
198
198
<source >Cannot write temporary file to disk.</source >
364
364
</trans-unit >
365
365
<trans-unit id =" 94" >
366
366
<source >This value should be between {{ min }} and {{ max }}.</source >
367
- <target >Este valor debe estar comprendido entre {{min}} e {{max}}.</target >
367
+ <target >Este valor debe estar comprendido entre {{ min }} e {{ max }}.</target >
368
368
</trans-unit >
369
369
<trans-unit id =" 95" >
370
370
<source >This value is not a valid hostname.</source >
394
394
<source >This value is not a valid CSS color.</source >
395
395
<target >Este valor non é unha cor CSS válida.</target >
396
396
</trans-unit >
397
+ <trans-unit id =" 102" >
398
+ <source >This value is not a valid CIDR notation.</source >
399
+ <target >Este valor non ten unha notación CIDR válida.</target >
400
+ </trans-unit >
401
+ <trans-unit id =" 103" >
402
+ <source >The value of the netmask should be between {{ min }} and {{ max }}.</source >
403
+ <target >O valor da máscara de rede debería estar entre {{ min }} e {{ max }}.</target >
404
+ </trans-unit >
397
405
</body >
398
406
</file >
399
407
</xliff >
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ abstract class ConstraintValidatorTestCase extends TestCase
58
58
protected $ propertyPath ;
59
59
protected $ constraint ;
60
60
protected $ defaultTimezone ;
61
+ private $ defaultLocale ;
61
62
private $ expectedViolations ;
62
63
private $ call ;
63
64
@@ -78,17 +79,20 @@ protected function setUp(): void
78
79
$ this ->validator = $ this ->createValidator ();
79
80
$ this ->validator ->initialize ($ this ->context );
80
81
82
+ $ this ->defaultLocale = \Locale::getDefault ();
83
+ \Locale::setDefault ('en ' );
84
+
81
85
$ this ->expectedViolations = [];
82
86
$ this ->call = 0 ;
83
87
84
- \Locale::setDefault ('en ' );
85
-
86
88
$ this ->setDefaultTimezone ('UTC ' );
87
89
}
88
90
89
91
protected function tearDown (): void
90
92
{
91
93
$ this ->restoreDefaultTimezone ();
94
+
95
+ \Locale::setDefault ($ this ->defaultLocale );
92
96
}
93
97
94
98
protected function setDefaultTimezone (?string $ defaultTimezone )
You can’t perform that action at this time.
0 commit comments