--- loncom/html/adm/helper/parameter.helper 2003/11/24 17:22:11 1.7
+++ loncom/html/adm/helper/parameter.helper 2004/04/27 17:58:35 1.12
@@ -102,8 +102,8 @@
if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) {
- return '"' . $element->getValue() . '" is not '.
- 'an acceptable weight. Weight must be a positive number. ';}
+ return &mt('" [_1] " is not an acceptable weight. Weight must be a positive number.',$element->getValue());
+ }
return undef;
@@ -116,9 +116,7 @@
if ($val !~ /^[1234567890]+$/) {
- return '"' . $element->getValue() . '" is not '.
- 'an acceptable number of tries. Tries must be a positive number ' .
- 'with no decimal point.';}
+ return &mt('" [_1] " is not an acceptable number of tries. Tries must be a positive number with no decimal point.',$element->getValue());}
return undef;
@@ -139,9 +137,9 @@
return 'Set ' .
&{$helper->{DATA}->{'dateType'}}() .
- 'for ' .
+ ' for ' .
&{$helper->{DATA}->{'levelType'}}() .
- ' for. . .';
+ ' for ...';