internationalize labels
This commit is contained in:
parent
328b58b464
commit
b65cbfa1b8
2 changed files with 15 additions and 3 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue