summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSiebrand Mazeland <s.mazeland@xs4all.nl>2009-12-03 00:28:00 +0100
committerSiebrand Mazeland <s.mazeland@xs4all.nl>2009-12-03 00:28:00 +0100
commit5edc27be6e8c1a5adcc584f8c5494e6b157d4f98 (patch)
tree0c13957ce6cc96b1409b2160249bb5d514a13204 /scripts
parentad8d6c8fbf51975c22ef66107520f33af4e0ec79 (diff)
Do not rebuild/add .mo files by default
FIXME: should be made a command line parameter.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update_translations.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/update_translations.php b/scripts/update_translations.php
index 73f2a3a7e..45fe460a0 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";
}