aboutsummaryrefslogtreecommitdiff
path: root/scripts/update-translation-base.php
blob: c6b7c359fa64b6b76cb6b2b85e3ec415de1c1b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?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'
);

?>