From fe400d4e6ccb50c24cf0e4dbc6b58aa6f999087c Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Fri, 3 Apr 2015 14:08:57 +0800 Subject: [PATCH] -c comment flag is unnecessary --- tools/i18n_extract.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/i18n_extract.php b/tools/i18n_extract.php index a1492a77..088adfed 100755 --- a/tools/i18n_extract.php +++ b/tools/i18n_extract.php @@ -39,10 +39,10 @@ foreach ($locales as $loc) { 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)"); + xgettext -d tinyboard -L php --from-code utf-8 $join $(find ../../../../ -name \*.php)"); // Generate javascript.po 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)"); }