[Koha-cvs] CVS: koha/misc/translator tmpl_process.pl,1.2,1.3
Paul POULAIN
tipaul at users.sourceforge.net
Mon Dec 8 14:36:58 CET 2003
Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1:/tmp/cvs-serv4971/misc/translator
Modified Files:
tmpl_process.pl
Log Message:
removing : & * at end of strings
Index: tmpl_process.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/tmpl_process.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** tmpl_process.pl 8 Dec 2003 13:03:28 -0000 1.2
--- tmpl_process.pl 8 Dec 2003 13:36:56 -0000 1.3
***************
*** 222,227 ****
{
$str =~ s/[\n\r\f]+$//; # chomps the trailing \n (or <cr><lf> if file was edited with Windows)
! $str =~ s/^\s+//; # remove trailing blanks
! $str =~ s/\s+$//;
# the line begins with letter(s) followed by optional words and/or spaces
--- 222,227 ----
{
$str =~ s/[\n\r\f]+$//; # chomps the trailing \n (or <cr><lf> if file was edited with Windows)
! $str =~ s/^\s+//; # remove trailing blanks, ':' or '*'
! $str =~ s/\s*\**:*\s*$//;
# the line begins with letter(s) followed by optional words and/or spaces
***************
*** 242,246 ****
close($fh);
}
!
return %{$strhash};
}
--- 242,246 ----
close($fh);
}
!
return %{$strhash};
}
More information about the Koha-cvs
mailing list