1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

-c comment flag is unnecessary

This commit is contained in:
Fredrick Brennan 2015-04-03 14:08:57 +08:00
parent dac1fbb36c
commit fe400d4e6c

View File

@ -39,10 +39,10 @@ foreach ($locales as $loc) {
if (file_exists($locdir."/LC_MESSAGES/tinyboard.po")) $join = "-j --omit-header";
else $join = "";
passthru("cd $locdir/LC_MESSAGES;
xgettext -d tinyboard -L php --from-code utf-8 $join -c $(find ../../../../ -name \*.php)");
xgettext -d tinyboard -L php --from-code utf-8 $join $(find ../../../../ -name \*.php)");
// Generate javascript.po
passthru("cd $locdir/LC_MESSAGES;".
"xgettext -d javascript -L Python --force-po --from-code utf-8 $join -c ".
"xgettext -d javascript -L Python --force-po --from-code utf-8 $join ".
"$(find ../../../../js/ ../../../../templates/ -not -path \*node_modules\* -name \*.js)");
}