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

refs #9615
This commit is contained in:
Eric Lippmann 2015-07-30 15:53:13 +02:00
parent 7160eb600a
commit c9c97f3c61
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ class GettextTranslationHelper
implode(
' ',
array(
'/usr/bin/xgettext',
$this->getConfig()->get('translation', 'xgettext', '/usr/bin/env xgettext'),
'--language=PHP',
'--keyword=translate',
'--keyword=translate:1,2c',