[Improvement] Locale: optimize i18 config (#701)
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
export default {
|
||||
name: 'Name',
|
||||
tel: 'Phone',
|
||||
save: 'Save',
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
save: 'Save',
|
||||
complete: 'Complete',
|
||||
contact: 'Name',
|
||||
province: 'Province',
|
||||
city: 'City',
|
||||
county: 'District',
|
||||
loadingTip: 'Loading...',
|
||||
nameEmpty: 'Name can not be empty',
|
||||
nameOverlimit: 'Name length exceeds limit',
|
||||
telInvalid: 'Malformed phone number',
|
||||
telPlaceholder: 'Phone',
|
||||
vanContactCard: {
|
||||
name: 'Name',
|
||||
tel: 'Phone',
|
||||
addText: 'Add contact info'
|
||||
},
|
||||
vanContactList: {
|
||||
name: 'Name',
|
||||
tel: 'Phone',
|
||||
addText: 'Add new contact'
|
||||
},
|
||||
vanContactEdit: {
|
||||
name: 'Name',
|
||||
namePlaceholder: 'Name',
|
||||
nameEmpty: 'Name can not be empty',
|
||||
nameOverlimit: 'Name length exceeds limit',
|
||||
tel: 'Phone',
|
||||
telPlaceholder: 'Phone',
|
||||
telInvalid: 'Malformed phone number',
|
||||
save: 'Save',
|
||||
delete: 'Delete',
|
||||
confirmDelete: 'Are you sure you want to delete this contact?'
|
||||
},
|
||||
@@ -31,8 +29,8 @@ export default {
|
||||
next: 'Next'
|
||||
},
|
||||
vanPullRefresh: {
|
||||
pullingText: 'Pull to refresh...',
|
||||
loosingText: 'Loose to refresh...'
|
||||
pulling: 'Pull to refresh...',
|
||||
loosing: 'Loose to refresh...'
|
||||
},
|
||||
vanSubmitBar: {
|
||||
label: 'Total:'
|
||||
@@ -55,18 +53,9 @@ export default {
|
||||
discount: discount => `${discount * 10}% off`,
|
||||
condition: condition => `At least ${condition}`
|
||||
},
|
||||
vanArea: {
|
||||
province: 'Province',
|
||||
city: 'City',
|
||||
county: 'District'
|
||||
},
|
||||
vanAddressEdit: {
|
||||
areaTitle: 'Area',
|
||||
areaWrong: 'Please select the correct receiving area',
|
||||
area: 'Area',
|
||||
areaEmpty: 'Please select a receiving area',
|
||||
nameEmpty: 'Name can not be empty',
|
||||
nameOverlimit: 'Name length exceeds limit',
|
||||
telWrong: 'Wrong format of phone number',
|
||||
addressOverlimit: 'The length of the address can not exceed 200 characters',
|
||||
addressEmpty: 'Address can not be empty',
|
||||
postalEmpty: 'Wrong postal code',
|
||||
@@ -75,25 +64,15 @@ export default {
|
||||
confirmDelete: 'Are you sure you want to delete this address?',
|
||||
label: {
|
||||
name: 'Receiver',
|
||||
tel: 'Phone',
|
||||
postal: 'Postal'
|
||||
},
|
||||
placeholder: {
|
||||
name: 'Receiver name',
|
||||
tel: 'Phone',
|
||||
postal: 'Postal code (optional)',
|
||||
province: 'Province',
|
||||
city: 'City',
|
||||
county: 'County'
|
||||
postal: 'Postal code (optional)'
|
||||
}
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: {
|
||||
address: 'Address'
|
||||
},
|
||||
placeholder: {
|
||||
address: 'Address'
|
||||
}
|
||||
label: 'Address',
|
||||
placeholder: 'Address'
|
||||
},
|
||||
vanAddressList: {
|
||||
address: 'Address',
|
||||
|
||||
@@ -1,41 +1,36 @@
|
||||
export default {
|
||||
name: '名字',
|
||||
tel: '联系电话',
|
||||
save: '保存',
|
||||
confirm: '确认',
|
||||
cancel: '取消',
|
||||
save: '保存',
|
||||
complete: '完成',
|
||||
contact: '联系人',
|
||||
province: '选择省份',
|
||||
city: '选择城市',
|
||||
county: '选择地区',
|
||||
loadingTip: '加载中...',
|
||||
nameEmpty: '请填写名字',
|
||||
nameOverlimit: '名字过长,请重新输入',
|
||||
telInvalid: '请填写正确的手机号码或电话号码',
|
||||
telPlaceholder: '手机或固定电话',
|
||||
vanContactCard: {
|
||||
name: '联系人',
|
||||
tel: '联系电话',
|
||||
addText: '添加订单联系人信息'
|
||||
},
|
||||
vanContactList: {
|
||||
name: '联系人',
|
||||
tel: '联系电话',
|
||||
addText: '新建联系人'
|
||||
},
|
||||
vanContactEdit: {
|
||||
name: '联系人',
|
||||
namePlaceholder: '名字',
|
||||
nameEmpty: '请填写名字',
|
||||
nameOverlimit: '名字过长,请重新输入',
|
||||
tel: '联系电话',
|
||||
telPlaceholder: '手机或固定电话',
|
||||
telInvalid: '请填写正确的手机号码或电话号码',
|
||||
save: '保存',
|
||||
delete: '删除联系人',
|
||||
confirmDelete: '确定要删除这个联系人么'
|
||||
},
|
||||
vanPicker: {
|
||||
confirm: '完成'
|
||||
},
|
||||
vanPagination: {
|
||||
prev: '上一页',
|
||||
next: '下一页'
|
||||
},
|
||||
vanPullRefresh: {
|
||||
pullingText: '下拉即可刷新...',
|
||||
loosingText: '释放即可刷新...'
|
||||
pulling: '下拉即可刷新...',
|
||||
loosing: '释放即可刷新...'
|
||||
},
|
||||
vanSubmitBar: {
|
||||
label: '合计:'
|
||||
@@ -58,19 +53,10 @@ export default {
|
||||
discount: discount => `${discount}折`,
|
||||
condition: (condition) => `满${condition}元可用`
|
||||
},
|
||||
vanArea: {
|
||||
province: '选择省份',
|
||||
city: '选择城市',
|
||||
county: '选择地区'
|
||||
},
|
||||
vanAddressEdit: {
|
||||
areaTitle: '收件地区',
|
||||
area: '收件地区',
|
||||
addressText: '收货',
|
||||
areaWrong: '请选择正确的收件地区',
|
||||
areaEmpty: '请选择收件地区',
|
||||
nameEmpty: '请填写名字',
|
||||
nameOverlimit: '名字过长,请重新输入',
|
||||
telWrong: '请填写正确的手机号码或电话号码',
|
||||
addressOverlimit: '详细地址不能超过200个字符',
|
||||
addressEmpty: '请填写详细地址',
|
||||
postalEmpty: '邮政编码格式不正确',
|
||||
@@ -79,25 +65,15 @@ export default {
|
||||
confirmDelete: text => `确定要删除这个${text}地址么`,
|
||||
label: {
|
||||
name: text => `${text}人`,
|
||||
tel: '联系电话',
|
||||
postal: '邮政编码'
|
||||
},
|
||||
placeholder: {
|
||||
name: '名字',
|
||||
tel: '手机或固定电话',
|
||||
postal: '邮政编码(选填)',
|
||||
province: '选择省份',
|
||||
city: '选择城市',
|
||||
county: '选择地区'
|
||||
postal: '邮政编码(选填)'
|
||||
}
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: {
|
||||
address: '详细地址'
|
||||
},
|
||||
placeholder: {
|
||||
address: '如街道、楼层、门牌号等'
|
||||
}
|
||||
label: '详细地址',
|
||||
placeholder: '如街道、楼层、门牌号等'
|
||||
},
|
||||
vanAddressList: {
|
||||
address: '收货地址',
|
||||
|
||||
Reference in New Issue
Block a user