[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc/translator tmpl_process.pl,1.2,1.3
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/misc/translator tmpl_process.pl,1.2,1.3 |
Date: |
Mon, 08 Dec 2003 05:36:58 -0800 |
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};
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc/translator tmpl_process.pl,1.2,1.3,
Paul POULAIN <=