Skip to content

Commit 8c3f4c1

Browse files
committed
Merge branch '4.4' into 5.4
* 4.4: Update Application.php Update validators.af.xlf
2 parents f4d2370 + b3a0efc commit 8c3f4c1

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,9 @@ public function doRun(InputInterface $input, OutputInterface $output)
276276
$alternative = $alternatives[0];
277277

278278
$style = new SymfonyStyle($input, $output);
279-
$style->block(sprintf('Command "%s" is not defined.', $name), null, 'error', ' ', true);
279+
$output->writeln('');
280+
$formattedBlock = (new FormatterHelper())->formatBlock(sprintf('Command "%s" is not defined.', $name), 'error', true);
281+
$output->writeln($formattedBlock);
280282
if (!$style->confirm(sprintf('Do you want to run "%s" instead? ', $alternative), false)) {
281283
if (null !== $this->dispatcher) {
282284
$event = new ConsoleErrorEvent($input, $output, $e);

src/Symfony/Component/Validator/Resources/translations/validators.af.xlf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,22 @@
382382
<source>This value is not a valid International Securities Identification Number (ISIN).</source>
383383
<target>Hierdie waarde is nie 'n geldige Internasionale veiligheidsidentifikasienommer (ISIN) nie.</target>
384384
</trans-unit>
385+
<trans-unit id="100">
386+
<source>This value should be a valid expression.</source>
387+
<target>Hierdie waarde moet 'n geldige uitdrukking wees.</target>
388+
</trans-unit>
389+
<trans-unit id="101">
390+
<source>This value is not a valid CSS color.</source>
391+
<target>Hierdie waarde is nie 'n geldige CSS-kleur nie.</target>
392+
</trans-unit>
393+
<trans-unit id="102">
394+
<source>This value is not a valid CIDR notation.</source>
395+
<target>Hierdie waarde is nie 'n geldige CIDR-notasie nie.</target>
396+
</trans-unit>
397+
<trans-unit id="103">
398+
<source>The value of the netmask should be between {{ min }} and {{ max }}.</source>
399+
<target>Die waarde van die netmasker moet tussen {{ min }} en {{ max }} wees.</target>
400+
</trans-unit>
385401
</body>
386402
</file>
387403
</xliff>

0 commit comments

Comments
 (0)