* add translations from launchpad
[citadel.git] / citadel / po / create-pot.sh
1 #!/bin/bash
2
3 echo Updating citadel.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 citadel-setup.pot \
9         --add-comments \
10         ../utils/setup.c 
11
12 #xgettext \
13 #       --copyright-holder='The Citadel Project - http://www.citadel.org' \
14 #        --from-code='utf-8' \
15 #       -k_ \
16 #       -o citadel-server.pot \
17 #       --add-comments \
18 #       ../*.c \
19 #        `cat ../Make_sources | sed  -e "s;.*+= ;;" ` 
20 #
21 #
22 #xgettext \
23 #       --copyright-holder='The Citadel Project - http://www.citadel.org' \
24 #        --from-code='utf-8' \
25 #       -k_ \
26 #       -o citadel-client.pot \
27 #       --add-comments \
28 #       ../*.c \
29 #        ../textclient/*.c
30
31 for x in *.po
32 do
33         echo Merging citadel-setup.pot into $x ...
34         msgmerge $x citadel-setup.pot -o $x
35 done