aboutsummaryrefslogtreecommitdiff
path: root/scripts/apply-translations.sh
diff options
context:
space:
mode:
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 5920717..5f87e0e 100755
--- a/scripts/apply-translations.sh
+++ b/scripts/apply-translations.sh
@@ -7,6 +7,6 @@ for f in $(git ls-files | grep -E '.(md|slides)$' | grep -Ev '^(vendor/reveal.js
ref="$(grep '^ref: ' "$f" | awk '{print $2}')"
# shellcheck disable=2046
FROM=$(find $(find . -type f -name '*.md' -exec grep -l "^ref: $ref$" {} \;) -type f -exec grep -l '^lang: en$' {} \;)
- po2md "$FROM" --pofiles "locale/$l/LC_MESSAGES/${FROM%.md}.po" --quiet --save "$f"
+ po2md "$FROM" --pofiles "po/$l/LC_MESSAGES/${FROM%.md}.po" --quiet --save "$f"
fi
done