Exclude the LC_MESSAGES stuff (and master pulling)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 18 Jan 2015 20:03:11 +0000 (14:03 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 18 Jan 2015 20:03:11 +0000 (14:03 -0600)
devtools/pootle-exclude.txt [new file with mode: 0644]
devtools/update_translations_pootle.sh

diff --git a/devtools/pootle-exclude.txt b/devtools/pootle-exclude.txt
new file mode 100644 (file)
index 0000000..e830d15
--- /dev/null
@@ -0,0 +1,2 @@
+.translation_index
+LC_MESSAGES/
index df8ab8e3edc48da4c7cde52513a6b311c2f69f2c..507a917c94fbb419d6f8736fb4e078e97adfcd40 100755 (executable)
 # exit if anything fails
 set -e
 
-echo "==> checking out master"
-git checkout master
+## Maybe we'll uncomment these post-merge to master
 
-echo "==> pulling git master"
-git pull
+# echo "==> checking out master"
+# git checkout master
+
+# echo "==> pulling git master"
+# git pull
 
 echo "==> pulling present translations"
-rsync --exclude ".translation_index" -vaz chapters.gnu.org::pootle/mediagoblin/ mediagoblin/i18n/
+rsync --exclude-from="devtools/pootle-exclude.txt" -vaz chapters.gnu.org::pootle/mediagoblin/ mediagoblin/i18n/
 
 echo "==> Extracting translations"
 ./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/templates/mediagoblin.pot .