Browse Source

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

pull/40/head
czaks 10 years ago
parent
commit
5fde4acf17
  1. 5
      tools/i18n_extract.php

5
tools/i18n_extract.php

@ -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)");
}

Loading…
Cancel
Save