aboutsummaryrefslogtreecommitdiff
path: root/scripts/extract-translations.sh
diff options
context:
space:
mode:
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 2333865..61663b8 100755
--- a/scripts/extract-translations.sh
+++ b/scripts/extract-translations.sh
@@ -7,7 +7,7 @@ for f in $(git ls-files | grep -E '.(md|slides)$' | grep -v '^vendor/reveal.js$'
file_lang="$(grep '^lang: ..$' "$f" | awk '{print $2}')"
if [ "$file_lang" = 'en' ]; then
for l in $TRANSLATIONS; do
- OUT="locale/$l/LC_MESSAGES/${f%.md}.po"
+ OUT="po/$l/LC_MESSAGES/${f%.md}.po"
mkdir -p "$(dirname "$OUT")"
md2po "$f" --include-codeblocks --quiet --save --po-filepath "$OUT"
done