root/tags/omega-1.0.0-rc3/tools/makemsgs

Revision 776, 0.8 kB (checked in by raphael, 1 year ago)

Fixed #610: Table 'ispcp.log015' doesn't exist
Fixed #603: adding subdomain to a domain with special chars
Page messages are now displayed on login page
Fixed #608: html entities in emails
Servicemode is now Maintenance mode

  • 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 sed --in-place 's/msgid "encoding"/#. Please ignore this entry\nmsgid "encoding"/' ${GUI}../language-files/ispCP.pot
26
27 exit 1
Note: See TracBrowser for help on using the browser.