i18n the Survey Asset definition, and add hoverhelp.

This commit is contained in:
Colin Kuskie 2009-02-25 04:47:47 +00:00
parent be4749120b
commit ae1d89de3b
3 changed files with 133 additions and 10 deletions

View file

@ -9,6 +9,9 @@
- fixed #9779: Gallery: js for search (datepicker?) included in album view
- fixed #9783: payment methods are not added
- fixed #9785: Delete All button not working in Account/Inbox [TEMPLATE]
- fixed #9803: Survey 2.0- Gradebook spelled wrong
- fixed #9801: Survey 2.0- Template spelled wrong
- fixed #9802: Survey Template field names to be consistent
7.6.12
- fixed: During postback on a recurring transaction, the routine could error out instead of catching an error.

View file

@ -98,70 +98,80 @@ sub definition {
maxResponsesPerUser => {
fieldType => 'integer',
defaultValue => 1,
label => 'Max user reponses',
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',
label => $i18n->get('Survey Overview Template'),
hoverhelp => $i18n->get('Survey Overview Template help'),
},
gradebookTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Grabebook template id',
defaultValue => 'PBtmpl0000000000000062',
namespace => 'Survey/Gradebook',
label => $i18n->get('Gradebook Template'),
hoverhelp => $i18n->get('Gradebook Template help'),
},
responseTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Response template id',
defaultValue => 'PBtmpl0000000000000064',
namespace => 'Survey/Response',
label => $i18n->get('Response Template'),
label => $i18n->get('Response Template help'),
},
surveyEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Survey edit template id',
defaultValue => 'GRUNFctldUgop-qRLuo_DA',
namespace => 'Survey/Edit',
label => $i18n->get('Edit Survey Template'),
hoverhelp => $i18n->get('Edit Survey Template help'),
},
surveyTakeTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Take survey template id',
defaultValue => 'd8jMMMRddSQ7twP4l1ZSIw',
namespace => 'Survey/Take',
label => $i18n->get('Take Survey Template'),
hoverhelp => $i18n->get('Take Survey Template help'),
},
surveyQuestionsId => {
tab => 'display',
fieldType => 'template',
label => 'Questions template id',
defaultValue => 'CxMpE_UPauZA3p8jdrOABw',
namespace => 'Survey/Take',
label => 'Questions Template',
hoverhelp => 'Questions Template help',
},
sectionEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Section Edit Tempalte',
defaultValue => '1oBRscNIcFOI-pETrCOspA',
namespace => 'Survey/Edit',
label => 'Section Edit Template',
hoverhelp => 'Section Edit Template help',
},
questionEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Question Edit Tempalte',
defaultValue => 'wAc4azJViVTpo-2NYOXWvg',
namespace => 'Survey/Edit',
label => 'Question Edit Template',
hoverhelp => 'Question Edit Template help',
},
answerEditTemplateId => {
tab => 'display',
fieldType => 'template',
label => 'Answer Edit Tempalte',
defaultValue => 'AjhlNO3wZvN5k4i4qioWcg',
namespace => 'Survey/Edit',
label => 'Answer Edit Template',
hoverhelp => 'Answer Edit Template help',
},
);

View file

@ -490,6 +490,116 @@ our $I18N = {
lastUpdated => 1233714385,
},
'Max user responses' => {
message => q|Max user responses|,
context => q|The maximum number of times a user may take this survey.|,
lastUpdated => 0
},
'Max user responses help' => {
message => q|The maximum number of times a user may take this survey.|,
lastUpdated => 0
},
'Survey Overview Template' => {
message => q|Survey Overview Template|,
context => q|The template that provides an overview of the survey.|,
lastUpdated => 0
},
'Survey Overview Template help' => {
message => q|The template that provides an overview of the survey.|,
lastUpdated => 0
},
'Gradebook Template' => {
message => q|Gradebook Template|,
context => q|The template for displaying the gradebook.|,
lastUpdated => 0
},
'Gradebook Template help' => {
message => q|The template for displaying the gradebook.|,
lastUpdated => 0
},
'Response Template' => {
message => q|Response Template|,
context => q|The template for displaying responses to the survey.|,
lastUpdated => 0
},
'Response Template help' => {
message => q|The template for displaying responses to the survey.|,
lastUpdated => 0
},
'Edit Survey Template' => {
message => q|Edit Survey Template|,
context => q|The template for displaying the screen for editing the survey.|,
lastUpdated => 0
},
'Edit Survey Template help' => {
message => q|The template for displaying the screen for editing the survey.|,
lastUpdated => 0
},
'Take Survey Template' => {
message => q|Take Survey Template|,
context => q|The template for displaying the screen where a user takes the survey.|,
lastUpdated => 0
},
'Take Survey Template help' => {
message => q|The template for displaying the screen where a user takes the survey.|,
lastUpdated => 0
},
'Questions Template' => {
message => q|Questions Template|,
context => q|The template for rendering questions in the survey.|,
lastUpdated => 0
},
'Questions Template help' => {
message => q|The template for rendering questions in the survey.|,
lastUpdated => 0
},
'Section Edit Template' => {
message => q|Section Edit Template|,
context => q|The template for adding or editing sections.|,
lastUpdated => 0
},
'Section Edit Template help' => {
message => q|The template for adding or editing sections.|,
lastUpdated => 0
},
'Question Edit Template' => {
message => q|Question Edit Template|,
context => q|The template for adding or editing questions.|,
lastUpdated => 0
},
'Question Edit Template help' => {
message => q|The template for adding or editing questions.|,
lastUpdated => 0
},
'Answer Edit Template' => {
message => q|Answer Edit Template|,
context => q|The template for adding or editing answers.|,
lastUpdated => 0
},
'Answer Edit Template help' => {
message => q|The template for adding or editing answers.|,
lastUpdated => 0
},
'percentage label' => {
message => q|Percentage|,
context => q|Label for the Percentage column on the gradebook screen.|,