1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-01 10:37:18 +01:00

[i18n] If joining omit header so attribution/plurals stay

This commit is contained in:
Fredrick Brennan 2015-03-18 16:59:42 +08:00
parent 0bc65b89de
commit 7c54e80554

View File

@ -36,7 +36,7 @@ foreach ($locales as $loc) {
}
// Generate tinyboard.po
if (file_exists($locdir."/LC_MESSAGES/tinyboard.po")) $join = "-j";
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)");