From eba90c822e98249c771c1b67c5dd49e8418e7960 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Mon, 6 Oct 2008 20:14:00 +0000 Subject: Output complete filenames relative to the webwml dir for clarity. CVS version numbers check_desc_trans.pl: 1.7 -> 1.8 --- check_desc_trans.pl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'check_desc_trans.pl') diff --git a/check_desc_trans.pl b/check_desc_trans.pl index 1465deb683e..cf249bf0193 100755 --- a/check_desc_trans.pl +++ b/check_desc_trans.pl @@ -181,13 +181,13 @@ sub check_all # check if the info from vcs and from the fs are consistent if ( -e $file_english and not exists $revinfo->{$file} ) { - warn "$file: english version found, but no revision info available!\n"; + warn "$file_english: english version found, but no revision info available!\n"; next; } # check if the info from translation-check and from the fs are consistent if ( -e $file_transl and not exists $files->{$file} ) { - warn "$file: $lang version found, but not found in a translation-check file!\n"; + warn "$file_transl: $lang version found, but not found in a translation-check file!\n"; next; } @@ -198,7 +198,7 @@ sub check_all if ( vcs_cmp_rev( $files->{$file}, $revinfo->{$file}->{'cmt_rev'} ) == -1 ) { $nr_old++; - print color('blue'), $file, color('reset'); + print color('blue'), $file_transl, color('reset'); printf ": needs to be updated from revision %s to revison %s\n", $files->{$file}, $revinfo->{$file}->{'cmt_rev'}; } @@ -206,7 +206,7 @@ sub check_all elsif ( vcs_cmp_rev( $files->{$file}, $revinfo->{$file}->{'cmt_rev'} ) == -1 ) { $nr_error++; - print color('blue'), $file, color('reset'); + print color('blue'), $file_transl, color('reset'); printf ": %s revision %s is larger than english revision %s\n", $lang, $files->{$file}, $revinfo->{$file}->{'cmt_rev'}; } @@ -220,14 +220,14 @@ sub check_all elsif ( -e $file_english ) { $nr_needtrans++; - print color('blue'), $file, color('reset'); + print color('blue'), $file_transl, color('reset'); printf ": need to translate revision %s\n", $revinfo->{$file}->{'cmt_rev'}; } # translation exists, but original has been removed elsif ( -e $file_transl ) { $nr_obsolete++; - print color('blue'), $file, color('reset'); + print color('blue'), $file_transl, color('reset'); print ": no english file found!\n"; } # weirdness -- cgit v1.2.3