Quellcode durchsuchen

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

tags/vichan-devel-4.4.95
czaks vor 10 Jahren
Ursprung
Commit
5fde4acf17
1 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. +3
    -2
      tools/i18n_extract.php

+ 3
- 2
tools/i18n_extract.php Datei anzeigen

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

Laden…
Abbrechen
Speichern