Merge pull request #1896 from ArthurHoaro/fix/translate-test

Fix translate Makefile target
This commit is contained in:
nodiscc 2022-10-09 19:08:19 +00:00 committed by GitHub
commit 6775e2a2af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,13 @@ htmldoc:
### Generate Shaarli's translation compiled file (.mo) ### Generate Shaarli's translation compiled file (.mo)
translate: translate:
@for pofile in $(find inc/languages/ -name shaarli.po); do msgfmt "$pofile" -o "$(dirname "$pofile")/$(basename "$pofile" .po).mo"; done @echo "----------------------"
@echo "Compile translation files"
@echo "----------------------"
@for pofile in `find inc/languages/ -name shaarli.po`; do \
echo "Compiling $$pofile"; \
msgfmt -v "$$pofile" -o "`dirname "$$pofile"`/`basename "$$pofile" .po`.mo"; \
done;
### Run ESLint check against Shaarli's JS files ### Run ESLint check against Shaarli's JS files
eslint: eslint: