[breaking change] Sku: no longer support i18n (#1734)

This commit is contained in:
neverland
2018-08-31 10:41:19 +08:00
committed by GitHub
parent d32f9a42f3
commit 15375f4523
12 changed files with 315 additions and 700 deletions
-44
View File
@@ -64,49 +64,5 @@ export default {
},
vanAddressList: {
add: 'Add new address'
},
vanSku: {
unavailable: 'The product is no longer available for purchase',
spec: 'Please select the goods 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',
upload: 'Please upload',
number: 'Please fill in the correct number format message',
mobile: 'The length of mobile number must be 6 to 12',
email: 'Please fill in the correct email message',
id_no: 'Please fill in the correct ID number message',
onePic: 'only one picture',
placeholder: {
id_no: 'Idcard Number',
text: 'Text',
tel: 'Number',
email: 'Email',
date: 'Date',
time: 'Time',
textarea: 'Text'
}
},
vanSkuImgUploader: {
or: 'Or',
uploading: 'Uploading...',
rephoto: 'Take Again',
photo: 'Take',
reselect: 'Reselect',
select: 'Select Photo',
maxSize: maxSize => `The upload limit is up to ${maxSize}MBplease try to compress the photo`
},
vanSkuStepper: {
title: 'Quantity',
remain: count => `Remain ${count} items`,
quota: quota => `Buy up to ${quota} items`
}
};
+1 -45
View File
@@ -12,7 +12,7 @@ export default {
confirmDelete: '确定要删除么',
telInvalid: '请填写正确的电话',
vanContactCard: {
addText: '添加订单联系人信息'
addText: '添加联系人'
},
vanContactList: {
addText: '新建联系人'
@@ -64,49 +64,5 @@ export default {
},
vanAddressList: {
add: '新增地址'
},
vanSku: {
unavailable: '商品已经无法购买啦',
spec: '请先选择商品规格',
least: '至少选择一件',
quota: quota => `限购${quota}`,
inventory: '库存不足',
purchase: count => `您已购买${count}`
},
vanSkuActions: {
cart: '加入购物车',
buy: '立即购买'
},
vanSkuMessages: {
fill: '请填写',
upload: '请上传',
number: '请填写正确的数字格式留言',
mobile: '手机号长度为6-20位数字',
email: '请填写正确的邮箱',
id_no: '请填写正确的身份证号码',
onePic: '仅限一张',
placeholder: {
id_no: '输入身份证号码',
text: '输入文本',
tel: '输入数字',
email: '输入邮箱',
date: '点击选择日期',
time: '点击选择时间',
textarea: '点击填写段落文本'
}
},
vanSkuImgUploader: {
or: '或',
uploading: '正在上传...',
rephoto: '重拍',
photo: '拍照',
reselect: '重新选择照片',
select: '选择照片',
maxSize: maxSize => `最大可上传图片为${maxSize}MB,请尝试压缩图片尺寸`
},
vanSkuStepper: {
title: '购买数量',
remain: count => `剩余${count}`,
quota: quota => `每人限购${quota}`
}
};
+1 -45
View File
@@ -12,7 +12,7 @@ export default {
confirmDelete: '確定要刪除麽',
telInvalid: '請填寫正確的電話',
vanContactCard: {
addText: '添加訂單聯系人信息'
addText: '添加聯系人'
},
vanContactList: {
addText: '新建聯系人'
@@ -64,49 +64,5 @@ export default {
},
vanAddressList: {
add: '新增地址'
},
vanSku: {
unavailable: '商品已經無法購買啦',
spec: '請先選擇商品規格',
least: '至少選擇一件',
quota: quota => `限購${quota}`,
inventory: '庫存不足',
purchase: count => `您已購買${count}`
},
vanSkuActions: {
cart: '加入購物車',
buy: '立即購買'
},
vanSkuMessages: {
fill: '請填寫',
upload: '請上傳',
number: '請填寫正確的數字格式留言',
mobile: '手機號長度為6-20位數字',
email: '請填寫正確的郵箱',
id_no: '請填寫正確的身份證號碼',
onePic: '僅限一張',
placeholder: {
id_no: '輸入身份證號碼',
text: '輸入文本',
tel: '輸入數字',
email: '輸入郵箱',
date: '點擊選擇日期',
time: '點擊選擇時間',
textarea: '點擊填寫段落文本'
}
},
vanSkuImgUploader: {
or: '或',
uploading: '正在上傳...',
rephoto: '重拍',
photo: '拍照',
reselect: '重新選擇照片',
select: '選擇照片',
maxSize: maxSize => `最大可上傳圖片為${maxSize}MB,請嘗試壓縮圖片尺寸`
},
vanSkuStepper: {
title: '購買數量',
remain: count => `剩余${count}`,
quota: quota => `每人限購${quota}`
}
};