diff options
author | Josip Rodin <joy> | 2001-03-19 13:00:12 +0000 |
---|---|---|
committer | Josip Rodin <joy> | 2001-03-19 13:00:12 +0000 |
commit | 63e33a0260fb76b26a5f8dc88865c8f4179c31e2 (patch) | |
tree | a83d058398ea4e24ac4d36b997575461a6c23420 /check_trans.pl | |
parent | ce143d6b0ef733f0bdc147c98f22160ced73aa93 (diff) |
changed the message that is displayed for files that have no translation-check tag
CVS version numbers
check_trans.pl: 1.17 -> 1.18
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-x | check_trans.pl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/check_trans.pl b/check_trans.pl index 2ecf9938393..bdb406d851c 100755 --- a/check_trans.pl +++ b/check_trans.pl @@ -410,8 +410,13 @@ sub check_file { $translator =~ s/^\s*(.*?)\s*/$1/; - $oldr ||= '1.1'; - my $str = "NeedToUpdate $name from version $oldr to version $revision"; + my $str; + if (!$oldr) { + $oldr = '1.1'; + $str = "Unknown status of $name (revision should be $revision)" + } else { + $str = "NeedToUpdate $name from version $oldr to version $revision"; + } $str .= " (maintainer: $translator)" if $translator; $str .= "\n"; print $str unless $opt_Q; |