From 338433e78d36719d7538dbd81fe27379741f6dac Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 5 Mar 2009 17:59:42 +0000 Subject: [PATCH] Help and i18n for the edit story template. --- lib/WebGUI/Help/Asset_Story.pm | 39 +++++++++++++ lib/WebGUI/i18n/English/Asset_Story.pm | 80 ++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 lib/WebGUI/Help/Asset_Story.pm diff --git a/lib/WebGUI/Help/Asset_Story.pm b/lib/WebGUI/Help/Asset_Story.pm new file mode 100644 index 000000000..1b796cba5 --- /dev/null +++ b/lib/WebGUI/Help/Asset_Story.pm @@ -0,0 +1,39 @@ +package WebGUI::Help::Asset_Story; +use strict; + +our $HELP = { + + 'edit template' => { + title => 'edit template', + body => '', + isa => [ + { namespace => "Asset_Template", + tag => "template variables" + }, + ], + fields => [], + variables => [ + { 'name' => 'formHeader', + 'required' => 1 }, + { 'name' => 'formTitle', }, + { 'name' => 'formFooter', + 'required' => 1 }, + { 'name' => 'titleForm', }, + { 'name' => 'subtitleForm', }, + { 'name' => 'bylineForm', }, + { 'name' => 'locationForm', }, + { 'name' => 'keywordsForm', }, + { 'name' => 'summaryForm', }, + { 'name' => 'highlightsForm', }, + { 'name' => 'storyForm', }, + { 'name' => 'saveButton', }, + { 'name' => 'previewButton', }, + { 'name' => 'saveAndAddButton', }, + { 'name' => 'cancelButton', }, + ], + related => [] + }, + +}; + +1; diff --git a/lib/WebGUI/i18n/English/Asset_Story.pm b/lib/WebGUI/i18n/English/Asset_Story.pm index 926b50d77..e9bdd5c6f 100644 --- a/lib/WebGUI/i18n/English/Asset_Story.pm +++ b/lib/WebGUI/i18n/English/Asset_Story.pm @@ -104,6 +104,86 @@ our $I18N = { lastUpdated => 0, }, + 'edit template' => { + message => q|Edit Story Template.|, + lastUpdated => 0, + }, + + 'formHeader' => { + message => q|HTML code to begin the form for adding or editing a Story.|, + lastUpdated => 0, + }, + + 'formTitle' => { + message => q|Internationalized title for this form.|, + lastUpdated => 0, + }, + + 'titleForm' => { + message => q|Form for the user to enter a title for this story.|, + lastUpdated => 0, + }, + + 'subtitleForm' => { + message => q|Form for the user to enter a subtitle for this story.|, + lastUpdated => 0, + }, + + 'bylineForm' => { + message => q|Form for the user to enter a byline for this story.|, + lastUpdated => 0, + }, + + 'locationForm' => { + message => q|Form for the user to enter a location for this story.|, + lastUpdated => 0, + }, + + 'keywordsForm' => { + message => q|Form for the user to enter keywords for this story.|, + lastUpdated => 0, + }, + + 'summaryForm' => { + message => q|Form for the user to enter a summary of this story.|, + lastUpdated => 0, + }, + + 'highlightsForm' => { + message => q|Form for the user to enter highlights for this story.|, + lastUpdated => 0, + }, + + 'storyForm' => { + message => q|Form for the user to enter the actual story.|, + lastUpdated => 0, + }, + + 'saveButton' => { + message => q|Button for the user to save the form.|, + lastUpdated => 0, + }, + + 'previewButton' => { + message => q|Button for the user to preview the story before saving.|, + lastUpdated => 0, + }, + + 'saveAndAddButton' => { + message => q|Button for the user to save the form, and then reopen the edit form to add another photo.|, + lastUpdated => 0, + }, + + 'cancelButton' => { + message => q|Button for the user to cancel this form without saving anything.|, + lastUpdated => 0, + }, + + 'formFooter' => { + message => q|HTML code to end the form for adding or editing a Story.|, + lastUpdated => 0, + }, + }; 1;