--- loncom/html/adm/helper/parameter.helper 2003/09/29 16:33:41 1.6 +++ loncom/html/adm/helper/parameter.helper 2005/01/21 22:59:54 1.13 @@ -49,13 +49,13 @@ Which problems do you wish to set a parameter for? - Every problem in the course + Course default for all problems - Every problem in a particular folder + Every problem in a particular folder (overrides course default) - One particular problem + One particular problem (overrides folder and course defaults) @@ -73,7 +73,7 @@ Select the problem you wish to set the parameter for: - + CHOOSE_ACTION return $res->is_map || $res->is_problem() return $res->is_problem() @@ -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 ...';