From b65cbfa1b89d971b8842428dc4d2ae70467fc54f Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 16 Jun 2005 16:04:28 +0000 Subject: [PATCH] internationalize labels --- lib/WebGUI/Operation/ProductManager.pm | 6 +++--- lib/WebGUI/i18n/English/ProductManager.pm | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Operation/ProductManager.pm b/lib/WebGUI/Operation/ProductManager.pm index 2b6cada54..29717bf55 100755 --- a/lib/WebGUI/Operation/ProductManager.pm +++ b/lib/WebGUI/Operation/ProductManager.pm @@ -186,7 +186,7 @@ sub www_editProductParameter { $f->hidden('parameterId', $parameterId); $f->hidden('productId', $productId); $f->readOnly( - -label => 'parameterId', + -label => $i18n->get('parameter ID'), -value => $parameterId, ); $f->text( @@ -256,7 +256,7 @@ sub www_editProductParameterOption { $f->hidden('optionId', $optionId); $f->hidden('parameterId', $session{form}{parameterId}); $f->readOnly( - -label => 'optionId', + -label => $i18n->get('option ID'), -value => $optionId ); $f->text( @@ -329,7 +329,7 @@ sub www_editProductVariant { $f->hidden('op', 'editProductVariantSave'); $f->hidden('variantId', $variantId); $f->readOnly( - -label => 'varaiantId', + -label => $i18n->get('variant ID'), -value => $variant->{variantId} ); $f->float( diff --git a/lib/WebGUI/i18n/English/ProductManager.pm b/lib/WebGUI/i18n/English/ProductManager.pm index ef3d4d541..1d75dfdc1 100644 --- a/lib/WebGUI/i18n/English/ProductManager.pm +++ b/lib/WebGUI/i18n/English/ProductManager.pm @@ -162,6 +162,18 @@ our $I18N = { lastUpdated => 0, context => q|A message indicating that a variant is available.| }, + 'variant ID' => { + message => q|variantId|, + lastUpdated => 1118937717, + }, + 'parameter ID' => { + message => q|parameterId|, + lastUpdated => 1118937717, + }, + 'option ID' => { + message => q|optionId|, + lastUpdated => 1118937717, + }, 'properties' => { message => q|Properties|, lastUpdated => 0,