transifex: Wait a bit after push.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 21 Apr 2012 21:13:05 +0000 (23:13 +0200)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 21 Apr 2012 21:13:05 +0000 (23:13 +0200)
We're seeing somewhat inconsistent data in tx pull.
My theory is: The server needs longer to process the
uploaded new template and work that into the translations.

devtools/update_translations.sh

index 7fcb3d49b2cfd5055adcd00c89ee380de2724198..29743f9465c6c93761bd76a8b903fe232675409f 100755 (executable)
@@ -38,6 +38,9 @@ echo "==> Extracting translations"
 echo "==> Pushing extracted translations to Transifex"
 ./bin/tx push -s
 
+echo "==> Waiting 5 seconds, so the server can process the new stuff (hopefully)"
+sleep 5
+
 # gets the new strings added to all files
 echo "==> Re-Pulling translations from Transifex"
 ./bin/tx pull -a