[Improvement] Locale: optimize i18 config (#701)

This commit is contained in:
neverland
2018-03-16 13:31:19 +08:00
committed by GitHub
parent 966c8afce0
commit f26ad3b912
12 changed files with 65 additions and 108 deletions
+17 -38
View File
@@ -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',