MonarcAppBO/scripts/compile_translations.sh

13 lines
223 B
Bash
Raw Permalink Normal View History

2016-04-13 17:03:50 +02:00
#!/bin/bash
pushd node_modules/ng_backoffice
grunt compile_translations
grunt concat
if [ -d po ]; then
for i in $(ls po/*\.po); do
l=$(basename $i .po)
msgfmt -o ./po/$l.mo -v ./po/$l.po
done;
2016-04-13 17:03:50 +02:00
fi