String fix
[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_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location -C"
11 cd ..
12 xgettext ${XGETTEXT_OPTIONS} \
13     src/*.php --output=po/squirrelmail.pot
14 xgettext ${XGETTEXT_OPTIONS} -j \
15     functions/*.php --output=po/squirrelmail.pot
16 xgettext ${XGETTEXT_OPTIONS} -j \
17     class/*.php --output=po/squirrelmail.pot
18 xgettext ${XGETTEXT_OPTIONS} -j \
19     class/mime/*.php --output=po/squirrelmail.pot
20 xgettext ${XGETTEXT_OPTIONS} -j \
21     class/deliver/*.php --output=po/squirrelmail.pot
22 xgettext ${XGETTEXT_OPTIONS} -j \
23     class/helper/*.php --output=po/squirrelmail.pot    
24 xgettext ${XGETTEXT_OPTIONS} -j \
25     class/l10n/*.php --output=po/squirrelmail.pot    
26 xgettext ${XGETTEXT_OPTIONS} -j \
27     include/*.php --output=po/squirrelmail.pot
28 xgettext ${XGETTEXT_OPTIONS} -j \
29     include/options/*.php --output=po/squirrelmail.pot
30 xgettext ${XGETTEXT_OPTIONS} -j \
31     images/themes/*/*.php --output=po/squirrelmail.pot
32     
33 # ** Plugins
34     
35 xgettext ${XGETTEXT_OPTIONS} -j \
36     plugins/abook_take/*.php --output=po/squirrelmail.pot
37 xgettext ${XGETTEXT_OPTIONS} -j \
38     plugins/administrator/*.php --output=po/squirrelmail.pot
39 xgettext ${XGETTEXT_OPTIONS} -j \
40     plugins/bug_report/*.php --output=po/squirrelmail.pot
41 xgettext ${XGETTEXT_OPTIONS} -j \
42     plugins/calendar/*.php --output=po/squirrelmail.pot
43 xgettext ${XGETTEXT_OPTIONS} -j \
44     plugins/change_password/*.php --output=po/squirrelmail.pot
45 xgettext ${XGETTEXT_OPTIONS} -j \
46     plugins/change_password/backend/*.php --output=po/squirrelmail.pot
47 xgettext ${XGETTEXT_OPTIONS} -j \
48     plugins/filters/*.php --output=po/squirrelmail.pot
49 xgettext ${XGETTEXT_OPTIONS} -j \
50     plugins/fortune/*.php --output=po/squirrelmail.pot
51 xgettext ${XGETTEXT_OPTIONS} -j \
52     plugins/info/*.php --output=po/squirrelmail.pot
53 xgettext ${XGETTEXT_OPTIONS} -j \
54     plugins/listcommands/*.php --output=po/squirrelmail.pot
55 xgettext ${XGETTEXT_OPTIONS} -j \
56     plugins/mail_fetch/*.php --output=po/squirrelmail.pot
57 xgettext ${XGETTEXT_OPTIONS} -j \
58     plugins/message_details/*.php --output=po/squirrelmail.pot
59 xgettext ${XGETTEXT_OPTIONS} -j \
60     plugins/newmail/*.php --output=po/squirrelmail.pot
61 xgettext ${XGETTEXT_OPTIONS} -j \
62     plugins/sent_subfolders/*.php --output=po/squirrelmail.pot
63 xgettext ${XGETTEXT_OPTIONS} -j \
64     plugins/spamcop/*.php --output=po/squirrelmail.pot
65 xgettext ${XGETTEXT_OPTIONS} -j \
66     plugins/squirrelspell/*.php --output=po/squirrelmail.pot
67 xgettext ${XGETTEXT_OPTIONS} -j \
68     plugins/squirrelspell/modules/*.mod \
69     --output=po/squirrelmail.pot
70 xgettext ${XGETTEXT_OPTIONS} -j \
71     plugins/translate/*.php --output=po/squirrelmail.pot
72
73 xgettext ${XGETTEXT_OPTIONS} -j \
74     po/independent_strings.txt --output=po/squirrelmail.pot
75
76 cd po