File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
src/Symfony/Bundle/FrameworkBundle/Command Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -87,20 +87,24 @@ protected function configure()
8787 ->setDescription ('Updates the translation file ' )
8888 ->setHelp (<<<'EOF'
8989The <info>%command.name%</info> command extracts translation strings from templates
90- of a given bundle or the default translations directory. It can display them or merge the new ones into the translation files.
90+ of a given bundle or the default translations directory. It can display them or merge
91+ the new ones into the translation files.
9192
9293When new translation strings are found it can automatically add a prefix to the translation
9394message.
9495
9596Example running against a Bundle (AcmeBundle)
97+
9698 <info>php %command.full_name% --dump-messages en AcmeBundle</info>
9799 <info>php %command.full_name% --force --prefix="new_" fr AcmeBundle</info>
98100
99101Example running against default messages directory
102+
100103 <info>php %command.full_name% --dump-messages en</info>
101104 <info>php %command.full_name% --force --prefix="new_" fr</info>
102-
103- Example running with sorting option
105+
106+ You can sort the output with the <comment>--sort</> flag:
107+
104108 <info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info>
105109 <info>php %command.full_name% --dump-messages --sort=desc fr</info>
106110EOF
You can’t perform that action at this time.
0 commit comments