-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Added --sort option for TranslationUpdateCommand #33117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
k0d3r1s
commented
Aug 11, 2019
•
edited
Loading
edited
Q | A |
---|---|
Branch? | 4.4 |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | #33014 |
License | MIT |
Doc PR | symfony/symfony-docs#12136 |
Added sorting option for translation:update command |
src/Symfony/Bundle/FrameworkBundle/Tests/Command/TranslationUpdateCommandTest.php
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
Outdated
Show resolved
Hide resolved
what happened to travis builds? I just applied patch and everything went wrong |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With some small nitpicks.
src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
Outdated
Show resolved
Hide resolved
@@ -88,11 +93,11 @@ protected function configure() | |||
message. | |||
|
|||
Example running against a Bundle (AcmeBundle) | |||
<info>php %command.full_name% --dump-messages en AcmeBundle</info> | |||
<info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would remove the --sort
in the 2 existing commands and add a sentence explaining the sort
option with a new example.
Thank you @k0d3r1s. |
…ate command (k0d3r1s) This PR was squashed before being merged into the 4.4 branch (closes #12136). Discussion ---------- Added documentation for --sort option in translation:update command Documentation for symfony/symfony#33117 Commits ------- aae353a Added documentation for --sort option in translation:update command