Переглянути джерело

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

tags/vichan-devel-4.4.95
czaks 10 роки тому
джерело
коміт
5fde4acf17
1 змінених файлів з 3 додано та 2 видалено
  1. +3
    -2
      tools/i18n_extract.php

+ 3
- 2
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)");
}

Завантаження…
Відмінити
Зберегти