updated po2wml and po2man

This commit is contained in:
Runa A. Sandvik 2011-03-18 10:20:24 +00:00
parent 0e75fe31a9
commit 5c4c2ee36e
2 changed files with 6 additions and 1 deletions

View File

@ -36,6 +36,11 @@ po=`find $podir -type f -name \*.1.po`
# For every po found, create and/or update the translated manpage.
for file in $po ; do
# Validate input and write results to a log file
validate_script="`dirname $wmldir`/translation/tools/validate.py"
validate_log="`dirname $wmldir`/manpages-validate.log"
python "$validate_script" -i "$file" -l "$validate_log"
# Get the basename of the file we are dealing with
pofile=`basename $file`

View File

@ -64,7 +64,7 @@ for file in $po ; do
# Validate input and write results to a log file
validate_script="`dirname $wmldir`/translation/tools/validate.py"
validate_log="`dirname $wmldir`/validate.log"
validate_log="`dirname $wmldir`/website-validate.log"
python "$validate_script" -i "$file" -l "$validate_log"
# Get the basename of the file we are dealing with