root/branches/ssl-addon/trunk/makemsgs

Revision 747, 0.7 kB (checked in by raphael, 1 year ago)

Removed virtual limits
Added gender field

  • Property svn:executable set to *
Line 
1 #!/bin/sh
2
3 set -e
4
5 if [ $1 ] && [ -d $1 ]; then
6         GUI=${1}/
7 else
8         GUI=gui/
9 fi
10
11 if [ ! -f ${GUI}/index.php ]; then
12         if [ -f ${GUI}/gui/index.php ]; then
13                 GUI=${GUI}/gui/
14         fi
15 fi
16
17 if [ ! -f ${GUI}/index.php ]; then
18         echo "${GUI} isn't a valid gui/ location!"
19         exit 1
20 fi
21
22 #/usr/bin/xgettext --language=PHP --output-dir=${GUI}../language-files --copyright-holder=ispCP\ Team --keyword=tr --no-wrap ${GUI}*.php ${GUI}*/*.php --default-domain=ispCP --output=ispCP.pot
23 /usr/bin/xgettext --language=PHP --output-dir=${GUI}../language-files --copyright-holder=ispCP\ Team --keyword=tr --no-wrap ${GUI}/include/i18n.php ${GUI}*.php ${GUI}*/*.php --default-domain=ispCP --output=ispCP.pot --no-location
24
25 exit 1
Note: See TracBrowser for help on using the browser.