From 592b8f2e47d5f1c60f2a7dc5baedf5a927814a09 Mon Sep 17 00:00:00 2001 From: Marek Snopkowski Date: Tue, 24 Aug 2021 13:46:32 +0200 Subject: [PATCH] Pass to converter new_message_format configuration https://github.com/php-translation/symfony-bundle/issues/300 --- Command/CheckMissingCommand.php | 1 + Command/ExtractCommand.php | 1 + 2 files changed, 2 insertions(+) diff --git a/Command/CheckMissingCommand.php b/Command/CheckMissingCommand.php index 46a09e0..58a6ac4 100644 --- a/Command/CheckMissingCommand.php +++ b/Command/CheckMissingCommand.php @@ -80,6 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int 'blacklist_domains' => $config->getBlacklistDomains(), 'whitelist_domains' => $config->getWhitelistDomains(), 'project_root' => $config->getProjectRoot(), + 'new_message_format' => $config->getNewMessageFormat(), ] ); diff --git a/Command/ExtractCommand.php b/Command/ExtractCommand.php index 7dd27bf..f61290d 100644 --- a/Command/ExtractCommand.php +++ b/Command/ExtractCommand.php @@ -106,6 +106,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int 'blacklist_domains' => $config->getBlacklistDomains(), 'whitelist_domains' => $config->getWhitelistDomains(), 'project_root' => $config->getProjectRoot(), + 'new_message_format' => $config->getNewMessageFormat(), ]); $errors = $result->getErrors();