File tree 1 file changed +7
-3
lines changed
src/Symfony/Bundle/FrameworkBundle/Command 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -87,20 +87,24 @@ protected function configure()
87
87
->setDescription ('Updates the translation file ' )
88
88
->setHelp (<<<'EOF'
89
89
The <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.
91
92
92
93
When new translation strings are found it can automatically add a prefix to the translation
93
94
message.
94
95
95
96
Example running against a Bundle (AcmeBundle)
97
+
96
98
<info>php %command.full_name% --dump-messages en AcmeBundle</info>
97
99
<info>php %command.full_name% --force --prefix="new_" fr AcmeBundle</info>
98
100
99
101
Example running against default messages directory
102
+
100
103
<info>php %command.full_name% --dump-messages en</info>
101
104
<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
+
104
108
<info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info>
105
109
<info>php %command.full_name% --dump-messages --sort=desc fr</info>
106
110
EOF
You can’t perform that action at this time.
0 commit comments