From 7c54e805548fa73d345083308dd5d086a7bc3f85 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Wed, 18 Mar 2015 16:59:42 +0800 Subject: [PATCH] [i18n] If joining omit header so attribution/plurals stay --- tools/i18n_extract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/i18n_extract.php b/tools/i18n_extract.php index fe501a37..a1492a77 100755 --- a/tools/i18n_extract.php +++ b/tools/i18n_extract.php @@ -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)");