Skip to content

Commit e6362a7

Browse files
committed
[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.
1 parent 42ecd27 commit e6362a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/TranslationUpdateCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
125125
}
126126
}
127127

128-
if ($input->getOption('output-format') == 'xliff') {
128+
if ($input->getOption('output-format') == 'xlf') {
129129
$output->writeln('Xliff output version is <info>1.2</info>');
130130
}
131131
}

0 commit comments

Comments
 (0)