Fixed broken location of sources in create-pot.sh
[citadel.git] / webcit / po / webcit / create-pot.sh
1 #!/bin/bash
2
3 CSOURCES=`find ../.. -name \*.c`
4 HSOURCES=`find ../.. -name \*.html`
5
6 echo Updating webcit.pot from strings in the source code ...
7 xgettext \
8         --copyright-holder='The Citadel Project - http://www.citadel.org' \
9         --from-code='utf-8' \
10         -k_ \
11         -o webcit.pot \
12         --add-comments \
13         $CSOURCES $HSOURCES
14
15 for x in *.po
16 do
17         echo Merging webcit.pot into $x ...
18         msgmerge $x webcit.pot -o $x
19 done