From b3c71232d008bd2689459d0bad024bd93042e90b Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 7 Jan 2003 00:16:39 +0000 Subject: [PATCH] Internationalized the "Send" button on the Mail Form wobject. --- docs/upgrades/upgrade_5.0.1-5.0.2.sql | 3 +++ lib/WebGUI/Wobject/MailForm.pm | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/upgrades/upgrade_5.0.1-5.0.2.sql b/docs/upgrades/upgrade_5.0.1-5.0.2.sql index 192df9c36..dd3a5543e 100644 --- a/docs/upgrades/upgrade_5.0.1-5.0.2.sql +++ b/docs/upgrades/upgrade_5.0.1-5.0.2.sql @@ -987,5 +987,8 @@ delete from international where languageId=2 and namespace='Poll' and internatio insert into international (internationalId,languageId,namespace,message,lastUpdated) values (12,2,'Poll','Gesamtzahl der Abstimmungen:', 1041071732); delete from international where languageId=1 and namespace='Product' and internationalId=47; insert into international (internationalId,languageId,namespace,message,lastUpdated) values (47,1,'Product','Related products are products that are comparable or complementary to other products.\r\n

\r\n\r\n\r\nRelated products
\r\nChoose from the list of products you\'ve already entered.\r\n

\r\n\r\n\r\nAdd another related product?
\r\nSelect "Yes" if you have another related product to add.\r\n

\r\n\r\n', 1041876679); +INSERT INTO international VALUES (73,'MailForm',1,'Send',1039776778); +INSERT INTO international VALUES (73,'MailForm',3,'Verstuur',1039776778); +INSERT INTO international VALUES (73,'MailForm',2,'Versend',1039776778); diff --git a/lib/WebGUI/Wobject/MailForm.pm b/lib/WebGUI/Wobject/MailForm.pm index 779ddf5b8..f9556b0b3 100755 --- a/lib/WebGUI/Wobject/MailForm.pm +++ b/lib/WebGUI/Wobject/MailForm.pm @@ -309,8 +309,7 @@ sub www_view { } $f->raw($row); } - - $f->submit("Send"); + $f->submit(WebGUI::International::get(73, $namespace)); $output .= $f->print; return $_[0]->processMacros($output);