From 1fc994f588dd9ef2ef8395e57e2492a6b4d730eb Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 16 Jan 2022 16:52:43 -0300 Subject: git mv locale/ po/ --- scripts/apply-translations.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/apply-translations.sh') 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 -- cgit v1.2.3