mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
[new feature] add i18n support (#310)
* fix: Tabbar icon line-height * [new feature] progress add showPivot prop * [new feature] TabItem support vue-router * [new feature] update document header style * [Doc] add toast english ducoment * [new feature] add i18n support * feat: Extract demos from markdown * feat: Base components demos * [new feature] complete demo extract & translate * [fix] text cases * fix: add deepAssign test cases * fix: changelog detail * [new feature] AddressEdit support i18n
This commit is contained in:
68
packages/locale/lang/en-US.js
Normal file
68
packages/locale/lang/en-US.js
Normal file
@@ -0,0 +1,68 @@
|
||||
export default {
|
||||
confirm: 'Confirm',
|
||||
cancel: 'Cancel',
|
||||
save: 'Save',
|
||||
complete: 'Complete',
|
||||
vanAddressEdit: {
|
||||
areaTitle: 'Area',
|
||||
areaWrong: 'Please select the correct receiving 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',
|
||||
defaultAddress: 'Set as the default address',
|
||||
deleteAddress: 'Delete the address',
|
||||
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'
|
||||
}
|
||||
},
|
||||
vanAddressEditDetail: {
|
||||
label: {
|
||||
address: 'Address'
|
||||
},
|
||||
placeholder: {
|
||||
address: 'Address'
|
||||
}
|
||||
},
|
||||
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?'
|
||||
},
|
||||
vanPullRefresh: {
|
||||
pullingText: 'Pull to refresh...',
|
||||
loosingText: 'Loose to refresh...',
|
||||
loadingText: 'Loading...'
|
||||
}
|
||||
};
|
Reference in New Issue
Block a user