diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-01-18 14:03:11 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2015-01-18 14:03:11 -0600 |
commit | dfea462c8eb51aa7947489997cda3b157e72f210 (patch) | |
tree | 13f790a8820d63e5ec8c6b909fdb2d875413ad82 | |
parent | 53f91d1991bee0116e2aee85e63a136d19d35c65 (diff) | |
download | mediagoblin-dfea462c8eb51aa7947489997cda3b157e72f210.tar.lz mediagoblin-dfea462c8eb51aa7947489997cda3b157e72f210.tar.xz mediagoblin-dfea462c8eb51aa7947489997cda3b157e72f210.zip |
Exclude the LC_MESSAGES stuff (and master pulling)
-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 . |