[Koha-cvs] CVS: koha/misc/translator VerboseWarnings.pm,1.2,1.3
Ambrose C. LI
acli at users.sourceforge.net
Mon Feb 23 20:56:51 CET 2004
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes about-top.inc,1.7.2.2,1.7.2.3 acquisitions-top.inc,1.15,1.15.2.1 cat-top.inc,1.18.2.1,1.18.2.2 circulation-top.inc,1.21,1.21.2.1 issues-top.inc,1.6.2.1,1.6.2.2 members-top.inc,1.17,1.17.2.1 opac-top.inc,1.7,1.7.2.1 parameters-top.inc,1.18,1.18.2.1 reports-top.inc,1.14,1.14.2.1
- Next message: [Koha-cvs] CVS: koha/misc/translator tmpl_process3.pl,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/koha/koha/misc/translator
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2582
Modified Files:
VerboseWarnings.pm
Log Message:
Bit a bit lenient on whether a file name has been set
Index: VerboseWarnings.pm
===================================================================
RCS file: /cvsroot/koha/koha/misc/translator/VerboseWarnings.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** VerboseWarnings.pm 17 Feb 2004 02:45:27 -0000 1.2
--- VerboseWarnings.pm 23 Feb 2004 19:56:47 -0000 1.3
***************
*** 61,65 ****
unless defined $appName;
die "construct_warn_prefix called before set_input_file_name"
! unless defined $input;
die "construct_warn_prefix called before set_pedantic_mode"
unless defined $pedantic_tag;
--- 61,65 ----
unless defined $appName;
die "construct_warn_prefix called before set_input_file_name"
! unless defined $input || !defined $lc; # be a bit lenient
die "construct_warn_prefix called before set_pedantic_mode"
unless defined $pedantic_tag;
***************
*** 68,72 ****
# FIXME: This wording is worse than what was there, but it's wrong to
# FIXME: hard-code this thing in each warn statement. Need improvement.
! return "$appName: $prefix: " . (defined $lc? "$input_abbr: line $lc: ": "$input_abbr: ");
}
--- 68,72 ----
# FIXME: This wording is worse than what was there, but it's wrong to
# FIXME: hard-code this thing in each warn statement. Need improvement.
! return "$appName: $prefix: " . (defined $lc? "$input_abbr: line $lc: ": defined $input_abbr? "$input_abbr: ": '');
}
- Previous message: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/includes about-top.inc,1.7.2.2,1.7.2.3 acquisitions-top.inc,1.15,1.15.2.1 cat-top.inc,1.18.2.1,1.18.2.2 circulation-top.inc,1.21,1.21.2.1 issues-top.inc,1.6.2.1,1.6.2.2 members-top.inc,1.17,1.17.2.1 opac-top.inc,1.7,1.7.2.1 parameters-top.inc,1.18,1.18.2.1 reports-top.inc,1.14,1.14.2.1
- Next message: [Koha-cvs] CVS: koha/misc/translator tmpl_process3.pl,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Koha-cvs
mailing list