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
1 changed files with 1 additions and 1 deletions

View File

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