Exclude the LC_MESSAGES stuff (and master pulling)

This commit is contained in:
Christopher Allan Webber 2015-01-18 14:03:11 -06:00
parent 53f91d1991
commit dfea462c8e
2 changed files with 9 additions and 5 deletions

View File

@ -0,0 +1,2 @@
.translation_index
LC_MESSAGES/

View File

@ -19,14 +19,16 @@
# 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 .