Release prep...
[rox-postal.git] / Messages / update-po
blob55c8124d320cdf7afbd0fa41db54c32beb34ee8b
1 #!/bin/sh
3 echo Extracting messages from source files...
4 echo
7 cd ..
8 xgettext -o - -L Python *.py AppRun AppletRun |
9 sed "s/charset=CHARSET/charset=UTF-8/" > pot.tmp
10 echo >> pot.tmp
11 python Messages/opts2po.py Options.xml >> pot.tmp
12 msguniq -o Messages/messages.pot pot.tmp
13 rm pot.tmp
16 echo
17 echo Updating all .po files...
18 echo
20 find . -name \*.po -exec msgmerge -U \{\} messages.pot \;