From 74e220677ac2cb1bef16d0f62092d56db6f62e1d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 4 Nov 2020 17:38:20 -0300 Subject: Add all code blocks to translation po files --- scripts/extract-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/extract-translations.sh b/scripts/extract-translations.sh index e6d2071..b0f70ed 100755 --- a/scripts/extract-translations.sh +++ b/scripts/extract-translations.sh @@ -11,7 +11,7 @@ for f in $(find . -type f -name '*.md' | grep -v '^./vendor' | grep -v '^./_site for l in "${TRANSLATIONS[@]}"; do OUT="locale/$l/LC_MESSAGES/${f%.md}.po" mkdir -p "$(dirname "$OUT")" - md2po "$f" --quiet --save --po-filepath "$OUT" + md2po "$f" --include-codeblocks --quiet --save --po-filepath "$OUT" done fi done -- cgit v1.2.3