Do not rebuild/add .mo files by default

FIXME: should be made a command line parameter.
This commit is contained in:
Siebrand Mazeland 2009-12-03 00:28:00 +01:00
parent ad8d6c8fbf
commit 5edc27be6e

View File

@ -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";
}