summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2019-05-28 11:06:33 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2019-05-28 11:06:33 +0000
commit1e1fe88fe00e8619f5c0d832f33d66a9461cca5c (patch)
tree6aa90476eb44d9131b4126988251a38b9f5ba5dc
parentMerge branch 'master' of gitlab.com:inkscape/inkscape (diff)
downloadinkscape-1e1fe88fe00e8619f5c0d832f33d66a9461cca5c.tar.gz
inkscape-1e1fe88fe00e8619f5c0d832f33d66a9461cca5c.zip
Update translation job
-rw-r--r--.gitlab-ci.yml11
1 files changed, 2 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 679825f68..0b581f7b4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -142,23 +142,16 @@ translations:
- cd po/
# update POTFILES.in
- - grep -v "^#" POTFILES.in > POTFILES.in.1
- ./generate_POTFILES.sh
- - grep -v "^#" POTFILES.in > POTFILES.in.2
-
- # update inkscape.pot and sync all .po files
- - intltool-update --pot --gettext-package=inkscape
- - ./update_po_files.sh
# check if POTFILES.in should be updated in the repo (shall we automate this?)
- - 'if [ -n "$(diff POTFILES.in.1 POTFILES.in.2)" ]; then
- git diff POTFILES.in;
+ - 'if [ -n "$(git diff)" ]; then
+ git diff;
echo "New translatable strings in source files found.";
echo "Please add the paths to POTFILES.in so they can be translated";
echo "(or add them to POTFILES.skip to exclude them from translations).";
exit 1;
fi'
- - rm POTFILES.in.1 POTFILES.in.2
artifacts:
name: "translations"
paths: