--- loncom/html/adm/helper/parameter.helper 2006/05/18 18:54:51 1.17
+++ loncom/html/adm/helper/parameter.helper 2009/07/08 17:55:07 1.18
@@ -104,7 +104,7 @@
if ($val !~ /^[1234567890]+(\.[1234567890]+)?$/) {
- return &mt('" [_1] " is not an acceptable weight. Weight must be a positive number.',$element->getValue());
+ return &mt('[_1] is not an acceptable weight. Weight must be a positive number.','"'.$element->getValue().'"');
}
return undef;
@@ -118,7 +118,7 @@
if ($val !~ /^[1234567890]+$/) {
- return &mt('" [_1] " is not an acceptable number of tries. Tries must be a positive number with no decimal point.',$element->getValue());}
+ return &mt('[_1] is not an acceptable number of tries. Tries must be a positive number with no decimal point.','"'.$element->getValue().'"');}
return undef;