8000 feature #27935 [FrameworkBundle] [Command] TranslationUpdate change d… · symfony/symfony@b91effa · GitHub
[go: up one dir, main page]

Skip to content

Commit b91effa

Browse files
committed
feature #27935 [FrameworkBundle] [Command] TranslationUpdate change default output to xlf (Alexis BOYER)
This PR was merged into the 4.2-dev branch. Discussion ---------- [FrameworkBundle] [Command] TranslationUpdate change default output to xlf | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | Not applicable | License | MIT | Doc PR | Not applicable Simple modification on the default output for the translation: update command to XLIFF (xlf) It's to be in agreement with the documentation ![image](https://user-images.githubusercontent.com/2004449/42637935-a91dcabc-85ec-11e8-86db-9c8bea5e710b.png) Link to the documentation : https://symfony.com/doc/master/translation.html#translation-resource-file-names-and-locations Commits ------- 137593e [FrameworkBundle] Cmd TranslationUpdate change default output to xlf
2 parents a27288a + 137593e commit b91effa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ protected function configure()
6767
new InputArgument('locale', InputArgument::REQUIRED, 'The locale'),
6868
new InputArgument('bundle', InputArgument::OPTIONAL, 'The bundle name or directory where to load the messages, defaults to app/Resources folder'),
6969
new InputOption('prefix', null, InputOption::VALUE_OPTIONAL, 'Override the default prefix', '__'),
70-
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'yml'),
70+
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'xlf'),
7171
new InputOption('dump-messages', null, InputOption::VALUE_NONE, 'Should the messages be dumped in the console'),
7272
new InputOption('force', null, InputOption::VALUE_NONE, 'Should the update be done'),
7373
new InputOption('no-backup', null, InputOption::VALUE_NONE, 'Should backup be disabled'),

0 commit comments

Comments
 (0)
0