From 39d1699093c380c7664132a2f41bfac2f22b9011 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Tue, 30 Sep 2008 19:04:39 +0000 Subject: Remove overly strict check for translation headers that would also fire on translations of translations CVS version numbers check_trans.pl: 1.69 -> 1.70 --- check_trans.pl | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'check_trans.pl') diff --git a/check_trans.pl b/check_trans.pl index 7c0821ceac6..79df3073b9f 100755 --- a/check_trans.pl +++ b/check_trans.pl @@ -220,15 +220,18 @@ sub verbose; if ( $rev ) { - if ( not $original_lang ) - { - # TODO: ideally, this would also be mailed out to the - # translation team - warn "`$file_orig' has a revision header but no origin language"; - next; - } - - if ( $original_lang eq $language ) + ## This check is too strict: some translators like to translate + ##from other translations rather than from the original english + ##(see e.g., danish/international/Norwegian.wml) + #if ( not $original_lang ) + #{ + # # TODO: ideally, this would also be mailed out to the + # # translation team + # warn "`$file_orig' has a revision header but no origin language\n"; + # next; + #} + + if ( $original_lang and $original_lang eq $language ) { verbose "`$file_orig' is a translation from $language"; -- cgit v1.2.3