--- loncom/interface/lonparmset.pm 2009/01/20 18:37:30 1.424
+++ loncom/interface/lonparmset.pm 2009/01/28 17:00:00 1.426
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.424 2009/01/20 18:37:30 bisitz Exp $
+# $Id: lonparmset.pm,v 1.426 2009/01/28 17:00:00 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -974,6 +974,7 @@ sub print_row {
.$$part{$which}.'');
} else {
$parm=~s|\[.*\]\s||g;
+ $parm=&mt($parm);
}
my $automatic=&rulescache(($which=~/\_([^\_]+)$/)[0].'_triggers');
if ($automatic) {
@@ -2294,12 +2295,12 @@ sub crsenv {
my ($name,$domain) = split(':',$user);
if (!defined($user) || !defined($domain)) {
$setoutput.= '
'.
- &mt("Invalid email address specified, address must be of the form username:domain what was specified was ([_1])",$user).
+ &mt("Invalid e-mail address specified, address must be of the form username:domain what was specified was ([_1])",$user).
'';
undef($value);
} elsif (&Apache::lonnet::homeserver($user,$domain) eq 'no_host') {
$setoutput.= '
'.
- &mt("Invalid email address specified, user [_1] is unknown.",$name).
+ &mt("Invalid e-mail address specified, user [_1] is unknown.",$name).
'';
undef($value);
}