mirror of
https://github.com/torproject/webwml.git
synced 2024-11-27 19:50:22 +00:00
updated po2wml and po2man
This commit is contained in:
parent
0e75fe31a9
commit
5c4c2ee36e
@ -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`
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user