e85837c659
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@517 b3834d28-1941-0410-a4f8-b48e95affb8f
19 lines
423 B
PHP
19 lines
423 B
PHP
<?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'
|
|
. ' data/templates/*.php'
|
|
. ' www/*.php'
|
|
. ' www/*/*.php'
|
|
);
|
|
|
|
?>
|