MonarcAppBO/scripts/update_translations.sh

11 lines
241 B
Bash
Raw Normal View History

2023-03-09 15:05:40 +01:00
#!/bin/bash
pushd node_modules/ng_backoffice
if [[ -d po && -f po/template.pot ]]; then
for f in po/*.po; do
msgmerge --backup=none -U "$f" po/template.pot
msgattrib --no-obsolete --clear-fuzzy --empty -o "$f" "$f"
done;
fi