2009-11-04 21:37:31 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Update gettext translation base file
|
|
|
|
*/
|
|
|
|
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'
|
2011-11-01 16:18:12 +00:00
|
|
|
. ' data/templates/default/*.php'
|
2009-11-04 21:37:31 +00:00
|
|
|
. ' www/*.php'
|
|
|
|
. ' www/*/*.php'
|
|
|
|
);
|
|
|
|
|
|
|
|
?>
|