aboutsummaryrefslogtreecommitdiff
path: root/scripts/apply-translations.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-16 13:37:30 -0300
committerEuAndreh <eu@euandre.org>2020-12-16 13:37:30 -0300
commite9e7e3877af87e375edd89e480ec0463d92ce632 (patch)
tree8f012724a588b43a69747756c558d03a88b78c46 /scripts/apply-translations.sh
parentsync-translations.sh: Remove duplicated git diff (diff)
downloadeuandre.org-e9e7e3877af87e375edd89e480ec0463d92ce632.tar.gz
euandre.org-e9e7e3877af87e375edd89e480ec0463d92ce632.tar.xz
Revert "Remove --quiet from po2md"
This reverts commit fb63b4765013b51157bc0c192000ed4deab313bc. Default output of po2md is too verbose for what I want.
Diffstat (limited to '')
-rwxr-xr-xscripts/apply-translations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/apply-translations.sh b/scripts/apply-translations.sh
index 69437da..8c9a6f5 100755
--- a/scripts/apply-translations.sh
+++ b/scripts/apply-translations.sh
@@ -9,6 +9,6 @@ for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$'
ref="$(grep '^ref: ' "$f" | awk '{print $2}')"
# shellcheck disable=2046
FROM=$(find $(find . -name '*.md' -exec grep -l "^ref: $ref$" {} \;) -exec grep -l '^lang: en$' {} \;)
- po2md "$FROM" --pofiles "locale/$l/LC_MESSAGES/${FROM%.md}.po" --save "$f"
+ po2md "$FROM" --pofiles "locale/$l/LC_MESSAGES/${FROM%.md}.po" --quiet --save "$f"
fi
done