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