Added 'max responses per user' i18n and hoverhelp

This commit is contained in:
Patrick Donelan 2009-02-11 09:24:39 +00:00
parent 3601dfe89e
commit 25a6fc5e76
2 changed files with 13 additions and 2 deletions

View file

@ -107,7 +107,8 @@ sub definition {
maxResponsesPerUser => { maxResponsesPerUser => {
fieldType => 'integer', fieldType => 'integer',
defaultValue => 1, defaultValue => 1,
label => 'Max user reponses', label => $i18n->get('Max user responses'),
hoverHelp => $i18n->get('Max user responses help'),
}, },
overviewTemplateId => { overviewTemplateId => {
tab => 'display', tab => 'display',
@ -185,7 +186,7 @@ sub definition {
} }
); );
return $class->SUPER::definition( $session, $definition ); return $class->SUPER::definition( $session, $definition );
} ## end sub definition }
#------------------------------------------------------------------- #-------------------------------------------------------------------

View file

@ -531,6 +531,16 @@ the time limit for completing the survey. This message is in the 'take survey' t
lastUpdated => 1233714385, lastUpdated => 1233714385,
}, },
'Max user responses' => {
message => q|Max user responses|,
lastUpdated => 0,
},
'Max user responses help' => {
message => q|The maximum number of times an individual user is allowed to complete the Survey.|,
lastUpdated => 0,
},
'percentage label' => { 'percentage label' => {
message => q|Percentage|, message => q|Percentage|,
context => q|Label for the Percentage column on the gradebook screen.|, context => q|Label for the Percentage column on the gradebook screen.|,