--- loncom/html/adm/helper/parameter.helper 2004/04/20 18:15:55 1.9 +++ loncom/html/adm/helper/parameter.helper 2004/04/21 18:32:56 1.10 @@ -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;