From: Siebrand Mazeland Date: Wed, 2 Dec 2009 23:28:00 +0000 (+0100) Subject: Do not rebuild/add .mo files by default X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5edc27be6e8c1a5adcc584f8c5494e6b157d4f98;p=quix0rs-gnu-social.git Do not rebuild/add .mo files by default FIXME: should be made a command line parameter. --- diff --git a/scripts/update_translations.php b/scripts/update_translations.php index 73f2a3a7ef..45fe460a04 100755 --- a/scripts/update_translations.php +++ b/scripts/update_translations.php @@ -109,7 +109,10 @@ foreach ($languages as $language) { file_put_contents($pofile, $new_file); // --backup=off is workaround for Mac OS X fail system(sprintf('msgmerge -U --backup=off %s %s', $pofile, $statusnet_pot)); + /* Do not rebuild/add .mo files by default + * FIXME: should be made a command line parameter. system(sprintf('msgfmt -o %s %s', $mofile, $pofile)); + */ } else { echo "Unchanged - ".$code."\n"; }