Added Survey Template i18n and hoverhelp

This commit is contained in:
Patrick Donelan 2009-02-11 09:25:17 +00:00
parent 99b19aa180
commit ba6764065b
2 changed files with 114 additions and 57 deletions

View file

@ -110,69 +110,70 @@ sub definition {
label => $i18n->get('Max user responses'),
hoverHelp => $i18n->get('Max user responses help'),
},
overviewTemplateId => {
tab => 'display',
fieldType => 'template',
defaultValue => 'PBtmpl0000000000000063',
label => 'Overview template id',
namespace => 'Survey/Overview',
},
gradebookTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Grabebook template id',
defaultValue => 'PBtmpl0000000000000062',
namespace => 'Survey/Gradebook',
},
responseTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Response template id',
defaultValue => 'PBtmpl0000000000000064',
namespace => 'Survey/Response',
},
surveyEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Survey edit template id',
defaultValue => 'GRUNFctldUgop-qRLuo_DA',
namespace => 'Survey/Edit',
},
surveyTakeTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Take survey template id',
label => $i18n->get('Take Survey Template'),
hoverHelp => $i18n->get('Take Survey Template help'),
defaultValue => 'd8jMMMRddSQ7twP4l1ZSIw',
namespace => 'Survey/Take',
},
surveyQuestionsId => {
tab => 'display',
fieldType => 'template',
label => 'Questions template id',
label => $i18n->get('Questions Template'),
hoverHelp => $i18n->get('Questions Template help'),
defaultValue => 'CxMpE_UPauZA3p8jdrOABw',
namespace => 'Survey/Take',
},
surveyEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => $i18n->get('Survey Edit Template'),
hoverHelp => $i18n->get('Survey Edit Template help'),
defaultValue => 'GRUNFctldUgop-qRLuo_DA',
namespace => 'Survey/Edit',
},
sectionEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Section Edit Tempalte',
label => $i18n->get('Section Edit Template'),
hoverHelp => $i18n->get('Section Edit Template help'),
defaultValue => '1oBRscNIcFOI-pETrCOspA',
namespace => 'Survey/Edit',
},
questionEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Question Edit Tempalte',
label => $i18n->get('Question Edit Template'),
hoverHelp => $i18n->get('Question Edit Template help'),
defaultValue => 'wAc4azJViVTpo-2NYOXWvg',
namespace => 'Survey/Edit',
},
answerEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Answer Edit Tempalte',
label => $i18n->get('Answer Edit Template'),
hoverHelp => $i18n->get('Answer Edit Template help'),
defaultValue => 'AjhlNO3wZvN5k4i4qioWcg',
namespace => 'Survey/Edit',
},
overviewTemplateId => {
tab => 'display',
fieldType => 'template',
defaultValue => 'PBtmpl0000000000000063',
label => $i18n->get('Overview Report Template'),
hoverHelp => $i18n->get('Overview Report Template help'),
namespace => 'Survey/Overview',
},
gradebookTemplateId => {
tab => 'display',
fieldType => 'template',
label => $i18n->get('Grabebook Report Template'),
hoverHelp => $i18n->get('Grabebook Report Template help'),
defaultValue => 'PBtmpl0000000000000062',
namespace => 'Survey/Gradebook',
},
);
push(

View file

@ -540,6 +540,86 @@ the time limit for completing the survey. This message is in the 'take survey' t
message => q|The maximum number of times an individual user is allowed to complete the Survey.|,
lastUpdated => 0,
},
'Overview Report Template' => {
message => q|Overview Report Template|,
lastUpdated => 0,
},
'Overview Report Template help' => {
message => q|The template used to display the Overview Report.|,
lastUpdated => 0,
},
'Grabebook Report Template' => {
message => q|Grabebook Report Template|,
lastUpdated => 0,
},
'Grabebook Report Template help' => {
message => q|The template used to display the Gradebook Report|,
lastUpdated => 0,
},
'Survey Edit Template' => {
message => q|Survey Edit Template|,
lastUpdated => 0,
},
'Survey Edit Template help' => {
message => q|The template used to display the Survey Edit screen.|,
lastUpdated => 0,
},
'Take Survey Template' => {
message => q|Take Survey Template|,
lastUpdated => 0,
},
'Take Survey Template help' => {
message => q|The template used to control the initial Take Survey screen, from which responses are dynamically loaded into.|,
lastUpdated => 0,
},
'Questions Template' => {
message => q|Questions Template|,
lastUpdated => 0,
},
'Questions Template help' => {
message => q|The template used to display individual questions, which are dynamically loaded into the Take Survey page.|,
lastUpdated => 0,
},
'Section Edit Template' => {
message => q|Section Edit Template|,
lastUpdated => 0,
},
'Section Edit Template help' => {
message => q|The template used to display the Section Edit dialog on the Edit Survey page.|,
lastUpdated => 0,
},
'Question Edit Template' => {
message => q|Question Edit Template|,
lastUpdated => 0,
},
'Question Edit Template help' => {
message => q|The template used to display the Question Edit dialog on the Edit Survey page.|,
lastUpdated => 0,
},
'Answer Edit Template' => {
message => q|Answer Edit Template|,
lastUpdated => 0,
},
'Answer Edit Template help' => {
message => q|The template used to display the Answer Edit dialog on the Edit Survey page.|,
lastUpdated => 0,
},
'percentage label' => {
message => q|Percentage|,
@ -800,12 +880,6 @@ directly inside the answer_loop for other types of questions.|,
lastUpdated => 0,
},
'templateId' => {
message => q|The ID of the template to show the Survey.|,
context => q|Description of a template variable for a template Help page.|,
lastUpdated => 1168639537,
},
'groupToTakeSurvey' => {
message => q|The ID of the group that is allowed to take the Survey.|,
context => q|Description of a template variable for a template Help page.|,
@ -824,24 +898,6 @@ directly inside the answer_loop for other types of questions.|,
lastUpdated => 1168643566,
},
'overviewTemplateId' => {
message => q|The ID of the template used to show the overview screen.|,
context => q|Description of a template variable for a template Help page.|,
lastUpdated => 1168643669,
},
'gradebookTemplateId' => {
message => q|The ID of the template used to show the gradebook screen.|,
context => q|Description of a template variable for a template Help page.|,
lastUpdated => 1168643669,
},
'responseTemplateId' => {
message => q|The ID of the template used to show the Survey Response screen.|,
context => q|Description of a template variable for a template Help page.|,
lastUpdated => 1168643669,
},
'survey questions template title' => {
message => q|Survey Questions Template|,
context => q|The title of a template Help page.|,