Additional work on the alias table. This is taking longer than it ought to because...
[citadel] / webcit / po / webcit / create-pot.sh
1 #!/bin/bash
2
3 CSOURCES=`find ../.. -name \*.c`
4 HSOURCES=`find ../.. -name \*.html`
5 JSOURCES=`find ../.. -name \*.js`
6
7 echo Updating webcit.pot from strings in the source code ...
8 xgettext \
9         --copyright-holder='The Citadel Project - http://www.citadel.org' \
10         --from-code='utf-8' \
11         -k_ \
12         -o webcit.pot \
13         --add-comments \
14         $CSOURCES $HSOURCES
15
16 for x in *.po
17 do
18         echo Merging webcit.pot into $x ...
19         msgmerge $x webcit.pot -o $x
20 done