[FrameworkBundle] Check for 'xlf' instead of 'xliff'

There is no translation writer format named 'xliff', but 'xlf' only. So the TranslationUpdateCommand can't be called with 'output-format' == 'xliff' and the version info will never be shown.
This commit is contained in:
Alexander Schwenn 2015-04-18 23:27:35 +02:00
parent 1014719e0b
commit aca1f28843
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ EOF
}
}
if ($input->getOption('output-format') == 'xliff') {
if ($input->getOption('output-format') == 'xlf') {
$output->writeln('Xliff output version is <info>1.2</info>');
}
}