Skip to content

Commit db414b6

Browse files
committed
minor symfony#44901 [Translation] fixed help text of translation provider commands (m2mtech)
This PR was merged into the 5.3 branch. Discussion ---------- [Translation] fixed help text of translation provider commands | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | License | MIT The current description of the domains option does not match the code (there is no string to array functionality in the given code) or the standard [behavior of console commands](https://symfony.com/doc/current/console/input.html). This fix just changes the text of the help description - no actual code is changed. Commits ------- 533aac8 fixed help text
2 parents 65083de + 533aac8 commit db414b6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Translation/Command/TranslationPullCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected function configure()
8181
8282
Full example:
8383
84-
<info>php %command.full_name% provider --force --domains=messages,validators --locales=en</>
84+
<info>php %command.full_name% provider --force --domains=messages --domains=validators --locales=en</>
8585
8686
This command pulls all translations associated with the <comment>messages</> and <comment>validators</> domains for the <comment>en</> locale.
8787
Local translations for the specified domains and locale are deleted if they're not present on the provider and overwritten if it's the case.

src/Symfony/Component/Translation/Command/TranslationPushCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ protected function configure()
7979
8080
Full example:
8181
82-
<info>php %command.full_name% provider --force --delete-missing --domains=messages,validators --locales=en</>
82+
<info>php %command.full_name% provider --force --delete-missing --domains=messages --domains=validators --locales=en</>
8383
8484
This command pushes all translations associated with the <comment>messages</> and <comment>validators</> domains for the <comment>en</> locale.
8585
Provider translations for the specified domains and locale are deleted if they're not present locally and overwritten if it's the case.

0 commit comments

Comments
 (0)