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

View File

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