diff options
author | Pierre GRANDIN <grandinp@altern.org> | 2015-08-18 19:57:45 -0700 |
---|---|---|
committer | Pierre GRANDIN <grandinp@altern.org> | 2015-08-18 19:57:45 -0700 |
commit | 33cc97b8100a531d6b26bd803cf1666a4450d950 (patch) | |
tree | 85750b2c490326962099454c1fafdf9d10d71c3b | |
parent | 9e7574d85dfeb6dbd2620617e1e43cd67efae210 (diff) | |
download | navit-33cc97b8100a531d6b26bd803cf1666a4450d950.tar.gz |
Adding translation processing
-rw-r--r-- | ci/import_translations.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ci/import_translations.sh b/ci/import_translations.sh index 26e15f877..38bb244c6 100644 --- a/ci/import_translations.sh +++ b/ci/import_translations.sh @@ -37,7 +37,12 @@ for i in po/import_queue/*.po; do mv po/${po}.header po/${po}.in sed '1,/msgid ""/ d' ${i} >> po/${po}.in + git rm -f $i + + # Archive the po + [ -d $CIRCLE_ARTIFACTS/po ] || mkdir $CIRCLE_ARTIFACTS/po + cp po/${po}.in $CIRCLE_ARTIFACTS/po/ # Yay, we should have a clean .po file now! git --no-pager diff po/${po}.in done - + |