This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->log('Extracting gettext strings'); | |
$xgettext = popen('xgettext --files-from=- --no-location --language=PHP --from-code=UTF-8 --no-wrap --omit-header -j -o "' . $messagesFile . '"', 'w'); | |
foreach ($dirs as $dir) { | |
$iterator = new RegexIterator( | |
new RecursiveIteratorIterator( | |
new RecursiveDirectoryIterator( | |
$dir, | |
FilesystemIterator::SKIP_DOTS | |
) |