forked from GithubBackups/vichan
-c comment flag is unnecessary
This commit is contained in:
parent
dac1fbb36c
commit
fe400d4e6c
@ -39,10 +39,10 @@ foreach ($locales as $loc) {
|
|||||||
if (file_exists($locdir."/LC_MESSAGES/tinyboard.po")) $join = "-j --omit-header";
|
if (file_exists($locdir."/LC_MESSAGES/tinyboard.po")) $join = "-j --omit-header";
|
||||||
else $join = "";
|
else $join = "";
|
||||||
passthru("cd $locdir/LC_MESSAGES;
|
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
|
// Generate javascript.po
|
||||||
passthru("cd $locdir/LC_MESSAGES;".
|
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)");
|
"$(find ../../../../js/ ../../../../templates/ -not -path \*node_modules\* -name \*.js)");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user