Diff for /loncom/localize/localize/checksimilar_2files.pl between versions 1.1 and 1.2

version 1.1, 2010/03/09 15:16:26 version 1.2, 2010/08/03 13:00:21
Line 48  sub CourseCommunity { Line 48  sub CourseCommunity {
     my $text1 = shift;      my $text1 = shift;
     my $text2 = shift;      my $text2 = shift;
           
     $text1 =~ s/courses//gi;      $text1 =~ s/courses/X001X/gi;
     $text1 =~ s/communities//gi;          $text1 =~ s/communities/X001X/gi;    
     $text1 =~ s/course//gi;      $text1 =~ s/course/X002X/gi;
     $text1 =~ s/community//gi;      $text1 =~ s/community/X002X/gi;
     $text2 =~ s/courses//gi;      $text2 =~ s/courses/X001X/gi;
     $text2 =~ s/communities//gi;      $text2 =~ s/communities/X001X/gi;
     $text2 =~ s/course//gi;      $text2 =~ s/course/X002X/gi;
     $text2 =~ s/community//gi;      $text2 =~ s/community/X002X/gi;
   
     if(lc($text1) eq lc($text2)) {      if(lc($text1) eq lc($text2)) {
         return 1;          return 1;

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>