fix broken i18n labels in Asset export, and in the Shop
This commit is contained in:
parent
3f870ad7f7
commit
ee9772d543
4 changed files with 22 additions and 3 deletions
|
|
@ -1354,7 +1354,7 @@ sub getToolbar {
|
|||
if ($userUiLevel >= $uiLevels->{"export"} && $self->session->config->get("exportPath")) {
|
||||
$output
|
||||
.= '<li class="yuimenuitem"><a class="yuimenuitemlabel" href="'
|
||||
. $self->getUrl('func=export') . '">' . $i18n->get("export") . '</a></li>';
|
||||
. $self->getUrl('func=export') . '">' . $i18n->get('Export','Icon') . '</a></li>';
|
||||
}
|
||||
if ($userUiLevel >= $uiLevels->{"promote"}) {
|
||||
$output
|
||||
|
|
|
|||
|
|
@ -552,10 +552,10 @@ sub www_manage {
|
|||
my $i18n=WebGUI::International->new($session, 'Tax');
|
||||
|
||||
my $exportForm = WebGUI::Form::formHeader($session,{action => $url->page('shop=tax;method=exportTax')})
|
||||
. WebGUI::Form::submit($session,{value=>$i18n->get('export','Shop'), extras=>q{style="float: left;"} })
|
||||
. WebGUI::Form::submit($session,{value=>$i18n->get('export tax','Shop'), extras=>q{style="float: left;"} })
|
||||
. WebGUI::Form::formFooter($session);
|
||||
my $importForm = WebGUI::Form::formHeader($session,{action => $url->page('shop=tax;method=importTax')})
|
||||
. WebGUI::Form::submit($session,{value=>$i18n->get('import','Shop'), extras=>q{style="float: left;"} })
|
||||
. WebGUI::Form::submit($session,{value=>$i18n->get('import tax','Shop'), extras=>q{style="float: left;"} })
|
||||
. q{<input type="file" name="importFile" size="10" />}
|
||||
. WebGUI::Form::formFooter($session);
|
||||
|
||||
|
|
|
|||
|
|
@ -1096,6 +1096,13 @@ Couldn't open %-s because %-s <br />
|
|||
lastUpdated => 0,
|
||||
context => q{Label for the menu to show actions to perform on an asset},
|
||||
},
|
||||
|
||||
'export' => {
|
||||
message => q{More},
|
||||
lastUpdated => 0,
|
||||
context => q{Label for the menu to show actions to perform on an asset},
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -1389,6 +1389,18 @@ our $I18N = {
|
|||
context => q|Message asking the user to choose one of the available payment options.|,
|
||||
},
|
||||
|
||||
'import tax' => {
|
||||
message => q|Import Taxes|,
|
||||
lastUpdated => 1217125374,
|
||||
context => q|Label for the manage tax screen|,
|
||||
},
|
||||
|
||||
'export tax' => {
|
||||
message => q|Export Taxes|,
|
||||
lastUpdated => 1217125391,
|
||||
context => q|Label for the manage tax screen|,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue