aboutsummaryrefslogtreecommitdiffstats
path: root/check_trans.pl
diff options
context:
space:
mode:
authorBas Zoetekouw <bas>2008-09-30 19:04:39 +0000
committerBas Zoetekouw <bas>2008-09-30 19:04:39 +0000
commit39d1699093c380c7664132a2f41bfac2f22b9011 (patch)
tree8b72c44df3a006ded41fdd4bd0df674e5b5a68c3 /check_trans.pl
parent6f80b1a76fe743a6c0ac7647f0e2663c4d3db126 (diff)
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
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-xcheck_trans.pl21
1 files changed, 12 insertions, 9 deletions
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";

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