diff options
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/pootle-exclude.txt | 2 | ||||
-rwxr-xr-x | devtools/update_translations_pootle.sh | 12 |
2 files changed, 9 insertions, 5 deletions
diff --git a/devtools/pootle-exclude.txt b/devtools/pootle-exclude.txt new file mode 100644 index 00000000..e830d157 --- /dev/null +++ b/devtools/pootle-exclude.txt @@ -0,0 +1,2 @@ +.translation_index +LC_MESSAGES/ diff --git a/devtools/update_translations_pootle.sh b/devtools/update_translations_pootle.sh index df8ab8e3..507a917c 100755 --- a/devtools/update_translations_pootle.sh +++ b/devtools/update_translations_pootle.sh @@ -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 . |