Exclude the LC_MESSAGES stuff (and master pulling)
This commit is contained in:
parent
53f91d1991
commit
dfea462c8e
2
devtools/pootle-exclude.txt
Normal file
2
devtools/pootle-exclude.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.translation_index
|
||||||
|
LC_MESSAGES/
|
@ -19,14 +19,16 @@
|
|||||||
# exit if anything fails
|
# exit if anything fails
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "==> checking out master"
|
## Maybe we'll uncomment these post-merge to master
|
||||||
git checkout master
|
|
||||||
|
|
||||||
echo "==> pulling git master"
|
# echo "==> checking out master"
|
||||||
git pull
|
# git checkout master
|
||||||
|
|
||||||
|
# echo "==> pulling git master"
|
||||||
|
# git pull
|
||||||
|
|
||||||
echo "==> pulling present translations"
|
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"
|
echo "==> Extracting translations"
|
||||||
./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/templates/mediagoblin.pot .
|
./bin/pybabel extract -F babel.ini -o mediagoblin/i18n/templates/mediagoblin.pot .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user