diff options
author | EuAndreh <eu@euandre.org> | 2022-01-16 16:52:43 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-01-16 16:52:43 -0300 |
commit | 1fc994f588dd9ef2ef8395e57e2492a6b4d730eb (patch) | |
tree | ab518e8c2c229ec60ba921adbf9897b25520b99d /scripts/apply-translations.sh | |
parent | .ignore: Remove unused file (diff) | |
download | euandre.org-1fc994f588dd9ef2ef8395e57e2492a6b4d730eb.tar.gz euandre.org-1fc994f588dd9ef2ef8395e57e2492a6b4d730eb.tar.xz |
git mv locale/ po/
Diffstat (limited to '')
-rwxr-xr-x | scripts/apply-translations.sh | 2 |
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 |