mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[Improvement] Sku: support i18n (#439)
This commit is contained in:
@@ -93,5 +93,38 @@ export default {
|
||||
vanAddressList: {
|
||||
address: 'Address',
|
||||
add: 'Add new address'
|
||||
},
|
||||
vanSku: {
|
||||
unavailable: 'The product is no longer available for purchase',
|
||||
spec: 'Please select the full specification',
|
||||
least: 'Choose at least one',
|
||||
quota: quota => `Buy up to ${quota} items`,
|
||||
inventory: 'Inventory shortage',
|
||||
purchase: count => `You have purchased ${count} items`
|
||||
},
|
||||
vanSkuActions: {
|
||||
cart: 'Add to cart',
|
||||
buy: 'Buy'
|
||||
},
|
||||
vanSkuMessages: {
|
||||
fill: 'Please fill',
|
||||
number: 'Please fill in the correct number format message',
|
||||
email: 'Please fill in the correct email message',
|
||||
idcard: 'Please fill in the correct ID number message',
|
||||
overlimit: 'not more than 200 words',
|
||||
placeholder: {
|
||||
'id_no': 'Idcard Number',
|
||||
text: 'Text',
|
||||
tel: 'Number',
|
||||
email: 'Email',
|
||||
date: 'Date',
|
||||
time: 'Time',
|
||||
textarea: 'Text'
|
||||
}
|
||||
},
|
||||
vanSkuStepper: {
|
||||
title: 'Quantity',
|
||||
remain: count => `Remain ${count} items`,
|
||||
quota: quota => `Buy up to ${quota} items`
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user