diff options
author | Josip Rodin <joy> | 2001-07-22 17:40:13 +0000 |
---|---|---|
committer | Josip Rodin <joy> | 2001-07-22 17:40:13 +0000 |
commit | a5178740ed5a5d99eb80c30db2e9b4071fbca053 (patch) | |
tree | c420c661075cd3b554a0c4a8ff609d7c77caf42f /check_trans.pl | |
parent | 50167aff95e79acf6402524591b98eee5050bc79 (diff) |
ignore a few files that can't be translated (no need for .transignore files when nobody translates these)
CVS version numbers
check_trans.pl: 1.21 -> 1.22
Diffstat (limited to 'check_trans.pl')
-rwxr-xr-x | check_trans.pl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/check_trans.pl b/check_trans.pl index d851f4eb269..6b558dc2e2e 100755 --- a/check_trans.pl +++ b/check_trans.pl @@ -105,6 +105,12 @@ my @en; #english files my $showlog; # boolean #$maintainer = "debian-www\@lists.debian.org"; #adress of maintainer of this script my $maintainer = "mquinson\@ens-lyon.fr"; #adress of maintainer of this script +my $ignorables = "/sitemap.wml " + ."/MailingLists/subscribe.wml " + ."/MailingLists/unsubscribe.wml " + ."/international/l10n/data/countries.wml " + ."/international/l10n/scripts/l10nheader.wml " + ; # $ignorables must end with a space! unless (getopts('vgdqQm:s:p:ln:M')) { @@ -411,9 +417,12 @@ sub check_file { warn "Checking $name english revision $revision\n" if $opt_v; unless (-r $name) { unless ($opt_q) { + ($ename = $name) =~ s/$to//; + if (index($ignorables, "$ename ") < 0) { print "Missing $name version $revision\n" unless $opt_Q; add_part("list","missing","Missing $name version $revision\n"); + } } return; } |