diff options
| author | czaks <marcin@6irc.net> | 2014-02-23 19:39:20 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-02-23 19:39:20 +0100 |
| commit | 5fde4acf17ae98166870ff57da7b71c0d0fab8e9 (patch) | |
| tree | a98c508a9dc693e9167db19dfd7d6ec0a3a0af70 /tools | |
| parent | 7d0145090197f2258fdc1484a03f103414265791 (diff) | |
don't touch node_modules. that's mostly an internal commit, but teh public shouldn't mind
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/i18n_extract.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/i18n_extract.php b/tools/i18n_extract.php index 4c32b688..fe501a37 100755 --- a/tools/i18n_extract.php +++ b/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)"); } |
