|
From: Mark K. <seg...@us...> - 2002-12-18 20:13:17
|
Update of /cvsroot/formmagick/formmagick/lib/CGI/FormMagick
In directory sc8-pr-cvs1:/tmp/cvs-serv10202/lib/CGI/FormMagick
Modified Files:
Tag: MITEL-0_87
L10N.pm
Log Message:
Sync CVS repository with Mitel changes to date. Remove Persistence::Object::Simple and CGI::Persistent from the repository. use RFC822 to parse email addresses in Network validator. Trim blanks from XML lexicon entries. Updated changelog.
Index: L10N.pm
===================================================================
RCS file: /cvsroot/formmagick/formmagick/lib/CGI/FormMagick/L10N.pm,v
retrieving revision 1.37.2.1
retrieving revision 1.37.2.2
diff -C2 -r1.37.2.1 -r1.37.2.2
*** L10N.pm 26 Sep 2002 17:46:25 -0000 1.37.2.1
--- L10N.pm 18 Dec 2002 20:13:13 -0000 1.37.2.2
***************
*** 347,352 ****
$trans = $e->{content}->[8]->[2];
if ($base && $trans) {
! $trans =~ /^\s*([\s\S]+\S+)\s*$/; #strip leading/trailing blanks
! $trans = $1;
$return_lexicon{$base} = ($iconv
? $iconv->convert($trans)
--- 347,352 ----
$trans = $e->{content}->[8]->[2];
if ($base && $trans) {
! $trans =~ s/^\s*//; # Remove leading whitespace
! $trans =~ s/\s*$//; # Remove trailing space
$return_lexicon{$base} = ($iconv
? $iconv->convert($trans)
|