[Improvement] Coupon i18n (#431)

This commit is contained in:
neverland
2017-12-14 10:46:26 +08:00
committed by GitHub
parent c6a37bba5b
commit 1d105afc70
10 changed files with 175 additions and 116 deletions

View File

@@ -71,5 +71,23 @@ export default {
},
vanSubmitBar: {
label: 'Total'
},
vanCouponCell: {
title: 'Coupon',
tips: 'Select coupon',
reduce: 'Reduce',
count: count => `You have ${count} offers`
},
vanCouponList: {
empty: 'No coupons',
exchange: 'Exchange',
close: 'Close',
disabled: 'Unavailable',
placeholder: 'Coupon code'
},
vanCouponItem: {
unlimited: 'Unlimited',
discount: discount => `${discount * 10}% off`,
condition: condition => `At least ${condition}`
}
};

View File

@@ -75,5 +75,23 @@ export default {
},
vanSubmitBar: {
label: '合计:'
},
vanCouponCell: {
title: '优惠券码',
tips: '使用优惠',
reduce: '省',
count: count => `您有 ${count} 个可用优惠`
},
vanCouponList: {
empty: '暂无优惠券',
exchange: '兑换',
close: '不使用优惠',
disabled: '不可用优惠',
placeholder: '请输入优惠码'
},
vanCouponItem: {
unlimited: '无使用门槛',
discount: discount => `${discount}`,
condition: (condition) => `${condition}元可用`
}
};