From 9af746c7af5fb25e2a39972adb14c5f498613181 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Jul 2009 20:22:44 +0000 Subject: [PATCH] Remove i18n echo calls in Account/Shop My Sales template. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Account/Shop.pm | 4 ++-- lib/WebGUI/i18n/English/Account_Shop.pm | 12 ++++++++++++ 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 8e83e438c..ff593d1e9 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -10,6 +10,7 @@ - fixed #10653: Story Archive: Description text doesn't display - fixed #10656: Story: Photo caption doesn't appear - fixed #10658: Delete in Story Archive doesn't delete in Story Topic + - fixed #10676: Settings>Account Tab: typos 7.7.15 - fixed #10629: WebGUI::ProfileField create new field bug diff --git a/lib/WebGUI/Account/Shop.pm b/lib/WebGUI/Account/Shop.pm index c80b25a52..135f3bb73 100644 --- a/lib/WebGUI/Account/Shop.pm +++ b/lib/WebGUI/Account/Shop.pm @@ -120,8 +120,8 @@ sub editSettingsForm { name => 'shopMySalesTemplateId', value => $self->session->setting->get('shopMySalesTemplateId'), namespace => 'Shop/MySales', - label => $shopi18n->echo('my sales template'), - hoverHelp => $shopi18n->echo('my sales template help'), + label => $i18n->get('my sales template'), + hoverHelp => $i18n->get('my sales template help'), ); return $f->printRowsOnly; diff --git a/lib/WebGUI/i18n/English/Account_Shop.pm b/lib/WebGUI/i18n/English/Account_Shop.pm index d6fc4ae8d..7a7a7a72e 100644 --- a/lib/WebGUI/i18n/English/Account_Shop.pm +++ b/lib/WebGUI/i18n/English/Account_Shop.pm @@ -60,6 +60,18 @@ our $I18N = { context => q{Label for the manage tax tab}, }, + 'my sales template' => { + message => q{My Sales Template}, + lastUpdated => 0, + context => q{Template for displaying My Sales}, + }, + + 'my sales template help' => { + message => q{Template to render the screen where vendor sales are displayed.}, + lastUpdated => 0, + context => q{hoverhelp for settings}, + }, + }; 1;