SemanticScuttle/scripts/update-translations.php

19 lines
414 B
PHP
Raw Normal View History

<?php
/**
* Update gettext translations
*/
chdir(dirname(dirname(__FILE__)));
//do not include php-gettext or database layer
passthru(
'xgettext -kT_ngettext:1,2 -kT_ -L PHP'
. ' -o data/locales/messages.po'
. ' src/SemanticScuttle/*.php'
. ' src/SemanticScuttle/Model/*.php'
. ' src/SemanticScuttle/Service/*.php'
. ' data/templates/*.php'
. ' www/*.php'
. ' www/*/*.php'
);
?>