[translation] Update defaut format from yml to yaml
This commit is contained in:
parent
e9c8e19f46
commit
ba42030641
@ -83,7 +83,7 @@ class TranslationUpdateCommand extends ContainerAwareCommand
|
|||||||
new InputArgument('bundle', InputArgument::OPTIONAL, 'The bundle name or directory where to load the messages'),
|
new InputArgument('bundle', InputArgument::OPTIONAL, 'The bundle name or directory where to load the messages'),
|
||||||
new InputOption('prefix', null, InputOption::VALUE_OPTIONAL, 'Override the default prefix', '__'),
|
new InputOption('prefix', null, InputOption::VALUE_OPTIONAL, 'Override the default prefix', '__'),
|
||||||
new InputOption('no-prefix', null, InputOption::VALUE_NONE, '[DEPRECATED] If set, no prefix is added to the translations'),
|
new InputOption('no-prefix', null, InputOption::VALUE_NONE, '[DEPRECATED] If set, no prefix is added to the translations'),
|
||||||
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'yml'),
|
new InputOption('output-format', null, InputOption::VALUE_OPTIONAL, 'Override the default output format', 'yaml'),
|
||||||
new InputOption('dump-messages', null, InputOption::VALUE_NONE, 'Should the messages be dumped in the console'),
|
new InputOption('dump-messages', null, InputOption::VALUE_NONE, 'Should the messages be dumped in the console'),
|
||||||
new InputOption('force', null, InputOption::VALUE_NONE, 'Should the update be done'),
|
new InputOption('force', null, InputOption::VALUE_NONE, 'Should the update be done'),
|
||||||
new InputOption('no-backup', null, InputOption::VALUE_NONE, 'Should backup be disabled'),
|
new InputOption('no-backup', null, InputOption::VALUE_NONE, 'Should backup be disabled'),
|
||||||
|
@ -143,7 +143,7 @@ class TranslationUpdateCommandTest extends TestCase
|
|||||||
->expects($this->any())
|
->expects($this->any())
|
||||||
->method('getFormats')
|
->method('getFormats')
|
||||||
->will(
|
->will(
|
||||||
$this->returnValue(['xlf', 'yml'])
|
$this->returnValue(['xlf', 'yml', 'yaml'])
|
||||||
);
|
);
|
||||||
|
|
||||||
if (null === $kernel) {
|
if (null === $kernel) {
|
||||||
|
Reference in New Issue
Block a user