Internationalised the javascript part of the vendor payouts manager.
This commit is contained in:
parent
330c8f416c
commit
0fd6447042
3 changed files with 117 additions and 22 deletions
|
|
@ -500,6 +500,7 @@ sub www_managePayouts {
|
|||
$style->setScript($url->extras('yui/build/datasource/datasource.js'), {type=>'text/javascript'});
|
||||
$style->setScript($url->extras('yui/build/datatable/datatable-min.js'), {type=>'text/javascript'});
|
||||
$style->setScript($url->extras('yui/build/button/button-min.js'), {type=>'text/javascript'});
|
||||
$style->setScript($url->extras('yui-webgui/build/i18n/i18n.js'), {type=>'text/javascript'});
|
||||
$style->setScript($url->extras('VendorPayout/vendorPayout.js'), {type=>'text/javascript'});
|
||||
|
||||
# Add css for scheduled payout highlighting
|
||||
|
|
@ -606,6 +607,7 @@ sub www_setPayoutStatus {
|
|||
$item->update({ vendorPayoutStatus => $status });
|
||||
}
|
||||
|
||||
$session->http->setMimeType( 'text/plain' );
|
||||
return $status;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1545,6 +1545,84 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
context => q|message that is displayed in the cart view screen|,
|
||||
},
|
||||
|
||||
'schedule all button' => {
|
||||
message => q|Schedule all|,
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the schedule all button in the vendor payouts manager',
|
||||
},
|
||||
|
||||
'deschedule all button' => {
|
||||
message => q|Deschedule all|,
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the deschedule all button in the vendor payouts manager',
|
||||
},
|
||||
|
||||
'submit scheduled payouts button' => {
|
||||
message => q|Submit Scheduled Payouts|,
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the submit scheduled payouts button in the vendor payouts manager',
|
||||
},
|
||||
|
||||
'vendor id' => {
|
||||
message => q|Vendor ID|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vendor name' => {
|
||||
message => q|Name|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'scheduled payout amount' => {
|
||||
message => q|Scheduled for payout|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'not scheduled payout amount' => {
|
||||
message => q|Not scheduled for payout|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vp item id' => {
|
||||
message => q|Item ID|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vp item title' => {
|
||||
message => q|Item name|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vp item price' => {
|
||||
message => q|Price|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
'vp item quantity' => {
|
||||
message => q|Qty|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vp item payout amount' => {
|
||||
message => q|Payout amount|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
'vp item payout status' => {
|
||||
message => q|Payout status|,
|
||||
lastUpdated => 0,
|
||||
context => q|Table heading in the vendor payout manager.|,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue