translation: Load msgfmt path from config or default to /usr/bin/env msgfmt

refs #9615
This commit is contained in:
Eric Lippmann 2015-07-30 15:55:05 +02:00
parent d4c7261562
commit 8d137aa575

View File

@ -450,7 +450,7 @@ class GettextTranslationHelper
implode( implode(
' ', ' ',
array( array(
'/usr/bin/msgfmt', $this->getConfig()->get('translation', 'msgfmt', '/usr/bin/env msgfmt'),
'-o ' . $targetPath, '-o ' . $targetPath,
$this->tablePath $this->tablePath
) )