From dfea462c8eb51aa7947489997cda3b157e72f210 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 18 Jan 2015 14:03:11 -0600 Subject: [PATCH] Exclude the LC_MESSAGES stuff (and master pulling) --- devtools/pootle-exclude.txt | 2 ++ devtools/update_translations_pootle.sh | 12 +++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 devtools/pootle-exclude.txt 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 . -- 2.25.1