cvs: docweb /scripts gen_translation_info.sh
[email protected] ("Philip Olson")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsphilip1229136366@cvsserver> |
philip Sat Dec 13 02:46:06 2008 UTC
Added files:
/docweb/scripts gen_translation_info.sh
Log:
Added script to run all of the translation tools found in phpdoc/scripts/
http://cvs.php.net/viewvc.cgi/docweb/scripts/gen_translation_info.sh?view=markup&rev=1.1
Index: docweb/scripts/gen_translation_info.sh
+++ docweb/scripts/gen_translation_info.sh
#!/bin/sh.. `dirname $0`/../build-ops
cd ${CVSDIR}
TRANSPATH=${DOCWEB}/www/trantools;
LANGS=`$PHP -r 'include "phpweb/include/languages.inc"; echo implode( " ", array_keys( $LANGUAGES ) );'`;
cd phpdoc-all
for LANG in $LANGS; do
$PHP -n -d error_reporting=0 scripts/check-trans.php ${LANG} > $TRANSPATH/transcheck_${LANG}.html
$PHP -n -d error_reporting=0 scripts/revcheck.php ${LANG} > $TRANSPATH/revcheck_${LANG}.html
$PHP -n -d error_reporting=0 scripts/check-trans-maint.php -n -l ${LANG} > $TRANSPATH/maintainer_${LANG}.html
$PHP -n -d error_reporting=0 scripts/check-trans-params.php ${LANG} 1 1 > $TRANSPATH/params_${LANG}.html
done