aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-04 17:38:20 -0300
committernixpkgs-review <nixpkgs-review@example.com>2020-11-04 17:38:31 -0300
commit74e220677ac2cb1bef16d0f62092d56db6f62e1d (patch)
tree584206f01cc1b1a2dffedbffb943d4d7fb601ac2 /scripts
parentUpdate mdpo version: 0.2.36 -> 0.2.37 (diff)
downloadeuandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.gz
euandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.xz
Add all code blocks to translation po files
Diffstat (limited to '')
-rwxr-xr-xscripts/extract-translations.sh2
1 files changed, 1 insertions, 1 deletions
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