SafeEyes/update-po.sh

8 lines
235 B
Bash
Raw Normal View History

#!/bin/bash
for filename in safeeyes/config/locale/*/LC_MESSAGES/safeeyes.po; do
echo "$filename"
msgmerge -U "$filename" safeeyes/config/locale/safeeyes.pot
if [ -f "$filename~" ] ; then
rm "$filename~"
fi
done