don't touch node_modules. that's mostly an internal commit, but teh public shouldn't mind

This commit is contained in:
czaks 2014-02-23 19:39:20 +01:00
parent 7d01450901
commit 5fde4acf17

View File

@ -42,6 +42,7 @@ foreach ($locales as $loc) {
xgettext -d tinyboard -L php --from-code utf-8 $join -c $(find ../../../../ -name \*.php)");
// Generate javascript.po
passthru("cd $locdir/LC_MESSAGES;
xgettext -d javascript -L Python --force-po --from-code utf-8 $join -c $(find ../../../../js/ ../../../../templates/ -name \*.js)");
passthru("cd $locdir/LC_MESSAGES;".
"xgettext -d javascript -L Python --force-po --from-code utf-8 $join -c ".
"$(find ../../../../js/ ../../../../templates/ -not -path \*node_modules\* -name \*.js)");
}