diff options
author | EuAndreh <eu@euandre.org> | 2020-12-16 13:36:21 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-12-16 13:36:21 -0300 |
commit | fb63b4765013b51157bc0c192000ed4deab313bc (patch) | |
tree | c82dd94841e4e6c34d270935308cdb76dd889971 | |
parent | Awk TIL: Move shell option to shebang lines in code blocks (diff) | |
download | euandre.org-fb63b4765013b51157bc0c192000ed4deab313bc.tar.gz euandre.org-fb63b4765013b51157bc0c192000ed4deab313bc.tar.xz |
Remove --quiet from po2md
Diffstat (limited to '')
-rwxr-xr-x | scripts/apply-translations.sh | 2 | ||||
-rwxr-xr-x | scripts/extract-translations.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/apply-translations.sh b/scripts/apply-translations.sh index 8c9a6f5..69437da 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" --quiet --save "$f" + po2md "$FROM" --pofiles "locale/$l/LC_MESSAGES/${FROM%.md}.po" --save "$f" fi done diff --git a/scripts/extract-translations.sh b/scripts/extract-translations.sh index 79ace6b..9303f6c 100755 --- a/scripts/extract-translations.sh +++ b/scripts/extract-translations.sh @@ -11,7 +11,7 @@ for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$' for l in "${TRANSLATIONS[@]}"; do OUT="locale/$l/LC_MESSAGES/${f%.md}.po" mkdir -p "$(dirname "$OUT")" - md2po "$f" --include-codeblocks --quiet --save --po-filepath "$OUT" + md2po "$f" --include-codeblocks --save --po-filepath "$OUT" done fi done |