File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
Validator/Resources/translations Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function find(bool $includeArgs = true): string|false
33
33
{
34
34
if ($ php = getenv ('PHP_BINARY ' )) {
35
35
if (!is_executable ($ php )) {
36
- $ command = '\\' === \DIRECTORY_SEPARATOR ? 'where ' : 'command -v ' ;
36
+ $ command = '\\' === \DIRECTORY_SEPARATOR ? 'where ' : 'command -v -- ' ;
37
37
if ($ php = strtok (exec ($ command .' ' .escapeshellarg ($ php )), \PHP_EOL )) {
38
38
if (!is_executable ($ php )) {
39
39
return false ;
Original file line number Diff line number Diff line change 432
432
</trans-unit >
433
433
<trans-unit id =" 111" >
434
434
<source >The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</source >
435
- <target state = " needs-review-translation " >Nustatyta simbolių koduotė yra netinkama ({{ detected }}). Leidžiamos koduotės yra {{ encodings }}.</target >
435
+ <target >Aptikta simbolių koduotė neteisinga ({{ detected }}). Leidžiamos koduotės {{ encodings }}.</target >
436
436
</trans-unit >
437
437
<trans-unit id =" 112" >
438
438
<source >This value is not a valid MAC address.</source >
439
- <target state = " needs-review-translation " >Ši vertė nėra galiojantis MAC adresas.</target >
439
+ <target >Ši reikšmė nėra teisingas MAC adresas.</target >
440
440
</trans-unit >
441
441
</body >
442
442
</file >
Original file line number Diff line number Diff line change 432
432
</trans-unit >
433
433
<trans-unit id =" 111" >
434
434
<source >The detected character encoding is invalid ({{ detected }}). Allowed encodings are {{ encodings }}.</source >
435
- <target state = " needs-review-translation " >De gedetecteerde karaktercodering is ongeldig ({{ detected }}). Toegestane coderingen zijn {{ encodings }}.</target >
435
+ <target >De gedetecteerde tekencodering is ongeldig ({{ detected }}). Toegestane coderingen zijn {{ encodings }}.</target >
436
436
</trans-unit >
437
437
<trans-unit id =" 112" >
438
438
<source >This value is not a valid MAC address.</source >
Original file line number Diff line number Diff line change @@ -576,6 +576,10 @@ protected function supportsColors(): bool
576
576
*/
577
577
protected function dumpLine (int $ depth , bool $ endOfValue = false )
578
578
{
579
+ if (null === $ this ->colors ) {
580
+ $ this ->colors = $ this ->supportsColors ();
581
+ }
582
+
579
583
if ($ this ->colors ) {
580
584
$ this ->line = sprintf ("\033[%sm%s \033[m " , $ this ->styles ['default ' ], $ this ->line );
581
585
}
You can’t perform that action at this time.
0 commit comments