From 4720a6a21712de80b6099d6d141c16c9edb7a136 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 11 Jul 2008 17:19:05 +0000 Subject: [PATCH] ITransact payment driver was using echo i18n calls even though it had real i18n data to pull from. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Shop/PayDriver/ITransact.pm | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 653a034cb..9c245e289 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.5.17 + - fixed: Payment Methods Hover Help Incomplete 7.5.16 - Created a migration from 7.4.40 directly to 7.5.16. diff --git a/lib/WebGUI/Shop/PayDriver/ITransact.pm b/lib/WebGUI/Shop/PayDriver/ITransact.pm index 1d98b4028..26a65e2ed 100644 --- a/lib/WebGUI/Shop/PayDriver/ITransact.pm +++ b/lib/WebGUI/Shop/PayDriver/ITransact.pm @@ -354,23 +354,23 @@ sub definition { %fields = ( vendorId => { fieldType => 'text', - label => $i18n->echo('vendorId'), - hoverHelp => $i18n->echo('vendorId help'), + label => $i18n->get('vendorId'), + hoverHelp => $i18n->get('vendorId help'), }, password => { fieldType => 'password', - label => $i18n->echo('password'), - hoverHelp => $i18n->echo('password help'), + label => $i18n->get('password'), + hoverHelp => $i18n->get('password help'), }, useCVV2 => { fieldType => 'yesNo', - label => $i18n->echo('use cvv2'), - hoverHelp => $i18n->echo('use cvv2 help'), + label => $i18n->get('use cvv2'), + hoverHelp => $i18n->get('use cvv2 help'), }, emailMessage => { fieldType => 'textarea', - label => $i18n->echo('emailMessage'), - hoverHelp => $i18n->echo('emailMessage help'), + label => $i18n->get('emailMessage'), + hoverHelp => $i18n->get('emailMessage help'), }, # readonly stuff from old plugin here? );