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:
parent
0bc65b89de
commit
7c54e80554
@ -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)");
|
||||
|
Loading…
Reference in New Issue
Block a user