call validate.py before converting files
Runa A. Sandvik

Runa A. Sandvik commited on 2011-03-17 18:35:47
Zeige 1 geänderte Dateien mit 5 Einfügungen und 0 Löschungen.

... ...
@@ -62,6 +62,11 @@ po=`find $podir -regex '^'$podir'/.*/.*\.po' -type f`
62 62
 # For every wml, update po
63 63
 for file in $po ; do
64 64
 
65
+	# Validate input and write results to a log file
66
+	validate_script="`dirname $wmldir`/translation/tools/validate.py"
67
+	validate_log="`dirname $wmldir`/validate.log"
68
+	python "$validate_script" -i "$file" -l	"$validate_log"
69
+	
65 70
 	# Get the basename of the file we are dealing with
66 71
 	pofile=`basename $file`
67 72
 
68 73