Removing "www." in some links as well as the link to the deprecated feedback page.
[squirrelmail.git] / po / xgetpo
CommitLineData
02473506 1#!/bin/sh
503a49a4 2
3# **
5e9a440b 4# ** This script regenerates main POT file
503a49a4 5# **
6# ** Philipe Mingo <mingo@rotedic.com>
7# **
5e9a440b 8# ** $Id$
9#
d2181f2c 10
11# force use of same locale in order to keep same sorting order
12LC_ALL=en_US.ISO8859-1
13LANG=en_US.ISO8859-1
14export LC_ALL LANG
15
16# set common gettext options
859f2151 17XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments"
18
19# Allows controlling language option
20# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
21if [ $SM_LANG_PHP ] ; then
22 XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -L php";
23else
24 XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
25fi
26
27
e7a2b2b3 28cd ..
5e9a440b 29xgettext ${XGETTEXT_OPTIONS} \
e7a2b2b3 30 src/*.php --output=po/squirrelmail.pot
5e9a440b 31xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 32 functions/*.php --output=po/squirrelmail.pot
5e9a440b 33xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 34 class/*.php --output=po/squirrelmail.pot
5e9a440b 35xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 36 class/mime/*.php --output=po/squirrelmail.pot
5e9a440b 37xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 38 class/deliver/*.php --output=po/squirrelmail.pot
5e9a440b 39xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 40 class/helper/*.php --output=po/squirrelmail.pot
5e9a440b 41xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 42 class/l10n/*.php --output=po/squirrelmail.pot
5e9a440b 43xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 44 include/*.php --output=po/squirrelmail.pot
0f98b4c7 45xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 46 include/options/*.php --output=po/squirrelmail.pot
47xgettext ${XGETTEXT_OPTIONS} -j \
48 images/themes/*/*.php --output=po/squirrelmail.pot
3fd1252d 49
50# ** Plugins
51
5e9a440b 52xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 53 plugins/abook_take/*.php --output=po/squirrelmail.pot
5e9a440b 54xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 55 plugins/administrator/*.php --output=po/squirrelmail.pot
5e9a440b 56xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 57 plugins/bug_report/*.php --output=po/squirrelmail.pot
5e9a440b 58xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 59 plugins/calendar/*.php --output=po/squirrelmail.pot
5e9a440b 60xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 61 plugins/change_password/*.php --output=po/squirrelmail.pot
b8923d20 62xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 63 plugins/change_password/backend/*.php --output=po/squirrelmail.pot
b8923d20 64xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 65 plugins/filters/*.php --output=po/squirrelmail.pot
5e9a440b 66xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 67 plugins/fortune/*.php --output=po/squirrelmail.pot
5e9a440b 68xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 69 plugins/info/*.php --output=po/squirrelmail.pot
5e9a440b 70xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 71 plugins/listcommands/*.php --output=po/squirrelmail.pot
5e9a440b 72xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 73 plugins/mail_fetch/*.php --output=po/squirrelmail.pot
5e9a440b 74xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 75 plugins/message_details/*.php --output=po/squirrelmail.pot
5e9a440b 76xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 77 plugins/newmail/*.php --output=po/squirrelmail.pot
5e9a440b 78xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 79 plugins/sent_subfolders/*.php --output=po/squirrelmail.pot
5e9a440b 80xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 81 plugins/spamcop/*.php --output=po/squirrelmail.pot
5e9a440b 82xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 83 plugins/squirrelspell/*.php --output=po/squirrelmail.pot
5e9a440b 84xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 85 plugins/squirrelspell/modules/*.mod \
86 --output=po/squirrelmail.pot
5e9a440b 87xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 88 plugins/translate/*.php --output=po/squirrelmail.pot
405ea34b 89
a3f7bbd8 90# ** templates
91xgettext ${XGETTEXT_OPTIONS} -j \
92 templates/*.php --output=po/squirrelmail.pot
93xgettext ${XGETTEXT_OPTIONS} -j \
94 templates/default/*.tpl --output=po/squirrelmail.pot
95
5e9a440b 96xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 97 po/independent_strings.txt --output=po/squirrelmail.pot
3fd1252d 98
e7a2b2b3 99cd po