MonarcAppFO/scripts/update_translations.sh

11 lines
237 B
Bash
Raw Normal View History

2022-11-23 12:48:53 +01:00
#!/bin/bash
pushd node_modules/ng_client
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