You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ CHANGELOG
13
13
* added `framework.http_client.retry_failing` configuration tree
14
14
* added `assertCheckboxChecked()` and `assertCheckboxNotChecked()` in `WebTestCase`
15
15
* added `assertFormValue()` and `assertNoFormValue()` in `WebTestCase`
16
+
* Added "--as-tree=3" option to `translation:update` command to dump messages as a tree-like structure. The given value defines the level where to switch to inline YAML
Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ protected function configure()
84
84
newInputOption('domain', null, InputOption::VALUE_OPTIONAL, 'Specify the domain to update'),
85
85
newInputOption('xliff-version', null, InputOption::VALUE_OPTIONAL, 'Override the default xliff version', '1.2'),
86
86
newInputOption('sort', null, InputOption::VALUE_OPTIONAL, 'Return list of messages sorted alphabetically', 'asc'),
87
+
newInputOption('as-tree', null, InputOption::VALUE_OPTIONAL, 'Dump the messages as a tree-like structure: The given value defines the level where to switch to inline YAML'),
87
88
])
88
89
->setDescription('Updates the translation file')
89
90
->setHelp(<<<'EOF'
@@ -108,6 +109,12 @@ protected function configure()
108
109
109
110
<info>php %command.full_name% --dump-messages --sort=asc en AcmeBundle</info>
0 commit comments