mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 17:31:00 +01:00
[i18n] If joining omit header so attribution/plurals stay
This commit is contained in:
parent
0bc65b89de
commit
7c54e80554
@ -36,7 +36,7 @@ foreach ($locales as $loc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Generate tinyboard.po
|
// 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 = "";
|
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 -c $(find ../../../../ -name \*.php)");
|
||||||
|
Loading…
Reference in New Issue
Block a user