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 @@ -59,6 +59,7 @@ abstract class ConstraintValidatorTestCase extends TestCase
59
59
protected $ propertyPath ;
60
60
protected $ constraint ;
61
61
protected $ defaultTimezone ;
62
+ private $ defaultLocale ;
62
63
private $ expectedViolations ;
63
64
private $ call ;
64
65
@@ -79,17 +80,20 @@ protected function setUp(): void
79
80
$ this ->validator = $ this ->createValidator ();
80
81
$ this ->validator ->initialize ($ this ->context );
81
82
83
+ $ this ->defaultLocale = \Locale::getDefault ();
84
+ \Locale::setDefault ('en ' );
85
+
82
86
$ this ->expectedViolations = [];
83
87
$ this ->call = 0 ;
84
88
85
- \Locale::setDefault ('en ' );
86
-
87
89
$ this ->setDefaultTimezone ('UTC ' );
88
90
}
89
91
90
92
protected function tearDown (): void
91
93
{
92
94
$ this ->restoreDefaultTimezone ();
95
+
96
+ \Locale::setDefault ($ this ->defaultLocale );
93
97
}
94
98
95
99
protected function setDefaultTimezone (?string $ defaultTimezone )
You can’t perform that action at this time.
0 commit comments