X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fupdate_translations.php;h=45fe460a04f614bcab968ec856272542ea801b6c;hb=5414096c44dd68c3212627320bd71d12e455950b;hp=580c472eef0e5049f64d58946a08a5ab0505f59b;hpb=f7b0017f219d649a3acb3d650cb6d4fbb79b9956;p=quix0rs-gnu-social.git diff --git a/scripts/update_translations.php b/scripts/update_translations.php index 580c472eef..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)); - system(sprintf('msgfmt -f -o %s %s', $mofile, $pofile)); + /* 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"; }