aboutsummaryrefslogtreecommitdiffstats
path: root/check_desc_trans.pl
diff options
context:
space:
mode:
authorBas Zoetekouw <bas>2008-10-06 20:14:00 +0000
committerBas Zoetekouw <bas>2008-10-06 20:14:00 +0000
commiteba90c822e98249c771c1b67c5dd49e8418e7960 (patch)
tree7d1935c14e47d3fb2ac2cec2d19dea74441d35e8 /check_desc_trans.pl
parent660212125827f1419e70f61c5313e6e4ac26d445 (diff)
Output complete filenames relative to the webwml dir for clarity.
CVS version numbers check_desc_trans.pl: 1.7 -> 1.8
Diffstat (limited to 'check_desc_trans.pl')
-rwxr-xr-xcheck_desc_trans.pl12
1 files changed, 6 insertions, 6 deletions
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy