From f4a42593f7189ce233b95b9b0233f10ebc15d40e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 21 Jun 2010 08:55:30 -0700 Subject: [PATCH] Document the Cart template variable, message. Fixes bug #11658 --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Help/Shop.pm | 5 +++++ lib/WebGUI/i18n/English/Shop.pm | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 4f698e93c..9016c4e30 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -2,6 +2,7 @@ - fixed #11651: First Day of Week is a string... - fixed #11656: Thingy: Select list fields are not sorted properly - fixed #11662: yahooapis.com sourced links + - fixed #11658: tmpl var message missing in template help for the cart 7.9.7 - added #11571: Allow return from photo edit view to gallery edit view diff --git a/lib/WebGUI/Help/Shop.pm b/lib/WebGUI/Help/Shop.pm index f9f35b731..5be51fac5 100644 --- a/lib/WebGUI/Help/Shop.pm +++ b/lib/WebGUI/Help/Shop.pm @@ -128,6 +128,11 @@ our $HELP = { }, ], }, + { + name => "message", + description => "message help", + required => 1, + }, { name => "error", description => "error help", diff --git a/lib/WebGUI/i18n/English/Shop.pm b/lib/WebGUI/i18n/English/Shop.pm index 9e453f88e..11ffd81ba 100644 --- a/lib/WebGUI/i18n/English/Shop.pm +++ b/lib/WebGUI/i18n/English/Shop.pm @@ -189,6 +189,12 @@ our $I18N = { context => q|a help description|, }, + 'message help' => { + message => q|If the cart is empty, this internationalized message should be displayed to the user.|, + lastUpdated => 0, + context => q|a help description|, + }, + 'formHeader help' => { message => q|The top of the form.|, lastUpdated => 0,