From d62bf4c81273e91c9155c39373f6462b0acacbdf Mon Sep 17 00:00:00 2001 From: Tails developers Date: Sat, 30 Nov 2013 22:25:58 +0000 Subject: [PATCH] Run `intltool-update --dist' in import-translations too. Else, many noisy and useless changes appear in PO files. If one commits right after this stage without running refresh-translations first, despite what the release process documentation says, this would make the Git history hard to understand. --- import-translations | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/import-translations b/import-translations index cf90bfa727b..3791b0102d0 100755 --- a/import-translations +++ b/import-translations @@ -11,6 +11,9 @@ GIT_IN_TOR_TRANSLATION_DIR="git \ --work-tree=$TOR_TRANSLATION_DIR \ --git-dir=$TOR_TRANSLATION_DIR/.git" +### External libraries +. config/chroot_local-includes/usr/local/lib/tails-shell-library/po.sh + lang_is_excluded () { local lang="$1" echo -n "$EXCLUDE_LANGS" | grep -qs -w "$lang" @@ -38,3 +41,6 @@ for po_file in $TOR_TRANSLATION_DIR/*.po; do cp "$po_file" "$TAILS_PO_DIR" fi done + +# Update PO files +intltool_update_po $(po_languages) -- 2.11.4.GIT