i18n_extract tool: replace the bundled lib with gettext forced to assume python, since it extracts more strings
This commit is contained in:
parent
cb82c7d28a
commit
1f2b4e0181
@ -42,6 +42,6 @@ foreach ($locales as $loc) {
|
|||||||
xgettext -d tinyboard -L php --from-code utf-8 $join -c $(find ../../../../ -name \*.php)");
|
xgettext -d tinyboard -L php --from-code utf-8 $join -c $(find ../../../../ -name \*.php)");
|
||||||
|
|
||||||
// Generate javascript.po
|
// Generate javascript.po
|
||||||
passthru("cd tools/inc/lib/jsgettext/;
|
passthru("cd $locdir/LC_MESSAGES;
|
||||||
php jsgettext.php -o ../../../../$locdir/LC_MESSAGES/javascript.po $(find ../../../../js/ -name \*.js)");
|
xgettext -d javascript -L Python --force-po --from-code utf-8 $join -c $(find ../../../../js/ -name \*.js)");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user