String update
[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#
859f2151 10XGETTEXT_OPTIONS="--keyword=_ -keyword=N_ --keyword=ngettext:1,2 --default-domain=squirrelmail --no-location --add-comments"
11
12# Allows controlling language option
13# (gettext v.0.10.40 = -C, gettext 0.11+ = -L php).
14if [ $SM_LANG_PHP ] ; then
15 XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -L php";
16else
17 XGETTEXT_OPTIONS="${XGETTEXT_OPTIONS} -C";
18fi
19
20
e7a2b2b3 21cd ..
5e9a440b 22xgettext ${XGETTEXT_OPTIONS} \
e7a2b2b3 23 src/*.php --output=po/squirrelmail.pot
5e9a440b 24xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 25 functions/*.php --output=po/squirrelmail.pot
5e9a440b 26xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 27 class/*.php --output=po/squirrelmail.pot
5e9a440b 28xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 29 class/mime/*.php --output=po/squirrelmail.pot
5e9a440b 30xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 31 class/deliver/*.php --output=po/squirrelmail.pot
5e9a440b 32xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 33 class/helper/*.php --output=po/squirrelmail.pot
5e9a440b 34xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 35 class/l10n/*.php --output=po/squirrelmail.pot
5e9a440b 36xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 37 include/*.php --output=po/squirrelmail.pot
0f98b4c7 38xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 39 include/options/*.php --output=po/squirrelmail.pot
40xgettext ${XGETTEXT_OPTIONS} -j \
41 images/themes/*/*.php --output=po/squirrelmail.pot
3fd1252d 42
43# ** Plugins
44
5e9a440b 45xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 46 plugins/abook_take/*.php --output=po/squirrelmail.pot
5e9a440b 47xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 48 plugins/administrator/*.php --output=po/squirrelmail.pot
5e9a440b 49xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 50 plugins/bug_report/*.php --output=po/squirrelmail.pot
5e9a440b 51xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 52 plugins/calendar/*.php --output=po/squirrelmail.pot
5e9a440b 53xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 54 plugins/change_password/*.php --output=po/squirrelmail.pot
b8923d20 55xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 56 plugins/change_password/backend/*.php --output=po/squirrelmail.pot
b8923d20 57xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 58 plugins/filters/*.php --output=po/squirrelmail.pot
5e9a440b 59xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 60 plugins/fortune/*.php --output=po/squirrelmail.pot
5e9a440b 61xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 62 plugins/info/*.php --output=po/squirrelmail.pot
5e9a440b 63xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 64 plugins/listcommands/*.php --output=po/squirrelmail.pot
5e9a440b 65xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 66 plugins/mail_fetch/*.php --output=po/squirrelmail.pot
5e9a440b 67xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 68 plugins/message_details/*.php --output=po/squirrelmail.pot
5e9a440b 69xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 70 plugins/newmail/*.php --output=po/squirrelmail.pot
5e9a440b 71xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 72 plugins/sent_subfolders/*.php --output=po/squirrelmail.pot
5e9a440b 73xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 74 plugins/spamcop/*.php --output=po/squirrelmail.pot
5e9a440b 75xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 76 plugins/squirrelspell/*.php --output=po/squirrelmail.pot
5e9a440b 77xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 78 plugins/squirrelspell/modules/*.mod \
79 --output=po/squirrelmail.pot
5e9a440b 80xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 81 plugins/translate/*.php --output=po/squirrelmail.pot
405ea34b 82
5e9a440b 83xgettext ${XGETTEXT_OPTIONS} -j \
e7a2b2b3 84 po/independent_strings.txt --output=po/squirrelmail.pot
3fd1252d 85
e7a2b2b3 86cd po