Revert r11748 - the based-on-revision "fix" that broke it all :)
Peter Palfrader

Peter Palfrader commited on 2007-10-08 23:26:35
Zeige 1 geänderte Dateien mit 1 Einfügungen und 2 Löschungen.

... ...
@@ -52,8 +52,7 @@ sub translation_get_basedonrevision_langfile($$$) {
52 52
 
53 53
 	die ("Cannot find 'Based-On-Revision' header in translations's translation metadata of $lang/$page") unless exists $translation->{'Based-On-Revision'};
54 54
 
55
-#	my ($rev) = $translation->{'Based-On-Revision'};
56
-	my ($rev) = $translation->{'Based-On-Revision'} =~ m/([0-9.]+)/;
55
+	my ($rev) = $translation->{'Based-On-Revision'};
57 56
 	if ($rev eq '') { $rev = '(unknown)'; };
58 57
 
59 58
 	return $rev
60 59