Merge pull request #1896 from ArthurHoaro/fix/translate-test
Fix translate Makefile target
This commit is contained in:
commit
6775e2a2af
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
@ -165,7 +165,13 @@ htmldoc:
|
|||
|
||||
### Generate Shaarli's translation compiled file (.mo)
|
||||
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
|
||||
eslint:
|
||||
|
|
Loading…
Reference in a new issue