aboutsummaryrefslogtreecommitdiffstats
path: root/stattrans.pl
diff options
context:
space:
mode:
authorJosip Rodin <joy>2001-07-22 19:07:42 +0000
committerJosip Rodin <joy>2001-07-22 19:07:42 +0000
commit7ff703915770b1bed72990f90bee6fc13ea72e87 (patch)
tree1a1a750493b344b19b943ddc7ae7f79c48b7e55d /stattrans.pl
parent7cb986ed078a777f7deedc83a3ab53e4ac278157 (diff)
argh. this is the right match.
CVS version numbers stattrans.pl: 1.22 -> 1.23
Diffstat (limited to 'stattrans.pl')
-rwxr-xr-xstattrans.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/stattrans.pl b/stattrans.pl
index 0b282fc3225..0c521ce3206 100755
--- a/stattrans.pl
+++ b/stattrans.pl
@@ -241,7 +241,7 @@ foreach $lang (@search_in) {
next if ($file eq "");
# Translated pages
if (index ($wmlfiles{$lang}, " $file ") >= 0) {
- if ($file =~ /devel\/wnpp\/wnpp\.wml/) {
+ if ($file eq "devel/wnpp/wnpp") {
$t_body .= sprintf "%s<br>\n", $file;
} else {
$t_body .= sprintf "<a href=\"/%s.%s.html\">%s</a><br>\n", $file, $l, $file;
@@ -252,7 +252,7 @@ foreach $lang (@search_in) {
$msg = check_translation ($version{"$lang/$file"}, $version{"english/$file"}, "$lang/$file");
if (length ($msg)) {
$o_body .= "<tr>";
- if ($file =~ /devel\/wnpp\/wnpp\.wml/) {
+ if ($file eq "devel/wnpp/wnpp") {
$o_body .= sprintf "<td>%s</td>", $file;
} else {
$o_body .= sprintf "<td><a href=\"/%s.%s.html\">%s</a></td>", $file, $l, $file;
@@ -267,7 +267,7 @@ foreach $lang (@search_in) {
}
# Untranslated pages
else {
- if ($file =~ /devel\/wnpp\/wnpp\.wml/) {
+ if ($file eq "devel/wnpp/wnpp") {
$u_body .= sprintf "%s<br>\n", $file;
} else {
$u_body .= sprintf "<a href=\"/%s\">%s</a><br>\n", $file, $file;

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