cvs: docweb /scripts gen_translation_info.sh
| From: | Philip Olson | Date: | Sat, 13 Dec 2008 02:46:06 +0000 |
| Subject: | cvs: docweb /scripts gen_translation_info.sh | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-1026@lists.php.net to get a copy of this message | ||
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