[Koha-cvs] CVS: koha/misc/translator text-extract2.pl,1.8,1.9
Ambrose Li
acli at users.sourceforge.net
Thu Feb 12 19:25:45 CET 2004
Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1003
Modified Files:
text-extract2.pl
Log Message:
Minor wording rewrite in warning
Index: text-extract2.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/text-extract2.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** text-extract2.pl 12 Feb 2004 18:19:17 -0000 1.8
--- text-extract2.pl 12 Feb 2004 18:25:43 -0000 1.9
***************
*** 72,76 ****
$attr{+lc($key)} = [$key, $val, $val_orig, $i];
$s = $rest;
! warn "Warning: Attribute unquoted but needs quoting"
. (defined $lc? " in line $lc": '') . ": $val_orig\n"
if $val =~ /[^-\.A-Za-z0-9]/s && $val_orig !~ /^['"]/;
--- 72,76 ----
$attr{+lc($key)} = [$key, $val, $val_orig, $i];
$s = $rest;
! warn "Warning: Attribute should be quoted"
. (defined $lc? " in line $lc": '') . ": $val_orig\n"
if $val =~ /[^-\.A-Za-z0-9]/s && $val_orig !~ /^['"]/;
***************
*** 79,83 ****
warn "Warning: Strange attribute syntax"
. (defined $lc? " in line $lc": '') . ": $s\n";
- } else {
}
return \%attr;
--- 79,82 ----
More information about the Koha-cvs
mailing list