From 2ea49207f496914332924077f8a36b05216bd6d1 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 11 Nov 2004 05:37:43 +0000 Subject: [PATCH] moved Survey content from WebGUI.pm into Survey.pm --- lib/WebGUI/i18n/English/Survey.pm | 285 +++++++++++++++++++++++++++++ lib/WebGUI/i18n/English/WebGUI.pm | 291 +----------------------------- 2 files changed, 287 insertions(+), 289 deletions(-) diff --git a/lib/WebGUI/i18n/English/Survey.pm b/lib/WebGUI/i18n/English/Survey.pm index ead806faa..c855594ba 100644 --- a/lib/WebGUI/i18n/English/Survey.pm +++ b/lib/WebGUI/i18n/English/Survey.pm @@ -711,6 +711,291 @@ If you leave this set at its default, then you will add a question directly afte context=>q|This message is displayed when a user is trying to delete the last answer from a survey question.| }, + '1087' => { + message => q|Gradebook Report Template|, + lastUpdated => 1078513217 + }, + + '1088' => { + message => q|The following template variables are available in the survey's gradebook report: +

+ +title
+The default title of the report. +

+ +question.count
+The number of questions in the survey. +

+ +response.user.label
+The default label for response.user.name. +

+ +response.count.label
+The default label for response.count.correct. +

+ +response.percent.label
+The default label for response.percent. +

+ +response_loop
+A loop containing a list of responses. +

+ +

+ +response.url
+The URL to view this response. +

+ +response.user.name
+The username of the user that gave this response. +

+ +response.count.correct
+The total number of questions that this user got correct. +

+ +response.percent
+The percentage of correct questions. +

+ +

|, + lastUpdated => 1078513217 + }, + + '1089' => { + message => q|Survey Response Template|, + lastUpdated => 1078515839 + }, + + '1090' => { + message => q|The following are the variables available to display the individual response. +

+ +title
+The default title for this report. +

+ +delete.url
+The URL to delete this response. +

+ +delete.label
+The default label for delete.url. +

+ +start.date.label
+The default label for start.date.human. +

+ +start.date.epoch
+The epoch representation of when the user started the survey response. +

+ +start.date.human
+The human representation of the date when the user started the response. +

+ +start.time.human
+The human representation of the time when the user started the response. +

+ +end.date.label
+The default label for end.date.human. +

+ + +end.date.epoch
+The epoch representation of the date when the user completed this response. +

+ +end.date.human
+The human representation of the date when the user completed this response. +

+ +end.time.human
+The human representation of the time when the user completed this response. +

+ +duration.label
+The default label for the duration. +

+ +duration.minutes
+The number of minutes it took to complete the survey. +

+ +duration.minutes.label
+A label for "minutes". +

+ + +duration.seconds
+The remainder seconds the duration.minutes calculations. +

+ +duration.seconds.label
+A label for "seconds". +

+ + +answer.label
+The default label for question.answer. +

+ + +response.label
+The default label for question.label. +

+ +comment.label
+The default label for question.comment. +

+ +question_loop
+A loop that includes the list of questions in this response. +

+ +

+ +question
+The question itself. +

+ +question.id
+The unique identifier for this question. +

+ +question.isRadioList
+A boolean indicating whether this question's answers are a radio list. +

+ +question.response
+The user's response to this question. +

+ +question.comment
+The user's comment on this question (if any). +

+ +question.isCorrect
+A boolean indicating whether the user got this question correct. +

+ + +question.answer
+The correct answer for this question. +

+ + +

|, + lastUpdated => 1078515839 + }, + + '1091' => { + message => q|Statistical Overview Report Template|, + lastUpdated => 1078517114 + }, + + '1092' => { + message => q|The following are the variables available in this template: +

+ +title
+The default title for this report. +

+ +answer.label
+The default label for answer_loop. +

+ +response.count.label
+The default label for response.count. +

+ +response.percent.label
+The default label for response.percent. +

+ +show.responses.label
+The default label that will display responses. +

+ +show.comments.label
+The default label that will display comments. +

+ +question_loop
+A loop containing questions. +

+ +

+ +question
+The question itself. +

+ +question.id
+The unique identifier for this question. +

+ +question.isRadioList
+A boolean indicating whether the answer for this question is a radio list. +

+ +question.response.total
+The total number of responses for this answer. +

+ +question.allowComment
+A boolean indicating whether this question allows comments. +

+ +answer_loop
+A loop containing the answers and responses for this question. +

+

+ +answer.isCorrect
+A boolean indicating whether this answer is marked correct. +

+ +answer
+The answer itself. +

+ +answer.response.count
+The total number of responses given for this answer. +

+ +answer.response.percent
+The percent of responses to this question that went to this answer. +

+ + +comment_loop
+A loop that contains all of the comments for this answer. +

+ +

+answer.comment
+A comment. +

+ + +

+ +
+ + +
|, + lastUpdated => 1078517114 + }, + + }; 1; diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index 8f3d5fb2a..d37ca2da0 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -536,130 +536,6 @@ Select a file from your hard drive to upload. lastUpdated => 1056151382 }, - '1090' => { - message => q|The following are the variables available to display the individual response. -

- -title
-The default title for this report. -

- -delete.url
-The URL to delete this response. -

- -delete.label
-The default label for delete.url. -

- -start.date.label
-The default label for start.date.human. -

- -start.date.epoch
-The epoch representation of when the user started the survey response. -

- -start.date.human
-The human representation of the date when the user started the response. -

- -start.time.human
-The human representation of the time when the user started the response. -

- -end.date.label
-The default label for end.date.human. -

- - -end.date.epoch
-The epoch representation of the date when the user completed this response. -

- -end.date.human
-The human representation of the date when the user completed this response. -

- -end.time.human
-The human representation of the time when the user completed this response. -

- -duration.label
-The default label for the duration. -

- -duration.minutes
-The number of minutes it took to complete the survey. -

- -duration.minutes.label
-A label for "minutes". -

- - -duration.seconds
-The remainder seconds the duration.minutes calculations. -

- -duration.seconds.label
-A label for "seconds". -

- - -answer.label
-The default label for question.answer. -

- - -response.label
-The default label for question.label. -

- -comment.label
-The default label for question.comment. -

- -question_loop
-A loop that includes the list of questions in this response. -

- -

- -question
-The question itself. -

- -question.id
-The unique identifier for this question. -

- -question.isRadioList
-A boolean indicating whether this question's answers are a radio list. -

- -question.response
-The user's response to this question. -

- -question.comment
-The user's comment on this question (if any). -

- -question.isCorrect
-A boolean indicating whether the user got this question correct. -

- - -question.answer
-The correct answer for this question. -

- - -

|, - lastUpdated => 1078515839 - }, - '627' => { message => q|Profiles are used to extend the information of a particular user. In some cases profiles are important to a site, in others they are not. The profiles system is completely extensible. You can add as much information to the users profile as you like.

@@ -1448,11 +1324,6 @@ How should this user be notified when they get a new WebGUI message? lastUpdated => 1031514049 }, - '1089' => { - message => q|Survey Response Template|, - lastUpdated => 1078515839 - }, - '558' => { message => q|Edit User's Karma|, lastUpdated => 1031514049 @@ -2430,11 +2301,6 @@ will be modified to make it unique.|, lastUpdated => 1052850265 }, - '1087' => { - message => q|Gradebook Report Template|, - lastUpdated => 1078513217 - }, - '810' => { message => q|send|, lastUpdated => 1037579743 @@ -2880,59 +2746,6 @@ One package that many people create is a Page/Article package. It is often the c lastUpdated => 1031514049 }, - '1088' => { - message => q|The following template variables are available in the survey's gradebook report: -

- -title
-The default title of the report. -

- -question.count
-The number of questions in the survey. -

- -response.user.label
-The default label for response.user.name. -

- -response.count.label
-The default label for response.count.correct. -

- -response.percent.label
-The default label for response.percent. -

- -response_loop
-A loop containing a list of responses. -

- -

- -response.url
-The URL to view this response. -

- -response.user.name
-The username of the user that gave this response. -

- -response.count.correct
-The total number of questions that this user got correct. -

- -response.percent
-The percentage of correct questions. -

- - - - -

|, - lastUpdated => 1078513217 - }, - '575' => { message => q|Edit|, lastUpdated => 1031514049 @@ -3577,11 +3390,6 @@ The translated label for the link to the home page or the text that you supply t lastUpdated => 1031514049 }, - '1091' => { - message => q|Statistical Overview Report Template|, - lastUpdated => 1078517114 - }, - '886' => { message => q|Hide from navigation?|, lastUpdated => 1044727952 @@ -4950,101 +4758,6 @@ A list of links to the 10 nearest in the paginator relative to the current page. lastUpdated => 1036892946 }, - '1092' => { - message => q|The following are the variables available in this template: -

- -title
-The default title for this report. -

- -answer.label
-The default label for answer_loop. -

- -response.count.label
-The default label for response.count. -

- -response.percent.label
-The default label for response.percent. -

- -show.responses.label
-The default label that will display responses. -

- -show.comments.label
-The default label that will display comments. -

- -question_loop
-A loop containing questions. -

- -

- -question
-The question itself. -

- -question.id
-The unique identifier for this question. -

- -question.isRadioList
-A boolean indicating whether the answer for this question is a radio list. -

- -question.response.total
-The total number of responses for this answer. -

- -question.allowComment
-A boolean indicating whether this question allows comments. -

- -answer_loop
-A loop containing the answers and responses for this question. -

-

- -answer.isCorrect
-A boolean indicating whether this answer is marked correct. -

- -answer
-The answer itself. -

- -answer.response.count
-The total number of responses given for this answer. -

- -answer.response.percent
-The percent of responses to this question that went to this answer. -

- - -comment_loop
-A loop that contains all of the comments for this answer. -

- -

-answer.comment
-A comment. -

- - -

- -
- - -
|, - lastUpdated => 1078517114 - }, - '503' => { message => q|Template ID|, lastUpdated => 1031514049 @@ -6855,7 +6568,7 @@ for this function to work properly.

the current page.

Export as user
Run the export as this user. Defaults to Visitor.

-

 Alternate style
+

Alternate style
Sets an alternate style for the export. If this option is set, all pages will be exported using the selected style.

Extras URL
@@ -6865,7 +6578,7 @@ config file.

Sets the Uploads URL. Defaults to the configured uploadsURL in the WebGUI config file.

|, - lastUpdated => 1089039511, + lastUpdated => 1099870750, context => q|Help body for Page Export operation| }, 'Forum, Threads Per Page' => {