--- loncom/html/adm/helper/parameter.helper 2004/04/20 18:03:00 1.8
+++ loncom/html/adm/helper/parameter.helper 2004/04/27 15:14:56 1.11
@@ -102,8 +102,8 @@
if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) {
- return '"' . $element->getValue() . '" is not '.
- 'an acceptable weight. Weight must be a positive number. ';}
+ return '"'.$element->getValue().'" '.&mt('is not an acceptable weight. Weight must be a positive number.');
+ }
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 '"' . $element->getValue() . '" '.&mt('is not an acceptable number of tries. Tries must be a positive number with no decimal point.');}
return undef;
@@ -141,7 +139,7 @@
&{$helper->{DATA}->{'dateType'}}() .
' for ' .
&{$helper->{DATA}->{'levelType'}}() .
- ' for. . .';
+ ' for ...';