[geeklog-cvs] Translator getstrings,1.2,1.3
tony at iowaoutdoors.org
tony at iowaoutdoors.org
Thu Aug 12 16:08:47 EDT 2004
Update of /var/cvs/Translator
In directory www:/tmp/cvs-serv29213
Modified Files:
getstrings
Log Message:
constructor for StringExtractor now takes --langdesc
Index: getstrings
===================================================================
RCS file: /var/cvs/Translator/getstrings,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** getstrings 19 Jul 2004 20:38:33 -0000 1.2
--- getstrings 12 Aug 2004 20:08:45 -0000 1.3
***************
*** 3,24 ****
/**
! * Translations Library - getstrings
! *
! * This source file is subject to version 2.02 of the PHP license, that is bundled with this package
! * in the file LICENSE, and is available at through the world-wide-web at
! * http://www.php.net/license/2_02.txt. If you did not receive a copy of the PHP license and are
! * unable to obtain it through the world-wide-web, please send a note to license at php.net so we can
! * mail you a copy immediately.
! *
! * Here's an example of how to use this command:
! * ./getstrings --lang=en --source=./tmp/ --target=./output/ --appname=Geeklog --appversion=2.0
! * --author="Tony Bibbs" --email=tony at geeklog.net
! *
! * @author Tony Bibbs <tony at geeklog.net>
! * @copyright Tony Bibbs 2003-2004
! * @package net.geeklog.translations
! * @version $Id$
! *
! */
require_once 'StringExtractor.class.php';
--- 3,24 ----
/**
! * Translations Library - getstrings
! *
! * This source file is subject to version 2.02 of the PHP license, that is bundled with this package
! * in the file LICENSE, and is available at through the world-wide-web at
! * http://www.php.net/license/2_02.txt. If you did not receive a copy of the PHP license and are
! * unable to obtain it through the world-wide-web, please send a note to license at php.net so we can
! * mail you a copy immediately.
! *
! * Here's an example of how to use this command:
! * ./getstrings --lang=en --langdesc=English --source=./tmp/ --target=./output/ --appname=Geeklog
! * --appversion=2.0 --author="Tony Bibbs" --email=tony at geeklog.net
! *
! * @author Tony Bibbs <tony at geeklog.net>
! * @copyright Tony Bibbs 2003-2004
! * @package net.geeklog.translations
! * @version $Id$
! *
! */
require_once 'StringExtractor.class.php';
***************
*** 38,42 ****
}
! $extractor = new StringExtractor($argArray['--lang']);
$extractor->getStrings($argArray);
--- 38,46 ----
}
! if (empty($argArray['--langdesc'])) {
! $argArray['--langdesc'] == 'English';
! }
!
! $extractor = new StringExtractor($argArray['--lang'], $argArray['--langdesc']);
$extractor->getStrings($argArray);
More information about the geeklog-cvs
mailing list