[tor-commits] r24384: {website} updated po2wml and po2man (in website/trunk: . manpages)

Runa Sandvik runa.sandvik at gmail.com
Fri Mar 18 10:20:24 UTC 2011


Author: runa
Date: 2011-03-18 10:20:24 +0000 (Fri, 18 Mar 2011)
New Revision: 24384

Modified:
   website/trunk/manpages/po2man.sh
   website/trunk/po2wml.sh
Log:
updated po2wml and po2man

Modified: website/trunk/manpages/po2man.sh
===================================================================
--- website/trunk/manpages/po2man.sh	2011-03-18 08:52:46 UTC (rev 24383)
+++ website/trunk/manpages/po2man.sh	2011-03-18 10:20:24 UTC (rev 24384)
@@ -36,6 +36,11 @@
 # 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`
 

Modified: website/trunk/po2wml.sh
===================================================================
--- website/trunk/po2wml.sh	2011-03-18 08:52:46 UTC (rev 24383)
+++ website/trunk/po2wml.sh	2011-03-18 10:20:24 UTC (rev 24384)
@@ -64,7 +64,7 @@
 
 	# 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



More information about the tor-commits mailing list