]> code.citadel.org Git - citadel.git/blob - webcit/po/create-pot.sh
* refresh po files; it seems as if create-pot was bugged by a utf8 - workaround.
[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