fix broken i18n labels
This commit is contained in:
parent
d4e9102424
commit
27ae1a9977
5 changed files with 15 additions and 5 deletions
|
|
@ -744,7 +744,7 @@ sub www_editOverride {
|
|||
my $f = WebGUI::HTMLForm->new(-action=>$self->getUrl);
|
||||
$f->hidden(-name=>"func",-value=>"saveOverride");
|
||||
$f->hidden(-name=>"overrideFieldName",-value=>$session{form}{fieldName});
|
||||
$f->readOnly(-label=>$i18n->get("Field Name"),-value=>$session{form}{fieldName});
|
||||
$f->readOnly(-label=>$i18n->get("fieldName"),-value=>$session{form}{fieldName});
|
||||
$f->readOnly(-label=>$i18n->get("Original Value"),-value=>$overrides{overrides}{$fieldName}{origValue});
|
||||
my %params;
|
||||
foreach my $key (keys %{$props{$fieldName}}) {
|
||||
|
|
|
|||
|
|
@ -234,7 +234,7 @@ sub www_editProductParameterSave {
|
|||
|
||||
$parameterId = $session{form}{parameterId};
|
||||
|
||||
push (@error, $i18n->get('edit parameter error name')) unless $session{form}{name};
|
||||
push (@error, $i18n->get('edit parameter name error')) unless $session{form}{name};
|
||||
push (@error, $i18n->get('edit parameter productId error')) unless $session{form}{productId};
|
||||
|
||||
return "<ul><li>".join('</li><li>', @error)."</li></ul>".WebGUI::Operation::execute('editProductParameter') if (@error);
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ sub www_listSubscriptionCodes {
|
|||
$output .= '<br />';
|
||||
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';
|
||||
$output .= '<tr>';
|
||||
$output .= '<th>'.$i18n->get('batchId').'</th><th>'.$i18n->get('code').'</th><th>'.$i18n->get('creation date').
|
||||
$output .= '<th>'.$i18n->get('batch id').'</th><th>'.$i18n->get('code').'</th><th>'.$i18n->get('creation date').
|
||||
'</th><th>'.$i18n->get('dateUsed').'</th><th>'.$i18n->get('status').'</th>'; $output .= '</tr>';
|
||||
foreach (@{$codes}) {
|
||||
$output .= '<tr>';
|
||||
|
|
|
|||
|
|
@ -345,6 +345,11 @@ The word "Shortcut".</p>
|
|||
lastUpdated => 1133619940,
|
||||
},
|
||||
|
||||
'This is the example output of the field when parsed for user preference macros' => {
|
||||
message => q|This is the example output of the field when parsed for user preference macros|,
|
||||
lastUpdated => 1133619940,
|
||||
},
|
||||
|
||||
'Replacement Value' => {
|
||||
message => q|Replacement Value|,
|
||||
lastUpdated => 1133619940,
|
||||
|
|
|
|||
|
|
@ -468,10 +468,15 @@ A radio button tied to this plugin.<br>
|
|||
lastUpdated => 0,
|
||||
context => q|The formlabel for the 'select shipping method template' option in the commerce part of the admin console.|
|
||||
},
|
||||
'view shopping cart template' => {
|
||||
message => q|Select view shopping cart template|,
|
||||
lastUpdated => 1134599960,
|
||||
context => q|The formlabel for the 'view shopping cart template' option in the commerce part of the admin console.|
|
||||
},
|
||||
'shopping cart empty' => {
|
||||
message => q|Your shopping cart is empty.|,
|
||||
lastUpdated => 0,
|
||||
context => q|A message indicating that te shopping cart is empty.|
|
||||
lastUpdated => 1134599958,
|
||||
context => q|A message indicating that the shopping cart is empty.|
|
||||
},
|
||||
'update cart' => {
|
||||
message => q|Update cart|,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue