storeInfoManageLang.js
3.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
export const messages = {
en: {
storeInfoManage: {
basicInfo: 'Basic Information',
storeName: 'Store Name',
storeAddress: 'Store Address',
contactNumber: 'Contact Number',
storeType: 'Store Type',
legalPerson: 'Legal Person',
nearbyLandmark: 'Nearby Landmark',
operation: 'Operation',
edit: 'Edit',
storeInfo: 'Store Information',
attributeName: 'Attribute Name',
attributeValue: 'Attribute Value',
fetchError: 'Failed to fetch store information'
},
editStoreInfo: {
title: 'Edit Store Information',
storeName: 'Store Name',
storeNamePlaceholder: 'Store name cannot be modified',
storeAddress: 'Store Address',
storeAddressPlaceholder: 'Required, please enter store address',
contactNumber: 'Contact Number',
contactNumberPlaceholder: 'Required, please enter contact number',
nearbyLandmark: 'Nearby Landmark',
nearbyLandmarkPlaceholder: 'Required, please enter nearby landmark',
mapX: 'Map X Coordinate',
mapXPlaceholder: 'Optional, please enter X coordinate',
mapY: 'Map Y Coordinate',
mapYPlaceholder: 'Optional, please enter Y coordinate',
validate: {
nameRequired: 'Store name is required',
nameMaxLength: 'Store name cannot exceed 100 characters',
addressRequired: 'Store address is required',
addressMaxLength: 'Store address cannot exceed 200 characters',
telRequired: 'Contact number is required',
telMaxLength: 'Contact number cannot exceed 11 digits',
landmarkRequired: 'Nearby landmark is required',
landmarkMaxLength: 'Nearby landmark cannot exceed 200 characters'
}
},
editStoreAttr: {
title: 'Edit Store Attribute',
attributePlaceholder: 'Store attribute is required',
validate: {
valueRequired: 'Attribute value is required',
valueMaxLength: 'Attribute value cannot exceed 50 characters',
attrIdRequired: 'Attribute ID cannot be empty'
}
}
},
zh: {
storeInfoManage: {
basicInfo: '基本信息',
storeName: '商户名称',
storeAddress: '商户地址',
contactNumber: '联系电话',
storeType: '商户类型',
legalPerson: '企业法人',
nearbyLandmark: '附近地标',
operation: '操作',
edit: '修改',
storeInfo: '商户信息',
attributeName: '属性名称',
attributeValue: '属性值',
fetchError: '获取商户信息失败'
},
editStoreInfo: {
title: '修改商户信息',
storeName: '商户名称',
storeNamePlaceholder: '商户名称不能修改',
storeAddress: '商户地址',
storeAddressPlaceholder: '必填,请填写商户地址',
contactNumber: '电话',
contactNumberPlaceholder: '必填,请填写联系电话',
nearbyLandmark: '附近地标',
nearbyLandmarkPlaceholder: '必填,请填写附近地标',
mapX: '地区X坐标',
mapXPlaceholder: '选填,请填写x坐标',
mapY: '地区Y坐标',
mapYPlaceholder: '选填,请填写y坐标',
validate: {
nameRequired: '商户名称必填',
nameMaxLength: '商户名称不能超过100位',
addressRequired: '商户地址必填',
addressMaxLength: '商户地址不能超过200位',
telRequired: '联系电话必填',
telMaxLength: '联系电话最多11位',
landmarkRequired: '附件地标必填',
landmarkMaxLength: '附件地标位置最多200位'
}
},
editStoreAttr: {
title: '修改商户属性',
attributePlaceholder: '商户属性必填',
validate: {
valueRequired: '必填',
valueMaxLength: '属性值不能超过50位',
attrIdRequired: '属性id不能为空'
}
}
}
}