From 3d35cbfc8e2da77e6b60572f18b70788c6e472f3 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Thu, 23 Apr 2009 16:22:28 +0000 Subject: [PATCH] fix syntax and help issues --- .../Activity/ExpirePurchasedThingyRecords.pm | 2 +- lib/WebGUI/i18n/English/Asset_Survey.pm | 30 ++++++++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/lib/WebGUI/Workflow/Activity/ExpirePurchasedThingyRecords.pm b/lib/WebGUI/Workflow/Activity/ExpirePurchasedThingyRecords.pm index a9cb09396..384e28e47 100644 --- a/lib/WebGUI/Workflow/Activity/ExpirePurchasedThingyRecords.pm +++ b/lib/WebGUI/Workflow/Activity/ExpirePurchasedThingyRecords.pm @@ -117,7 +117,7 @@ sub execute { } ### Delete expired - my $iter + $iter = WebGUI::AssetCollateral::Sku::ThingyRecord::Record->getAllIterator( $self->session, { diff --git a/lib/WebGUI/i18n/English/Asset_Survey.pm b/lib/WebGUI/i18n/English/Asset_Survey.pm index 4288c1dcf..43ee95126 100644 --- a/lib/WebGUI/i18n/English/Asset_Survey.pm +++ b/lib/WebGUI/i18n/English/Asset_Survey.pm @@ -372,7 +372,7 @@ our $I18N = { lastUpdated => 1224686319 }, 'is this the correct answer description' => { - message => q|Select wether this is the correct answer or not.|, + message => q|Select whether this is the correct answer or not.|, context => q|Description of the 'is this the correct answer' field, used as hoverhelp in the edit answer dialog.|, lastUpdated => 0 }, @@ -886,37 +886,37 @@ directly inside the answer_loop for other types of questions.|, }, 'lastResponseCompleted' => { - message => q|A boolean indicating wether the current user's last response was completed.|, + message => q|A boolean indicating whether the current user's last response was completed.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'lastResponseTimedOut' => { - message => q|A boolean indicating wether the current user's last response timed out.|, + message => q|A boolean indicating whether the current user's last response timed out.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'maxResponsesSubmitted' => { - message => q|A boolean indicating wether the current user has reached the maximum number of responses.|, + message => q|A boolean indicating whether the current user has reached the maximum number of responses.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'user_canTakeSurvey' => { - message => q|A boolean indicating wether the current user can take the survey.|, + message => q|A boolean indicating whether the current user can take the survey.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'user_canViewReports' => { - message => q|A boolean indicating wether the current user can view the survey reports.|, + message => q|A boolean indicating whether the current user can view the survey reports.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'user_canEditSurvey' => { - message => q|A boolean indicating wether the current user can edit the survey.|, + message => q|A boolean indicating whether the current user can edit the survey.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, @@ -1018,17 +1018,27 @@ directly inside the answer_loop for other types of questions.|, }, 'totalQuestions' => { - message => q|A boolean indicating wether the user should see the total number of answers and the number of questions that have already been answered.|, + message => q|A boolean indicating whether the user should see the total number of answers and the number of questions that have already been answered.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, 'showTimeLimit' => { - message => q|A boolean indicating wether the number of minutes until the survey times out should be displayed.|, + message => q|A boolean indicating whether the number of minutes until the survey times out should be displayed.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, }, + 'isLastPage' => { + message => q|A boolean indicating whether this is the last page of the survey.|, + context => q|Description of a template variable for a template Help page.|, + }, + + 'allowBackBtn' => { + message => q|A boolean indicating whether the back button is allowed.|, + context => q|Description of a template variable for a template Help page.|, + }, + 'minutesLeft' => { message => q|The number of minutes the user has left to finish the survey.|, context => q|Description of a template variable for a template Help page.|, @@ -1248,7 +1258,7 @@ section/answer.|, }, 'randomizeAnswers' => { - message => q|A boolean indicating wether this question's answers should be randomized.|, + message => q|A boolean indicating whether this question's answers should be randomized.|, context => q|Description of a template variable for a template Help page.|, lastUpdated => 0, },