Updating pot
[squirrelmail.git] / po / xgetpo
1 #!/bin/sh
2
3 # **
4 # ** This script regenerates main POT file
5 # **
6 # ** Philipe Mingo <mingo@rotedic.com>
7 # ** 
8 # **  $Id$
9 #
10 XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --default-domain=squirrelmail --no-location -C"
11 cd ../..
12 xgettext ${XGETTEXT_OPTIONS} \
13     squirrelmail/src/*.php --output=squirrelmail/po/squirrelmail.pot
14 xgettext ${XGETTEXT_OPTIONS} -j \
15     squirrelmail/functions/*.php --output=squirrelmail/po/squirrelmail.pot
16 xgettext ${XGETTEXT_OPTIONS} -j \
17     squirrelmail/class/*.php --output=squirrelmail/po/squirrelmail.pot
18 xgettext ${XGETTEXT_OPTIONS} -j \
19     squirrelmail/class/mime/*.php --output=squirrelmail/po/squirrelmail.pot
20 xgettext ${XGETTEXT_OPTIONS} -j \
21     squirrelmail/class/deliver/*.php --output=squirrelmail/po/squirrelmail.pot
22 xgettext ${XGETTEXT_OPTIONS} -j \
23     squirrelmail/class/helper/*.php --output=squirrelmail/po/squirrelmail.pot    
24 xgettext ${XGETTEXT_OPTIONS} -j \
25     squirrelmail/include/*.php --output=squirrelmail/po/squirrelmail.pot
26 xgettext ${XGETTEXT_OPTIONS} -j \
27     squirrelmail/include/options/*.php --output=squirrelmail/po/squirrelmail.pot
28 xgettext ${XGETTEXT_OPTIONS} -j \
29     squirrelmail/images/themes/*/*.php --output=squirrelmail/po/squirrelmail.pot
30     
31 # ** Plugins
32     
33 xgettext ${XGETTEXT_OPTIONS} -j \
34     squirrelmail/plugins/abook_take/*.php --output=squirrelmail/po/squirrelmail.pot
35 xgettext ${XGETTEXT_OPTIONS} -j \
36     squirrelmail/plugins/administrator/*.php --output=squirrelmail/po/squirrelmail.pot
37 xgettext ${XGETTEXT_OPTIONS} -j \
38     squirrelmail/plugins/bug_report/*.php --output=squirrelmail/po/squirrelmail.pot
39 xgettext ${XGETTEXT_OPTIONS} -j \
40     squirrelmail/plugins/calendar/*.php --output=squirrelmail/po/squirrelmail.pot
41 xgettext ${XGETTEXT_OPTIONS} -j \
42     squirrelmail/plugins/filters/*.php --output=squirrelmail/po/squirrelmail.pot
43 xgettext ${XGETTEXT_OPTIONS} -j \
44     squirrelmail/plugins/fortune/*.php --output=squirrelmail/po/squirrelmail.pot
45 xgettext ${XGETTEXT_OPTIONS} -j \
46     squirrelmail/plugins/info/*.php --output=squirrelmail/po/squirrelmail.pot
47 xgettext ${XGETTEXT_OPTIONS} -j \
48     squirrelmail/plugins/listcommands/*.php --output=squirrelmail/po/squirrelmail.pot
49 xgettext ${XGETTEXT_OPTIONS} -j \
50     squirrelmail/plugins/mail_fetch/*.php --output=squirrelmail/po/squirrelmail.pot
51 xgettext ${XGETTEXT_OPTIONS} -j \
52     squirrelmail/plugins/message_details/*.php --output=squirrelmail/po/squirrelmail.pot
53 xgettext ${XGETTEXT_OPTIONS} -j \
54     squirrelmail/plugins/newmail/*.php --output=squirrelmail/po/squirrelmail.pot
55 xgettext ${XGETTEXT_OPTIONS} -j \
56     squirrelmail/plugins/sent_subfolders/*.php --output=squirrelmail/po/squirrelmail.pot
57 xgettext ${XGETTEXT_OPTIONS} -j \
58     squirrelmail/plugins/spamcop/*.php --output=squirrelmail/po/squirrelmail.pot
59 xgettext ${XGETTEXT_OPTIONS} -j \
60     squirrelmail/plugins/squirrelspell/*.php --output=squirrelmail/po/squirrelmail.pot
61 xgettext ${XGETTEXT_OPTIONS} -j \
62     squirrelmail/plugins/squirrelspell/modules/*.mod \
63     --output=squirrelmail/po/squirrelmail.pot
64 xgettext ${XGETTEXT_OPTIONS} -j \
65     squirrelmail/plugins/translate/*.php --output=squirrelmail/po/squirrelmail.pot
66
67 xgettext ${XGETTEXT_OPTIONS} -j \
68     squirrelmail/po/independent_strings.txt --output=squirrelmail/po/squirrelmail.pot
69
70 cd squirrelmail/po