From 9ccbb180147d02ca9e1db4a0d70a249899ba900e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 10 Dec 2006 06:15:57 +0000 Subject: [PATCH] fix broken Help docs in Workflow Activity for Trash Expired Events. Stubbed out the Event asset docs so they stop failing tests as well --- lib/WebGUI/Help/Asset_Event.pm | 112 +----------------- .../Workflow_Activity_TrashExpiredEvents.pm | 2 +- lib/WebGUI/i18n/English/Asset_Event.pm | 29 +++-- .../Workflow_Activity_TrashExpiredEvents.pm | 14 +++ 4 files changed, 31 insertions(+), 126 deletions(-) diff --git a/lib/WebGUI/Help/Asset_Event.pm b/lib/WebGUI/Help/Asset_Event.pm index caee342ae..ee16be427 100644 --- a/lib/WebGUI/Help/Asset_Event.pm +++ b/lib/WebGUI/Help/Asset_Event.pm @@ -2,8 +2,8 @@ package WebGUI::Help::Asset_Event; our $HELP = { 'event add/edit' => { - title => '72', - body => '73', + title => 'add/edit title', + body => 'add/edit body', isa => [ { tag => 'asset fields', @@ -11,119 +11,11 @@ our $HELP = { }, ], fields => [ - { - title => '512', - description => 'Description description', - namespace => 'Asset_Event', - }, - { - title => '513', - description => 'Start Date description', - namespace => 'Asset_Event', - }, - { - title => '514', - description => 'End Date description', - namespace => 'Asset_Event', - }, - { - title => '515', - description => '515 description', - namespace => 'Asset_Event', - }, - { - title => '530', - description => '530 description', - namespace => 'Asset_Event', - }, - { - title => '8', - description => 'Recurs every description', - namespace => 'Asset_Event', - }, ], related => [ - { - tag => 'event template', - namespace => 'Asset_Event' - }, ] }, - ##I didn't break out individual asset level variables here - ##because there are so few of them. --ck - 'event template' => { - title => '96', - body => '97', - isa => [ - { - tag => 'asset template', - namespace => 'Asset' - }, - { - tag => 'template language', - namespace => 'Asset_Template' - }, - ], - fields => [ - ], - variables => [ - { - 'name' => 'title' - }, - { - 'name' => 'start.label' - }, - { - 'name' => 'eventStartDate' - }, - { - 'name' => 'start.date' - }, - { - 'name' => 'start.time' - }, - { - 'name' => 'eventEndDate' - }, - { - 'name' => 'end.date' - }, - { - 'name' => 'end.time' - }, - { - 'name' => 'end.label' - }, - { - 'name' => 'canEdit' - }, - { - 'name' => 'edit.url' - }, - { - 'name' => 'edit.label' - }, - { - 'name' => 'delete.url' - }, - { - 'name' => 'delete.label' - }, - { - 'name' => 'description' - }, - { - 'name' => 'eventLocation' - } - ], - related => [ - { - tag => 'template language', - namespace => 'Asset_Template' - }, - ] - }, }; 1; diff --git a/lib/WebGUI/Help/Workflow_Activity_TrashExpiredEvents.pm b/lib/WebGUI/Help/Workflow_Activity_TrashExpiredEvents.pm index 12982bffa..ab0936d5c 100644 --- a/lib/WebGUI/Help/Workflow_Activity_TrashExpiredEvents.pm +++ b/lib/WebGUI/Help/Workflow_Activity_TrashExpiredEvents.pm @@ -14,7 +14,7 @@ our $HELP = { { title => 'trash after', description => 'trash after help', - namespace => 'Asset_Event', + namespace => 'Workflow_Activity_TrashExpiredEvents', }, ], variables => [ diff --git a/lib/WebGUI/i18n/English/Asset_Event.pm b/lib/WebGUI/i18n/English/Asset_Event.pm index 1e7e8f9b3..c9dea51e5 100644 --- a/lib/WebGUI/i18n/English/Asset_Event.pm +++ b/lib/WebGUI/i18n/English/Asset_Event.pm @@ -1,26 +1,25 @@ package WebGUI::i18n::English::Asset_Event; our $I18N = { - #'key1' => { - # message => q{}, - # lastUpdated => 0, - # context => q{}, - #}, - -#################### DATETIME LOCALE #################### + 'locale' => { message => q{en_US}, lastUpdated => 0, context => q{The ISO locale name for month and day labels.}, }, - - - - - - - -#################### ASSET NAME #################### + + 'add/edit title' => { + message => q{Event, Add/Edit}, + lastUpdated => 0, + context => q{Title for the Event Add/Edit Help screen}, + }, + + 'add/edit body' => { + message => q{This Asset has no documentation or internationalization.}, + context => q{The ISO locale name for month and day labels.}, + lastUpdated => 1165731356, + }, + 'assetName' => { message => q{Event}, lastUpdated => 1131394072, diff --git a/lib/WebGUI/i18n/English/Workflow_Activity_TrashExpiredEvents.pm b/lib/WebGUI/i18n/English/Workflow_Activity_TrashExpiredEvents.pm index f3c19d863..0b7e9689d 100644 --- a/lib/WebGUI/i18n/English/Workflow_Activity_TrashExpiredEvents.pm +++ b/lib/WebGUI/i18n/English/Workflow_Activity_TrashExpiredEvents.pm @@ -14,6 +14,20 @@ our $I18N = { lastUpdated => 0, }, + 'trash after' => { + message => q|Trash After|, + lastUpdated => 1165731581, + context=> q|a label for the workflow activity property that sets how long old events stick around| + }, + + 'trash after help' => { + message => q|How long should old events stay in the calendar before being trashed?|, + lastUpdated => 1165731583, + context=> q|hover help for the trash after field| + }, + + + }; 1;