[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:
parent
1014719e0b
commit
aca1f28843
|
@ -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>');
|
$output->writeln('Xliff output version is <info>1.2</info>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue