224b4203c75ca5adecb71eadc54f965e92970ebe
[citadel.git] / webcit / po / create-pot.sh
1 #!/bin/bash
2
3 echo Updating webcit.pot from strings in the source code ...
4 xgettext \
5         --copyright-holder='The Citadel Project - http://www.citadel.org' \
6         --from-code='utf-8' \
7         -k_ \
8         -o webcit.pot \
9         ../*.c ../static/t/*.html
10
11 for x in *.po
12 do
13         echo Merging webcit.pot into $x ...
14         msgmerge $x webcit.pot -o $x
15 done