Catch exceptions during init and display them nicely.
[rox-archive.git] / Messages / update-po
blobb67ad947fc627ace415c50850ed1a93b8f945e93
1 #!/bin/sh
3 echo Extracting messages from source files...
4 echo
6 # Files separated with a space
7 (cd ..; pygettext AppRun *.py)
9 echo
10 echo Updating all .po files...
11 echo
13 for FILE in *.po; do
14 echo -n "Updating '$FILE' translation"
15 mv $FILE $FILE.old
16 msgmerge $FILE.old ../messages.pot > $FILE
17 done