Runa A. Sandvik commited on 2011-03-18 11:20:24
Zeige 2 geänderte Dateien mit 6 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -36,6 +36,11 @@ po=`find $podir -type f -name \*.1.po` |
| 36 | 36 |
# For every po found, create and/or update the translated manpage. |
| 37 | 37 |
for file in $po ; do |
| 38 | 38 |
|
| 39 |
+ # Validate input and write results to a log file |
|
| 40 |
+ validate_script="`dirname $wmldir`/translation/tools/validate.py" |
|
| 41 |
+ validate_log="`dirname $wmldir`/manpages-validate.log" |
|
| 42 |
+ python "$validate_script" -i "$file" -l "$validate_log" |
|
| 43 |
+ |
|
| 39 | 44 |
# Get the basename of the file we are dealing with |
| 40 | 45 |
pofile=`basename $file` |
| 41 | 46 |
|
| ... | ... |
@@ -64,7 +64,7 @@ for file in $po ; do |
| 64 | 64 |
|
| 65 | 65 |
# Validate input and write results to a log file |
| 66 | 66 |
validate_script="`dirname $wmldir`/translation/tools/validate.py" |
| 67 |
- validate_log="`dirname $wmldir`/validate.log" |
|
| 67 |
+ validate_log="`dirname $wmldir`/website-validate.log" |
|
| 68 | 68 |
python "$validate_script" -i "$file" -l "$validate_log" |
| 69 | 69 |
|
| 70 | 70 |
# Get the basename of the file we are dealing with |
| 71 | 71 |