Skip to content

Commit b7d8843

Browse files
committed
The catalogue domain corresponds to the fileName
1 parent 412025c commit b7d8843

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Command/ExportCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected function exportTranslationFileList($bundle, $locale, ArrayCollection $
166166
$catalogue = new MessageCatalogue((string) $locale);
167167

168168
foreach ($translationList as $translation) {
169-
$catalogue->set($translation->getEntry()->getAlias(), $translation->getValue(), $translation->getEntry()->getDomain());
169+
$catalogue->set($translation->getEntry()->getAlias(), $translation->getValue(), $translation->getEntry()->getFilename());
170170
}
171171

172172
$writer->writeTranslations($catalogue, $translation->getEntry()->getFormat(), array('path' => dirname($filePath)));

0 commit comments

Comments
 (0)