From ef15ac0067775d8c9e83e7841fec01ca4a0e8bc5 Mon Sep 17 00:00:00 2001
From: Colin Kuskie
Date: Fri, 21 Apr 2006 20:46:46 +0000
Subject: [PATCH] docs and i18n for event image
---
lib/WebGUI/Asset/Wobject/EventManagementSystem.pm | 10 +++++-----
lib/WebGUI/Help/Asset_EventManagementSystem.pm | 5 +++++
.../i18n/English/Asset_EventManagementSystem.pm | 14 ++++++++++++++
3 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm
index 5a98d4799..d6c419d00 100644
--- a/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm
+++ b/lib/WebGUI/Asset/Wobject/EventManagementSystem.pm
@@ -1628,11 +1628,11 @@ sub www_editEvent {
);
$f->image(
- -name => "image",
- -label => "Event Image",
- -hoverHelp => "An image representing your event for display to site visitors.",
- -value => $storageId
- );
+ -name => "image",
+ -hoverHelp => $i18n->get('add/edit event image description'),
+ -label => $i18n->get('add/edit event image description')
+ -value => $storageId
+ );
$f->float(
-name => "price",
diff --git a/lib/WebGUI/Help/Asset_EventManagementSystem.pm b/lib/WebGUI/Help/Asset_EventManagementSystem.pm
index a716a9465..4213925cf 100644
--- a/lib/WebGUI/Help/Asset_EventManagementSystem.pm
+++ b/lib/WebGUI/Help/Asset_EventManagementSystem.pm
@@ -87,6 +87,11 @@ our $HELP = {
description => 'add/edit event description description',
namespace => 'Asset_EventManagementSystem',
},
+ {
+ title => 'add/edit event image',
+ description => 'add/edit event image description',
+ namespace => 'Asset_EventManagementSystem',
+ },
{
title => 'add/edit event price',
description => 'add/edit event price description',
diff --git a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm
index 95c7543e8..7a25c9b09 100644
--- a/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm
+++ b/lib/WebGUI/i18n/English/Asset_EventManagementSystem.pm
@@ -157,6 +157,16 @@ our $I18N = { ##hashref of hashes
lastUpdated => 1138312761,
},
+ 'add/edit event image' => {
+ message => q|Event Image|,
+ lastUpdated => 1145636759,
+ },
+
+ 'add/edit event image description' => {
+ message => q|An image representing your event for display to site visitors.|,
+ lastUpdated => 1145636774,
+ },
+
'add/edit event description' => {
message => q|Description|,
lastUpdated => 1138312761,
@@ -395,6 +405,10 @@ The title of this event.
The description of this event.
+image
+The image assigned to represent this event.
+
+
price
The price of this event.