正在显示
82 个修改的文件
包含
1688 行增加
和
1688 行删除
... | ... | @@ -10,19 +10,19 @@ const nullSlectItem = { |
10 | 10 | key: '', |
11 | 11 | }; |
12 | 12 | |
13 | -@connect(({ BLOCK_NAME, loading }) => { | |
14 | - const { province, city } = BLOCK_NAME; | |
13 | +@connect(({ BLOCK_NAME_CAMEL_CASE, loading }) => { | |
14 | + const { province, city } = BLOCK_NAME_CAMEL_CASE; | |
15 | 15 | return { |
16 | 16 | province, |
17 | 17 | city, |
18 | - loading: loading.models.BLOCK_NAME, | |
18 | + loading: loading.models.BLOCK_NAME_CAMEL_CASE, | |
19 | 19 | }; |
20 | 20 | }) |
21 | 21 | class GeographicView extends PureComponent { |
22 | 22 | componentDidMount = () => { |
23 | 23 | const { dispatch } = this.props; |
24 | 24 | dispatch({ |
25 | - type: 'BLOCK_NAME/fetchProvince', | |
25 | + type: 'BLOCK_NAME_CAMEL_CASE/fetchProvince', | |
26 | 26 | }); |
27 | 27 | }; |
28 | 28 | |
... | ... | @@ -31,7 +31,7 @@ class GeographicView extends PureComponent { |
31 | 31 | |
32 | 32 | if (!props.value && !!value && !!value.province) { |
33 | 33 | dispatch({ |
34 | - type: 'BLOCK_NAME/fetchCity', | |
34 | + type: 'BLOCK_NAME_CAMEL_CASE/fetchCity', | |
35 | 35 | payload: value.province.key, |
36 | 36 | }); |
37 | 37 | } |
... | ... | @@ -65,7 +65,7 @@ class GeographicView extends PureComponent { |
65 | 65 | selectProvinceItem = item => { |
66 | 66 | const { dispatch, onChange } = this.props; |
67 | 67 | dispatch({ |
68 | - type: 'BLOCK_NAME/fetchCity', | |
68 | + type: 'BLOCK_NAME_CAMEL_CASE/fetchCity', | |
69 | 69 | payload: item.key, |
70 | 70 | }); |
71 | 71 | onChange({ | ... | ... |
... | ... | @@ -13,7 +13,7 @@ const { Option } = Select; |
13 | 13 | const AvatarView = ({ avatar }) => ( |
14 | 14 | <Fragment> |
15 | 15 | <div className={styles.avatar_title}> |
16 | - <FormattedMessage id="app.settings.basic.avatar" defaultMessage="Avatar" /> | |
16 | + <FormattedMessage id="BLOCK_BAME.basic.avatar" defaultMessage="Avatar" /> | |
17 | 17 | </div> |
18 | 18 | <div className={styles.avatar}> |
19 | 19 | <img src={avatar} alt="avatar" /> |
... | ... | @@ -21,7 +21,7 @@ const AvatarView = ({ avatar }) => ( |
21 | 21 | <Upload fileList={[]}> |
22 | 22 | <div className={styles.button_view}> |
23 | 23 | <Button icon="upload"> |
24 | - <FormattedMessage id="app.settings.basic.change-avatar" defaultMessage="Change avatar" /> | |
24 | + <FormattedMessage id="BLOCK_BAME.basic.change-avatar" defaultMessage="Change avatar" /> | |
25 | 25 | </Button> |
26 | 26 | </div> |
27 | 27 | </Upload> |
... | ... | @@ -50,8 +50,8 @@ const validatorPhone = (rule, value, callback) => { |
50 | 50 | callback(); |
51 | 51 | }; |
52 | 52 | |
53 | -@connect(({ BLOCK_NAME }) => ({ | |
54 | - currentUser: BLOCK_NAME.currentUser, | |
53 | +@connect(({ BLOCK_NAME_CAMEL_CASE }) => ({ | |
54 | + currentUser: BLOCK_NAME_CAMEL_CASE.currentUser, | |
55 | 55 | })) |
56 | 56 | @Form.create() |
57 | 57 | class BaseView extends Component { |
... | ... | @@ -89,47 +89,47 @@ class BaseView extends Component { |
89 | 89 | <div className={styles.baseView} ref={this.getViewDom}> |
90 | 90 | <div className={styles.left}> |
91 | 91 | <Form layout="vertical" onSubmit={this.handleSubmit} hideRequiredMark> |
92 | - <FormItem label={formatMessage({ id: 'app.settings.basic.email' })}> | |
92 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.email' })}> | |
93 | 93 | {getFieldDecorator('email', { |
94 | 94 | rules: [ |
95 | 95 | { |
96 | 96 | required: true, |
97 | - message: formatMessage({ id: 'app.settings.basic.email-message' }, {}), | |
97 | + message: formatMessage({ id: 'BLOCK_BAME.basic.email-message' }, {}), | |
98 | 98 | }, |
99 | 99 | ], |
100 | 100 | })(<Input />)} |
101 | 101 | </FormItem> |
102 | - <FormItem label={formatMessage({ id: 'app.settings.basic.nickname' })}> | |
102 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.nickname' })}> | |
103 | 103 | {getFieldDecorator('name', { |
104 | 104 | rules: [ |
105 | 105 | { |
106 | 106 | required: true, |
107 | - message: formatMessage({ id: 'app.settings.basic.nickname-message' }, {}), | |
107 | + message: formatMessage({ id: 'BLOCK_BAME.basic.nickname-message' }, {}), | |
108 | 108 | }, |
109 | 109 | ], |
110 | 110 | })(<Input />)} |
111 | 111 | </FormItem> |
112 | - <FormItem label={formatMessage({ id: 'app.settings.basic.profile' })}> | |
112 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.profile' })}> | |
113 | 113 | {getFieldDecorator('profile', { |
114 | 114 | rules: [ |
115 | 115 | { |
116 | 116 | required: true, |
117 | - message: formatMessage({ id: 'app.settings.basic.profile-message' }, {}), | |
117 | + message: formatMessage({ id: 'BLOCK_BAME.basic.profile-message' }, {}), | |
118 | 118 | }, |
119 | 119 | ], |
120 | 120 | })( |
121 | 121 | <Input.TextArea |
122 | - placeholder={formatMessage({ id: 'app.settings.basic.profile-placeholder' })} | |
122 | + placeholder={formatMessage({ id: 'BLOCK_BAME.basic.profile-placeholder' })} | |
123 | 123 | rows={4} |
124 | 124 | /> |
125 | 125 | )} |
126 | 126 | </FormItem> |
127 | - <FormItem label={formatMessage({ id: 'app.settings.basic.country' })}> | |
127 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.country' })}> | |
128 | 128 | {getFieldDecorator('country', { |
129 | 129 | rules: [ |
130 | 130 | { |
131 | 131 | required: true, |
132 | - message: formatMessage({ id: 'app.settings.basic.country-message' }, {}), | |
132 | + message: formatMessage({ id: 'BLOCK_BAME.basic.country-message' }, {}), | |
133 | 133 | }, |
134 | 134 | ], |
135 | 135 | })( |
... | ... | @@ -138,12 +138,12 @@ class BaseView extends Component { |
138 | 138 | </Select> |
139 | 139 | )} |
140 | 140 | </FormItem> |
141 | - <FormItem label={formatMessage({ id: 'app.settings.basic.geographic' })}> | |
141 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.geographic' })}> | |
142 | 142 | {getFieldDecorator('geographic', { |
143 | 143 | rules: [ |
144 | 144 | { |
145 | 145 | required: true, |
146 | - message: formatMessage({ id: 'app.settings.basic.geographic-message' }, {}), | |
146 | + message: formatMessage({ id: 'BLOCK_BAME.basic.geographic-message' }, {}), | |
147 | 147 | }, |
148 | 148 | { |
149 | 149 | validator: validatorGeographic, |
... | ... | @@ -151,22 +151,22 @@ class BaseView extends Component { |
151 | 151 | ], |
152 | 152 | })(<GeographicView />)} |
153 | 153 | </FormItem> |
154 | - <FormItem label={formatMessage({ id: 'app.settings.basic.address' })}> | |
154 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.address' })}> | |
155 | 155 | {getFieldDecorator('address', { |
156 | 156 | rules: [ |
157 | 157 | { |
158 | 158 | required: true, |
159 | - message: formatMessage({ id: 'app.settings.basic.address-message' }, {}), | |
159 | + message: formatMessage({ id: 'BLOCK_BAME.basic.address-message' }, {}), | |
160 | 160 | }, |
161 | 161 | ], |
162 | 162 | })(<Input />)} |
163 | 163 | </FormItem> |
164 | - <FormItem label={formatMessage({ id: 'app.settings.basic.phone' })}> | |
164 | + <FormItem label={formatMessage({ id: 'BLOCK_BAME.basic.phone' })}> | |
165 | 165 | {getFieldDecorator('phone', { |
166 | 166 | rules: [ |
167 | 167 | { |
168 | 168 | required: true, |
169 | - message: formatMessage({ id: 'app.settings.basic.phone-message' }, {}), | |
169 | + message: formatMessage({ id: 'BLOCK_BAME.basic.phone-message' }, {}), | |
170 | 170 | }, |
171 | 171 | { validator: validatorPhone }, |
172 | 172 | ], |
... | ... | @@ -174,7 +174,7 @@ class BaseView extends Component { |
174 | 174 | </FormItem> |
175 | 175 | <Button type="primary"> |
176 | 176 | <FormattedMessage |
177 | - id="app.settings.basic.update" | |
177 | + id="BLOCK_BAME.basic.update" | |
178 | 178 | defaultMessage="Update Information" |
179 | 179 | /> |
180 | 180 | </Button> | ... | ... |
... | ... | @@ -5,31 +5,31 @@ import { Icon, List } from 'antd'; |
5 | 5 | class BindingView extends Component { |
6 | 6 | getData = () => [ |
7 | 7 | { |
8 | - title: formatMessage({ id: 'app.settings.binding.taobao' }, {}), | |
9 | - description: formatMessage({ id: 'app.settings.binding.taobao-description' }, {}), | |
8 | + title: formatMessage({ id: 'BLOCK_BAME.binding.taobao' }, {}), | |
9 | + description: formatMessage({ id: 'BLOCK_BAME.binding.taobao-description' }, {}), | |
10 | 10 | actions: [ |
11 | 11 | <a> |
12 | - <FormattedMessage id="app.settings.binding.bind" defaultMessage="Bind" /> | |
12 | + <FormattedMessage id="BLOCK_BAME.binding.bind" defaultMessage="Bind" /> | |
13 | 13 | </a>, |
14 | 14 | ], |
15 | 15 | avatar: <Icon type="taobao" className="taobao" />, |
16 | 16 | }, |
17 | 17 | { |
18 | - title: formatMessage({ id: 'app.settings.binding.alipay' }, {}), | |
19 | - description: formatMessage({ id: 'app.settings.binding.alipay-description' }, {}), | |
18 | + title: formatMessage({ id: 'BLOCK_BAME.binding.alipay' }, {}), | |
19 | + description: formatMessage({ id: 'BLOCK_BAME.binding.alipay-description' }, {}), | |
20 | 20 | actions: [ |
21 | 21 | <a> |
22 | - <FormattedMessage id="app.settings.binding.bind" defaultMessage="Bind" /> | |
22 | + <FormattedMessage id="BLOCK_BAME.binding.bind" defaultMessage="Bind" /> | |
23 | 23 | </a>, |
24 | 24 | ], |
25 | 25 | avatar: <Icon type="alipay" className="alipay" />, |
26 | 26 | }, |
27 | 27 | { |
28 | - title: formatMessage({ id: 'app.settings.binding.dingding' }, {}), | |
29 | - description: formatMessage({ id: 'app.settings.binding.dingding-description' }, {}), | |
28 | + title: formatMessage({ id: 'BLOCK_BAME.binding.dingding' }, {}), | |
29 | + description: formatMessage({ id: 'BLOCK_BAME.binding.dingding-description' }, {}), | |
30 | 30 | actions: [ |
31 | 31 | <a> |
32 | - <FormattedMessage id="app.settings.binding.bind" defaultMessage="Bind" /> | |
32 | + <FormattedMessage id="BLOCK_BAME.binding.bind" defaultMessage="Bind" /> | |
33 | 33 | </a>, |
34 | 34 | ], |
35 | 35 | avatar: <Icon type="dingding" className="dingding" />, | ... | ... |
... | ... | @@ -6,25 +6,25 @@ class NotificationView extends Component { |
6 | 6 | getData = () => { |
7 | 7 | const Action = ( |
8 | 8 | <Switch |
9 | - checkedChildren={formatMessage({ id: 'app.settings.open' })} | |
10 | - unCheckedChildren={formatMessage({ id: 'app.settings.close' })} | |
9 | + checkedChildren={formatMessage({ id: 'BLOCK_BAME.settings.open' })} | |
10 | + unCheckedChildren={formatMessage({ id: 'BLOCK_BAME.settings.close' })} | |
11 | 11 | defaultChecked |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | return [ |
15 | 15 | { |
16 | - title: formatMessage({ id: 'app.settings.notification.password' }, {}), | |
17 | - description: formatMessage({ id: 'app.settings.notification.password-description' }, {}), | |
16 | + title: formatMessage({ id: 'BLOCK_BAME.notification.password' }, {}), | |
17 | + description: formatMessage({ id: 'BLOCK_BAME.notification.password-description' }, {}), | |
18 | 18 | actions: [Action], |
19 | 19 | }, |
20 | 20 | { |
21 | - title: formatMessage({ id: 'app.settings.notification.messages' }, {}), | |
22 | - description: formatMessage({ id: 'app.settings.notification.messages-description' }, {}), | |
21 | + title: formatMessage({ id: 'BLOCK_BAME.notification.messages' }, {}), | |
22 | + description: formatMessage({ id: 'BLOCK_BAME.notification.messages-description' }, {}), | |
23 | 23 | actions: [Action], |
24 | 24 | }, |
25 | 25 | { |
26 | - title: formatMessage({ id: 'app.settings.notification.todo' }, {}), | |
27 | - description: formatMessage({ id: 'app.settings.notification.todo-description' }, {}), | |
26 | + title: formatMessage({ id: 'BLOCK_BAME.notification.todo' }, {}), | |
27 | + description: formatMessage({ id: 'BLOCK_BAME.notification.todo-description' }, {}), | |
28 | 28 | actions: [Action], |
29 | 29 | }, |
30 | 30 | ]; | ... | ... |
... | ... | @@ -6,17 +6,17 @@ import { List } from 'antd'; |
6 | 6 | const passwordStrength = { |
7 | 7 | strong: ( |
8 | 8 | <font className="strong"> |
9 | - <FormattedMessage id="app.settings.security.strong" defaultMessage="Strong" /> | |
9 | + <FormattedMessage id="BLOCK_BAME.security.strong" defaultMessage="Strong" /> | |
10 | 10 | </font> |
11 | 11 | ), |
12 | 12 | medium: ( |
13 | 13 | <font className="medium"> |
14 | - <FormattedMessage id="app.settings.security.medium" defaultMessage="Medium" /> | |
14 | + <FormattedMessage id="BLOCK_BAME.security.medium" defaultMessage="Medium" /> | |
15 | 15 | </font> |
16 | 16 | ), |
17 | 17 | weak: ( |
18 | 18 | <font className="weak"> |
19 | - <FormattedMessage id="app.settings.security.weak" defaultMessage="Weak" /> | |
19 | + <FormattedMessage id="BLOCK_BAME.security.weak" defaultMessage="Weak" /> | |
20 | 20 | Weak |
21 | 21 | </font> |
22 | 22 | ), |
... | ... | @@ -25,58 +25,58 @@ const passwordStrength = { |
25 | 25 | class SecurityView extends Component { |
26 | 26 | getData = () => [ |
27 | 27 | { |
28 | - title: formatMessage({ id: 'app.settings.security.password' }, {}), | |
28 | + title: formatMessage({ id: 'BLOCK_BAME.security.password' }, {}), | |
29 | 29 | description: ( |
30 | 30 | <Fragment> |
31 | - {formatMessage({ id: 'app.settings.security.password-description' })}: | |
31 | + {formatMessage({ id: 'BLOCK_BAME.security.password-description' })}: | |
32 | 32 | {passwordStrength.strong} |
33 | 33 | </Fragment> |
34 | 34 | ), |
35 | 35 | actions: [ |
36 | 36 | <a> |
37 | - <FormattedMessage id="app.settings.security.modify" defaultMessage="Modify" /> | |
37 | + <FormattedMessage id="BLOCK_BAME.security.modify" defaultMessage="Modify" /> | |
38 | 38 | </a>, |
39 | 39 | ], |
40 | 40 | }, |
41 | 41 | { |
42 | - title: formatMessage({ id: 'app.settings.security.phone' }, {}), | |
42 | + title: formatMessage({ id: 'BLOCK_BAME.security.phone' }, {}), | |
43 | 43 | description: `${formatMessage( |
44 | - { id: 'app.settings.security.phone-description' }, | |
44 | + { id: 'BLOCK_BAME.security.phone-description' }, | |
45 | 45 | {} |
46 | 46 | )}:138****8293`, |
47 | 47 | actions: [ |
48 | 48 | <a> |
49 | - <FormattedMessage id="app.settings.security.modify" defaultMessage="Modify" /> | |
49 | + <FormattedMessage id="BLOCK_BAME.security.modify" defaultMessage="Modify" /> | |
50 | 50 | </a>, |
51 | 51 | ], |
52 | 52 | }, |
53 | 53 | { |
54 | - title: formatMessage({ id: 'app.settings.security.question' }, {}), | |
55 | - description: formatMessage({ id: 'app.settings.security.question-description' }, {}), | |
54 | + title: formatMessage({ id: 'BLOCK_BAME.security.question' }, {}), | |
55 | + description: formatMessage({ id: 'BLOCK_BAME.security.question-description' }, {}), | |
56 | 56 | actions: [ |
57 | 57 | <a> |
58 | - <FormattedMessage id="app.settings.security.set" defaultMessage="Set" /> | |
58 | + <FormattedMessage id="BLOCK_BAME.security.set" defaultMessage="Set" /> | |
59 | 59 | </a>, |
60 | 60 | ], |
61 | 61 | }, |
62 | 62 | { |
63 | - title: formatMessage({ id: 'app.settings.security.email' }, {}), | |
63 | + title: formatMessage({ id: 'BLOCK_BAME.security.email' }, {}), | |
64 | 64 | description: `${formatMessage( |
65 | - { id: 'app.settings.security.email-description' }, | |
65 | + { id: 'BLOCK_BAME.security.email-description' }, | |
66 | 66 | {} |
67 | 67 | )}:ant***sign.com`, |
68 | 68 | actions: [ |
69 | 69 | <a> |
70 | - <FormattedMessage id="app.settings.security.modify" defaultMessage="Modify" /> | |
70 | + <FormattedMessage id="BLOCK_BAME.security.modify" defaultMessage="Modify" /> | |
71 | 71 | </a>, |
72 | 72 | ], |
73 | 73 | }, |
74 | 74 | { |
75 | - title: formatMessage({ id: 'app.settings.security.mfa' }, {}), | |
76 | - description: formatMessage({ id: 'app.settings.security.mfa-description' }, {}), | |
75 | + title: formatMessage({ id: 'BLOCK_BAME.security.mfa' }, {}), | |
76 | + description: formatMessage({ id: 'BLOCK_BAME.security.mfa-description' }, {}), | |
77 | 77 | actions: [ |
78 | 78 | <a> |
79 | - <FormattedMessage id="app.settings.security.bind" defaultMessage="Bind" /> | |
79 | + <FormattedMessage id="BLOCK_BAME.security.bind" defaultMessage="Bind" /> | |
80 | 80 | </a>, |
81 | 81 | ], |
82 | 82 | }, | ... | ... |
... | ... | @@ -19,16 +19,16 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
19 | 19 | super(props); |
20 | 20 | const { match, location } = props; |
21 | 21 | const menuMap = { |
22 | - base: <FormattedMessage id="app.settings.menuMap.basic" defaultMessage="Basic Settings" />, | |
22 | + base: <FormattedMessage id="BLOCK_BAME.menuMap.basic" defaultMessage="Basic Settings" />, | |
23 | 23 | security: ( |
24 | - <FormattedMessage id="app.settings.menuMap.security" defaultMessage="Security Settings" /> | |
24 | + <FormattedMessage id="BLOCK_BAME.menuMap.security" defaultMessage="Security Settings" /> | |
25 | 25 | ), |
26 | 26 | binding: ( |
27 | - <FormattedMessage id="app.settings.menuMap.binding" defaultMessage="Account Binding" /> | |
27 | + <FormattedMessage id="BLOCK_BAME.menuMap.binding" defaultMessage="Account Binding" /> | |
28 | 28 | ), |
29 | 29 | notification: ( |
30 | 30 | <FormattedMessage |
31 | - id="app.settings.menuMap.notification" | |
31 | + id="BLOCK_BAME.menuMap.notification" | |
32 | 32 | defaultMessage="New Message Notification" |
33 | 33 | /> |
34 | 34 | ), | ... | ... |
1 | 1 | export default { |
2 | - 'app.settings.menuMap.basic': 'Basic Settings', | |
3 | - 'app.settings.menuMap.security': 'Security Settings', | |
4 | - 'app.settings.menuMap.binding': 'Account Binding', | |
5 | - 'app.settings.menuMap.notification': 'New Message Notification', | |
6 | - 'app.settings.basic.avatar': 'Avatar', | |
7 | - 'app.settings.basic.change-avatar': 'Change avatar', | |
8 | - 'app.settings.basic.email': 'Email', | |
9 | - 'app.settings.basic.email-message': 'Please input your email!', | |
10 | - 'app.settings.basic.nickname': 'Nickname', | |
11 | - 'app.settings.basic.nickname-message': 'Please input your Nickname!', | |
12 | - 'app.settings.basic.profile': 'Personal profile', | |
13 | - 'app.settings.basic.profile-message': 'Please input your personal profile!', | |
14 | - 'app.settings.basic.profile-placeholder': 'Brief introduction to yourself', | |
15 | - 'app.settings.basic.country': 'Country/Region', | |
16 | - 'app.settings.basic.country-message': 'Please input your country!', | |
17 | - 'app.settings.basic.geographic': 'Province or city', | |
18 | - 'app.settings.basic.geographic-message': 'Please input your geographic info!', | |
19 | - 'app.settings.basic.address': 'Street Address', | |
20 | - 'app.settings.basic.address-message': 'Please input your address!', | |
21 | - 'app.settings.basic.phone': 'Phone Number', | |
22 | - 'app.settings.basic.phone-message': 'Please input your phone!', | |
23 | - 'app.settings.basic.update': 'Update Information', | |
24 | - 'app.settings.security.strong': 'Strong', | |
25 | - 'app.settings.security.medium': 'Medium', | |
26 | - 'app.settings.security.weak': 'Weak', | |
27 | - 'app.settings.security.password': 'Account Password', | |
28 | - 'app.settings.security.password-description': 'Current password strength:', | |
29 | - 'app.settings.security.phone': 'Security Phone', | |
30 | - 'app.settings.security.phone-description': 'Bound phone:', | |
31 | - 'app.settings.security.question': 'Security Question', | |
32 | - 'app.settings.security.question-description': | |
2 | + 'BLOCK_BAME.menuMap.basic': 'Basic Settings', | |
3 | + 'BLOCK_BAME.menuMap.security': 'Security Settings', | |
4 | + 'BLOCK_BAME.menuMap.binding': 'Account Binding', | |
5 | + 'BLOCK_BAME.menuMap.notification': 'New Message Notification', | |
6 | + 'BLOCK_BAME.basic.avatar': 'Avatar', | |
7 | + 'BLOCK_BAME.basic.change-avatar': 'Change avatar', | |
8 | + 'BLOCK_BAME.basic.email': 'Email', | |
9 | + 'BLOCK_BAME.basic.email-message': 'Please input your email!', | |
10 | + 'BLOCK_BAME.basic.nickname': 'Nickname', | |
11 | + 'BLOCK_BAME.basic.nickname-message': 'Please input your Nickname!', | |
12 | + 'BLOCK_BAME.basic.profile': 'Personal profile', | |
13 | + 'BLOCK_BAME.basic.profile-message': 'Please input your personal profile!', | |
14 | + 'BLOCK_BAME.basic.profile-placeholder': 'Brief introduction to yourself', | |
15 | + 'BLOCK_BAME.basic.country': 'Country/Region', | |
16 | + 'BLOCK_BAME.basic.country-message': 'Please input your country!', | |
17 | + 'BLOCK_BAME.basic.geographic': 'Province or city', | |
18 | + 'BLOCK_BAME.basic.geographic-message': 'Please input your geographic info!', | |
19 | + 'BLOCK_BAME.basic.address': 'Street Address', | |
20 | + 'BLOCK_BAME.basic.address-message': 'Please input your address!', | |
21 | + 'BLOCK_BAME.basic.phone': 'Phone Number', | |
22 | + 'BLOCK_BAME.basic.phone-message': 'Please input your phone!', | |
23 | + 'BLOCK_BAME.basic.update': 'Update Information', | |
24 | + 'BLOCK_BAME.security.strong': 'Strong', | |
25 | + 'BLOCK_BAME.security.medium': 'Medium', | |
26 | + 'BLOCK_BAME.security.weak': 'Weak', | |
27 | + 'BLOCK_BAME.security.password': 'Account Password', | |
28 | + 'BLOCK_BAME.security.password-description': 'Current password strength:', | |
29 | + 'BLOCK_BAME.security.phone': 'Security Phone', | |
30 | + 'BLOCK_BAME.security.phone-description': 'Bound phone:', | |
31 | + 'BLOCK_BAME.security.question': 'Security Question', | |
32 | + 'BLOCK_BAME.security.question-description': | |
33 | 33 | 'The security question is not set, and the security policy can effectively protect the account security', |
34 | - 'app.settings.security.email': 'Backup Email', | |
35 | - 'app.settings.security.email-description': 'Bound Email:', | |
36 | - 'app.settings.security.mfa': 'MFA Device', | |
37 | - 'app.settings.security.mfa-description': | |
34 | + 'BLOCK_BAME.security.email': 'Backup Email', | |
35 | + 'BLOCK_BAME.security.email-description': 'Bound Email:', | |
36 | + 'BLOCK_BAME.security.mfa': 'MFA Device', | |
37 | + 'BLOCK_BAME.security.mfa-description': | |
38 | 38 | 'Unbound MFA device, after binding, can be confirmed twice', |
39 | - 'app.settings.security.modify': 'Modify', | |
40 | - 'app.settings.security.set': 'Set', | |
41 | - 'app.settings.security.bind': 'Bind', | |
42 | - 'app.settings.binding.taobao': 'Binding Taobao', | |
43 | - 'app.settings.binding.taobao-description': 'Currently unbound Taobao account', | |
44 | - 'app.settings.binding.alipay': 'Binding Alipay', | |
45 | - 'app.settings.binding.alipay-description': 'Currently unbound Alipay account', | |
46 | - 'app.settings.binding.dingding': 'Binding DingTalk', | |
47 | - 'app.settings.binding.dingding-description': 'Currently unbound DingTalk account', | |
48 | - 'app.settings.binding.bind': 'Bind', | |
49 | - 'app.settings.notification.password': 'Account Password', | |
50 | - 'app.settings.notification.password-description': | |
39 | + 'BLOCK_BAME.security.modify': 'Modify', | |
40 | + 'BLOCK_BAME.security.set': 'Set', | |
41 | + 'BLOCK_BAME.security.bind': 'Bind', | |
42 | + 'BLOCK_BAME.binding.taobao': 'Binding Taobao', | |
43 | + 'BLOCK_BAME.binding.taobao-description': 'Currently unbound Taobao account', | |
44 | + 'BLOCK_BAME.binding.alipay': 'Binding Alipay', | |
45 | + 'BLOCK_BAME.binding.alipay-description': 'Currently unbound Alipay account', | |
46 | + 'BLOCK_BAME.binding.dingding': 'Binding DingTalk', | |
47 | + 'BLOCK_BAME.binding.dingding-description': 'Currently unbound DingTalk account', | |
48 | + 'BLOCK_BAME.binding.bind': 'Bind', | |
49 | + 'BLOCK_BAME.notification.password': 'Account Password', | |
50 | + 'BLOCK_BAME.notification.password-description': | |
51 | 51 | 'Messages from other users will be notified in the form of a station letter', |
52 | - 'app.settings.notification.messages': 'System Messages', | |
53 | - 'app.settings.notification.messages-description': | |
52 | + 'BLOCK_BAME.notification.messages': 'System Messages', | |
53 | + 'BLOCK_BAME.notification.messages-description': | |
54 | 54 | 'System messages will be notified in the form of a station letter', |
55 | - 'app.settings.notification.todo': 'To-do Notification', | |
56 | - 'app.settings.notification.todo-description': | |
55 | + 'BLOCK_BAME.notification.todo': 'To-do Notification', | |
56 | + 'BLOCK_BAME.notification.todo-description': | |
57 | 57 | 'The to-do list will be notified in the form of a letter from the station', |
58 | - 'app.settings.open': 'Open', | |
59 | - 'app.settings.close': 'Close', | |
58 | + 'BLOCK_BAME.settings.open': 'Open', | |
59 | + 'BLOCK_BAME.settings.close': 'Close', | |
60 | 60 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.settings.menuMap.basic': '基本设置', | |
3 | - 'app.settings.menuMap.security': '安全设置', | |
4 | - 'app.settings.menuMap.binding': '账号绑定', | |
5 | - 'app.settings.menuMap.notification': '新消息通知', | |
6 | - 'app.settings.basic.avatar': '头像', | |
7 | - 'app.settings.basic.change-avatar': '更换头像', | |
8 | - 'app.settings.basic.email': '邮箱', | |
9 | - 'app.settings.basic.email-message': '请输入您的邮箱!', | |
10 | - 'app.settings.basic.nickname': '昵称', | |
11 | - 'app.settings.basic.nickname-message': '请输入您的昵称!', | |
12 | - 'app.settings.basic.profile': '个人简介', | |
13 | - 'app.settings.basic.profile-message': '请输入个人简介!', | |
14 | - 'app.settings.basic.profile-placeholder': '个人简介', | |
15 | - 'app.settings.basic.country': '国家/地区', | |
16 | - 'app.settings.basic.country-message': '请输入您的国家或地区!', | |
17 | - 'app.settings.basic.geographic': '所在省市', | |
18 | - 'app.settings.basic.geographic-message': '请输入您的所在省市!', | |
19 | - 'app.settings.basic.address': '街道地址', | |
20 | - 'app.settings.basic.address-message': '请输入您的街道地址!', | |
21 | - 'app.settings.basic.phone': '联系电话', | |
22 | - 'app.settings.basic.phone-message': '请输入您的联系电话!', | |
23 | - 'app.settings.basic.update': '更新基本信息', | |
24 | - 'app.settings.security.strong': '强', | |
25 | - 'app.settings.security.medium': '中', | |
26 | - 'app.settings.security.weak': '弱', | |
27 | - 'app.settings.security.password': '账户密码', | |
28 | - 'app.settings.security.password-description': '当前密码强度:', | |
29 | - 'app.settings.security.phone': '密保手机', | |
30 | - 'app.settings.security.phone-description': '已绑定手机:', | |
31 | - 'app.settings.security.question': '密保问题', | |
32 | - 'app.settings.security.question-description': '未设置密保问题,密保问题可有效保护账户安全', | |
33 | - 'app.settings.security.email': '备用邮箱', | |
34 | - 'app.settings.security.email-description': '已绑定邮箱:', | |
35 | - 'app.settings.security.mfa': 'MFA 设备', | |
36 | - 'app.settings.security.mfa-description': '未绑定 MFA 设备,绑定后,可以进行二次确认', | |
37 | - 'app.settings.security.modify': '修改', | |
38 | - 'app.settings.security.set': '设置', | |
39 | - 'app.settings.security.bind': '绑定', | |
40 | - 'app.settings.binding.taobao': '绑定淘宝', | |
41 | - 'app.settings.binding.taobao-description': '当前未绑定淘宝账号', | |
42 | - 'app.settings.binding.alipay': '绑定支付宝', | |
43 | - 'app.settings.binding.alipay-description': '当前未绑定支付宝账号', | |
44 | - 'app.settings.binding.dingding': '绑定钉钉', | |
45 | - 'app.settings.binding.dingding-description': '当前未绑定钉钉账号', | |
46 | - 'app.settings.binding.bind': '绑定', | |
47 | - 'app.settings.notification.password': '账户密码', | |
48 | - 'app.settings.notification.password-description': '其他用户的消息将以站内信的形式通知', | |
49 | - 'app.settings.notification.messages': '系统消息', | |
50 | - 'app.settings.notification.messages-description': '系统消息将以站内信的形式通知', | |
51 | - 'app.settings.notification.todo': '待办任务', | |
52 | - 'app.settings.notification.todo-description': '待办任务将以站内信的形式通知', | |
53 | - 'app.settings.open': '开', | |
54 | - 'app.settings.close': '关', | |
2 | + 'BLOCK_BAME.menuMap.basic': '基本设置', | |
3 | + 'BLOCK_BAME.menuMap.security': '安全设置', | |
4 | + 'BLOCK_BAME.menuMap.binding': '账号绑定', | |
5 | + 'BLOCK_BAME.menuMap.notification': '新消息通知', | |
6 | + 'BLOCK_BAME.basic.avatar': '头像', | |
7 | + 'BLOCK_BAME.basic.change-avatar': '更换头像', | |
8 | + 'BLOCK_BAME.basic.email': '邮箱', | |
9 | + 'BLOCK_BAME.basic.email-message': '请输入您的邮箱!', | |
10 | + 'BLOCK_BAME.basic.nickname': '昵称', | |
11 | + 'BLOCK_BAME.basic.nickname-message': '请输入您的昵称!', | |
12 | + 'BLOCK_BAME.basic.profile': '个人简介', | |
13 | + 'BLOCK_BAME.basic.profile-message': '请输入个人简介!', | |
14 | + 'BLOCK_BAME.basic.profile-placeholder': '个人简介', | |
15 | + 'BLOCK_BAME.basic.country': '国家/地区', | |
16 | + 'BLOCK_BAME.basic.country-message': '请输入您的国家或地区!', | |
17 | + 'BLOCK_BAME.basic.geographic': '所在省市', | |
18 | + 'BLOCK_BAME.basic.geographic-message': '请输入您的所在省市!', | |
19 | + 'BLOCK_BAME.basic.address': '街道地址', | |
20 | + 'BLOCK_BAME.basic.address-message': '请输入您的街道地址!', | |
21 | + 'BLOCK_BAME.basic.phone': '联系电话', | |
22 | + 'BLOCK_BAME.basic.phone-message': '请输入您的联系电话!', | |
23 | + 'BLOCK_BAME.basic.update': '更新基本信息', | |
24 | + 'BLOCK_BAME.security.strong': '强', | |
25 | + 'BLOCK_BAME.security.medium': '中', | |
26 | + 'BLOCK_BAME.security.weak': '弱', | |
27 | + 'BLOCK_BAME.security.password': '账户密码', | |
28 | + 'BLOCK_BAME.security.password-description': '当前密码强度:', | |
29 | + 'BLOCK_BAME.security.phone': '密保手机', | |
30 | + 'BLOCK_BAME.security.phone-description': '已绑定手机:', | |
31 | + 'BLOCK_BAME.security.question': '密保问题', | |
32 | + 'BLOCK_BAME.security.question-description': '未设置密保问题,密保问题可有效保护账户安全', | |
33 | + 'BLOCK_BAME.security.email': '备用邮箱', | |
34 | + 'BLOCK_BAME.security.email-description': '已绑定邮箱:', | |
35 | + 'BLOCK_BAME.security.mfa': 'MFA 设备', | |
36 | + 'BLOCK_BAME.security.mfa-description': '未绑定 MFA 设备,绑定后,可以进行二次确认', | |
37 | + 'BLOCK_BAME.security.modify': '修改', | |
38 | + 'BLOCK_BAME.security.set': '设置', | |
39 | + 'BLOCK_BAME.security.bind': '绑定', | |
40 | + 'BLOCK_BAME.binding.taobao': '绑定淘宝', | |
41 | + 'BLOCK_BAME.binding.taobao-description': '当前未绑定淘宝账号', | |
42 | + 'BLOCK_BAME.binding.alipay': '绑定支付宝', | |
43 | + 'BLOCK_BAME.binding.alipay-description': '当前未绑定支付宝账号', | |
44 | + 'BLOCK_BAME.binding.dingding': '绑定钉钉', | |
45 | + 'BLOCK_BAME.binding.dingding-description': '当前未绑定钉钉账号', | |
46 | + 'BLOCK_BAME.binding.bind': '绑定', | |
47 | + 'BLOCK_BAME.notification.password': '账户密码', | |
48 | + 'BLOCK_BAME.notification.password-description': '其他用户的消息将以站内信的形式通知', | |
49 | + 'BLOCK_BAME.notification.messages': '系统消息', | |
50 | + 'BLOCK_BAME.notification.messages-description': '系统消息将以站内信的形式通知', | |
51 | + 'BLOCK_BAME.notification.todo': '待办任务', | |
52 | + 'BLOCK_BAME.notification.todo-description': '待办任务将以站内信的形式通知', | |
53 | + 'BLOCK_BAME.settings.open': '开', | |
54 | + 'BLOCK_BAME.settings.close': '关', | |
55 | 55 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.settings.menuMap.basic': '基本設置', | |
3 | - 'app.settings.menuMap.security': '安全設置', | |
4 | - 'app.settings.menuMap.binding': '賬號綁定', | |
5 | - 'app.settings.menuMap.notification': '新消息通知', | |
6 | - 'app.settings.basic.avatar': '頭像', | |
7 | - 'app.settings.basic.change-avatar': '更換頭像', | |
8 | - 'app.settings.basic.email': '郵箱', | |
9 | - 'app.settings.basic.email-message': '請輸入您的郵箱!', | |
10 | - 'app.settings.basic.nickname': '昵稱', | |
11 | - 'app.settings.basic.nickname-message': '請輸入您的昵稱!', | |
12 | - 'app.settings.basic.profile': '個人簡介', | |
13 | - 'app.settings.basic.profile-message': '請輸入個人簡介!', | |
14 | - 'app.settings.basic.profile-placeholder': '個人簡介', | |
15 | - 'app.settings.basic.country': '國家/地區', | |
16 | - 'app.settings.basic.country-message': '請輸入您的國家或地區!', | |
17 | - 'app.settings.basic.geographic': '所在省市', | |
18 | - 'app.settings.basic.geographic-message': '請輸入您的所在省市!', | |
19 | - 'app.settings.basic.address': '街道地址', | |
20 | - 'app.settings.basic.address-message': '請輸入您的街道地址!', | |
21 | - 'app.settings.basic.phone': '聯系電話', | |
22 | - 'app.settings.basic.phone-message': '請輸入您的聯系電話!', | |
23 | - 'app.settings.basic.update': '更新基本信息', | |
24 | - 'app.settings.security.strong': '強', | |
25 | - 'app.settings.security.medium': '中', | |
26 | - 'app.settings.security.weak': '弱', | |
27 | - 'app.settings.security.password': '賬戶密碼', | |
28 | - 'app.settings.security.password-description': '當前密碼強度:', | |
29 | - 'app.settings.security.phone': '密保手機', | |
30 | - 'app.settings.security.phone-description': '已綁定手機:', | |
31 | - 'app.settings.security.question': '密保問題', | |
32 | - 'app.settings.security.question-description': '未設置密保問題,密保問題可有效保護賬戶安全', | |
33 | - 'app.settings.security.email': '備用郵箱', | |
34 | - 'app.settings.security.email-description': '已綁定郵箱:', | |
35 | - 'app.settings.security.mfa': 'MFA 設備', | |
36 | - 'app.settings.security.mfa-description': '未綁定 MFA 設備,綁定後,可以進行二次確認', | |
37 | - 'app.settings.security.modify': '修改', | |
38 | - 'app.settings.security.set': '設置', | |
39 | - 'app.settings.security.bind': '綁定', | |
40 | - 'app.settings.binding.taobao': '綁定淘寶', | |
41 | - 'app.settings.binding.taobao-description': '當前未綁定淘寶賬號', | |
42 | - 'app.settings.binding.alipay': '綁定支付寶', | |
43 | - 'app.settings.binding.alipay-description': '當前未綁定支付寶賬號', | |
44 | - 'app.settings.binding.dingding': '綁定釘釘', | |
45 | - 'app.settings.binding.dingding-description': '當前未綁定釘釘賬號', | |
46 | - 'app.settings.binding.bind': '綁定', | |
47 | - 'app.settings.notification.password': '賬戶密碼', | |
48 | - 'app.settings.notification.password-description': '其他用戶的消息將以站內信的形式通知', | |
49 | - 'app.settings.notification.messages': '系統消息', | |
50 | - 'app.settings.notification.messages-description': '系統消息將以站內信的形式通知', | |
51 | - 'app.settings.notification.todo': '待辦任務', | |
52 | - 'app.settings.notification.todo-description': '待辦任務將以站內信的形式通知', | |
53 | - 'app.settings.open': '開', | |
54 | - 'app.settings.close': '關', | |
2 | + 'BLOCK_BAME.menuMap.basic': '基本設置', | |
3 | + 'BLOCK_BAME.menuMap.security': '安全設置', | |
4 | + 'BLOCK_BAME.menuMap.binding': '賬號綁定', | |
5 | + 'BLOCK_BAME.menuMap.notification': '新消息通知', | |
6 | + 'BLOCK_BAME.basic.avatar': '頭像', | |
7 | + 'BLOCK_BAME.basic.change-avatar': '更換頭像', | |
8 | + 'BLOCK_BAME.basic.email': '郵箱', | |
9 | + 'BLOCK_BAME.basic.email-message': '請輸入您的郵箱!', | |
10 | + 'BLOCK_BAME.basic.nickname': '昵稱', | |
11 | + 'BLOCK_BAME.basic.nickname-message': '請輸入您的昵稱!', | |
12 | + 'BLOCK_BAME.basic.profile': '個人簡介', | |
13 | + 'BLOCK_BAME.basic.profile-message': '請輸入個人簡介!', | |
14 | + 'BLOCK_BAME.basic.profile-placeholder': '個人簡介', | |
15 | + 'BLOCK_BAME.basic.country': '國家/地區', | |
16 | + 'BLOCK_BAME.basic.country-message': '請輸入您的國家或地區!', | |
17 | + 'BLOCK_BAME.basic.geographic': '所在省市', | |
18 | + 'BLOCK_BAME.basic.geographic-message': '請輸入您的所在省市!', | |
19 | + 'BLOCK_BAME.basic.address': '街道地址', | |
20 | + 'BLOCK_BAME.basic.address-message': '請輸入您的街道地址!', | |
21 | + 'BLOCK_BAME.basic.phone': '聯系電話', | |
22 | + 'BLOCK_BAME.basic.phone-message': '請輸入您的聯系電話!', | |
23 | + 'BLOCK_BAME.basic.update': '更新基本信息', | |
24 | + 'BLOCK_BAME.security.strong': '強', | |
25 | + 'BLOCK_BAME.security.medium': '中', | |
26 | + 'BLOCK_BAME.security.weak': '弱', | |
27 | + 'BLOCK_BAME.security.password': '賬戶密碼', | |
28 | + 'BLOCK_BAME.security.password-description': '當前密碼強度:', | |
29 | + 'BLOCK_BAME.security.phone': '密保手機', | |
30 | + 'BLOCK_BAME.security.phone-description': '已綁定手機:', | |
31 | + 'BLOCK_BAME.security.question': '密保問題', | |
32 | + 'BLOCK_BAME.security.question-description': '未設置密保問題,密保問題可有效保護賬戶安全', | |
33 | + 'BLOCK_BAME.security.email': '備用郵箱', | |
34 | + 'BLOCK_BAME.security.email-description': '已綁定郵箱:', | |
35 | + 'BLOCK_BAME.security.mfa': 'MFA 設備', | |
36 | + 'BLOCK_BAME.security.mfa-description': '未綁定 MFA 設備,綁定後,可以進行二次確認', | |
37 | + 'BLOCK_BAME.security.modify': '修改', | |
38 | + 'BLOCK_BAME.security.set': '設置', | |
39 | + 'BLOCK_BAME.security.bind': '綁定', | |
40 | + 'BLOCK_BAME.binding.taobao': '綁定淘寶', | |
41 | + 'BLOCK_BAME.binding.taobao-description': '當前未綁定淘寶賬號', | |
42 | + 'BLOCK_BAME.binding.alipay': '綁定支付寶', | |
43 | + 'BLOCK_BAME.binding.alipay-description': '當前未綁定支付寶賬號', | |
44 | + 'BLOCK_BAME.binding.dingding': '綁定釘釘', | |
45 | + 'BLOCK_BAME.binding.dingding-description': '當前未綁定釘釘賬號', | |
46 | + 'BLOCK_BAME.binding.bind': '綁定', | |
47 | + 'BLOCK_BAME.notification.password': '賬戶密碼', | |
48 | + 'BLOCK_BAME.notification.password-description': '其他用戶的消息將以站內信的形式通知', | |
49 | + 'BLOCK_BAME.notification.messages': '系統消息', | |
50 | + 'BLOCK_BAME.notification.messages-description': '系統消息將以站內信的形式通知', | |
51 | + 'BLOCK_BAME.notification.todo': '待辦任務', | |
52 | + 'BLOCK_BAME.notification.todo-description': '待辦任務將以站內信的形式通知', | |
53 | + 'BLOCK_BAME.settings.open': '開', | |
54 | + 'BLOCK_BAME.settings.close': '關', | |
55 | 55 | }; | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Please enter your email!', | |
7 | - 'validation.email.wrong-format': 'The email address is in the wrong format!', | |
8 | - 'validation.userName.required': 'Please enter your userName!', | |
9 | - 'validation.password.required': 'Please enter your password!', | |
10 | - 'validation.password.twice': 'The passwords entered twice do not match!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Please enter your email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'The email address is in the wrong format!', | |
8 | + 'BLOCK_BAME.userName.required': 'Please enter your userName!', | |
9 | + 'BLOCK_BAME.password.required': 'Please enter your password!', | |
10 | + 'BLOCK_BAME.password.twice': 'The passwords entered twice do not match!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | "Please enter at least 6 characters and don't use passwords that are easy to guess.", |
13 | - 'validation.password.strength.strong': 'Strength: strong', | |
14 | - 'validation.password.strength.medium': 'Strength: medium', | |
15 | - 'validation.password.strength.short': 'Strength: too short', | |
16 | - 'validation.confirm-password.required': 'Please confirm your password!', | |
17 | - 'validation.phone-number.required': 'Please enter your phone number!', | |
18 | - 'validation.phone-number.wrong-format': 'Malformed phone number!', | |
19 | - 'validation.verification-code.required': 'Please enter the verification code!', | |
20 | - 'validation.title.required': 'Please enter a title', | |
21 | - 'validation.date.required': 'Please select the start and end date', | |
22 | - 'validation.goal.required': 'Please enter a description of the goal', | |
23 | - 'validation.standard.required': 'Please enter a metric', | |
13 | + 'BLOCK_BAME.strength.strong': 'Strength: strong', | |
14 | + 'BLOCK_BAME.strength.medium': 'Strength: medium', | |
15 | + 'BLOCK_BAME.strength.short': 'Strength: too short', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Please confirm your password!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Please enter your phone number!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Malformed phone number!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Please enter the verification code!', | |
20 | + 'BLOCK_BAME.title.required': 'Please enter a title', | |
21 | + 'BLOCK_BAME.date.required': 'Please select the start and end date', | |
22 | + 'BLOCK_BAME.goal.required': 'Please enter a description of the goal', | |
23 | + 'BLOCK_BAME.standard.required': 'Please enter a metric', | |
24 | 24 | |
25 | - 'form.get-captcha': 'Get Captcha', | |
26 | - 'form.captcha.second': 'sec', | |
27 | - 'form.optional': ' (optional) ', | |
28 | - 'form.submit': 'Submit', | |
29 | - 'form.save': 'Save', | |
30 | - 'form.email.placeholder': 'Email', | |
31 | - 'form.password.placeholder': 'Password', | |
32 | - 'form.confirm-password.placeholder': 'Confirm password', | |
33 | - 'form.phone-number.placeholder': 'Phone number', | |
34 | - 'form.verification-code.placeholder': 'Verification code', | |
35 | - 'form.title.label': 'Title', | |
36 | - 'form.title.placeholder': 'Give the target a name', | |
37 | - 'form.date.label': 'Start and end date', | |
38 | - 'form.date.placeholder.start': 'Start date', | |
39 | - 'form.date.placeholder.end': 'End date', | |
40 | - 'form.goal.label': 'Goal description', | |
41 | - 'form.goal.placeholder': 'Please enter your work goals', | |
42 | - 'form.standard.label': 'Metrics', | |
43 | - 'form.standard.placeholder': 'Please enter a metric', | |
44 | - 'form.client.label': 'Client', | |
45 | - 'form.client.label.tooltip': 'Target service object', | |
46 | - 'form.client.placeholder': | |
25 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
26 | + 'BLOCK_BAME.captcha.second': 'sec', | |
27 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
28 | + 'BLOCK_BAME.form.submit': 'Submit', | |
29 | + 'BLOCK_BAME.form.save': 'Save', | |
30 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
31 | + 'BLOCK_BAME.password.placeholder': 'Password', | |
32 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirm password', | |
33 | + 'BLOCK_BAME.phone-number.placeholder': 'Phone number', | |
34 | + 'BLOCK_BAME.verification-code.placeholder': 'Verification code', | |
35 | + 'BLOCK_BAME.title.label': 'Title', | |
36 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
37 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
38 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
39 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
40 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
41 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
42 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
43 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
44 | + 'BLOCK_BAME.client.label': 'Client', | |
45 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
46 | + 'BLOCK_BAME.client.placeholder': | |
47 | 47 | 'Please describe your customer service, internal customers directly @ Name / job number', |
48 | - 'form.invites.label': 'Inviting critics', | |
49 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | - 'form.weight.label': 'Weight', | |
51 | - 'form.weight.placeholder': 'Please enter weight', | |
52 | - 'form.public.label': 'Target disclosure', | |
53 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
54 | - 'form.public.radio.public': 'Public', | |
55 | - 'form.public.radio.partially-public': 'Partially public', | |
56 | - 'form.public.radio.private': 'Private', | |
57 | - 'form.publicUsers.placeholder': 'Open to', | |
58 | - 'form.publicUsers.option.A': 'Colleague A', | |
59 | - 'form.publicUsers.option.B': 'Colleague B', | |
60 | - 'form.publicUsers.option.C': 'Colleague C', | |
48 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
49 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | + 'BLOCK_BAME.weight.label': 'Weight', | |
51 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
52 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
53 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
54 | + 'BLOCK_BAME.radio.public': 'Public', | |
55 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
56 | + 'BLOCK_BAME.radio.private': 'Private', | |
57 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
58 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
59 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
60 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
61 | 61 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Por favor insira seu email!', | |
7 | - 'validation.email.wrong-format': 'O email está errado!', | |
8 | - 'validation.userName.required': 'Por favor insira nome de usuário!', | |
9 | - 'validation.password.required': 'Por favor insira sua senha!', | |
10 | - 'validation.password.twice': 'As senhas não estão iguais!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Por favor insira seu email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'O email está errado!', | |
8 | + 'BLOCK_BAME.userName.required': 'Por favor insira nome de usuário!', | |
9 | + 'BLOCK_BAME.password.required': 'Por favor insira sua senha!', | |
10 | + 'BLOCK_BAME.password.twice': 'As senhas não estão iguais!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | 'Por favor insira pelo menos 6 caracteres e não use senhas fáceis de adivinhar.', |
13 | - 'validation.password.strength.strong': 'Força: forte', | |
14 | - 'validation.password.strength.medium': 'Força: média', | |
15 | - 'validation.password.strength.short': 'Força: curta', | |
16 | - 'validation.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | - 'validation.phone-number.required': 'Por favor insira seu telefone!', | |
18 | - 'validation.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | - 'validation.verification-code.required': 'Por favor insira seu código de verificação!', | |
13 | + 'BLOCK_BAME.strength.strong': 'Força: forte', | |
14 | + 'BLOCK_BAME.strength.medium': 'Força: média', | |
15 | + 'BLOCK_BAME.strength.short': 'Força: curta', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Por favor insira seu telefone!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Por favor insira seu código de verificação!', | |
20 | 20 | |
21 | - 'form.get-captcha': 'Get Captcha', | |
22 | - 'form.captcha.second': 'sec', | |
23 | - 'form.email.placeholder': 'Email', | |
24 | - 'form.password.placeholder': 'Senha', | |
25 | - 'form.confirm-password.placeholder': 'Confirme a senha', | |
26 | - 'form.phone-number.placeholder': 'Telefone', | |
27 | - 'form.verification-code.placeholder': 'Código de verificação', | |
28 | - 'form.optional': ' (optional) ', | |
29 | - 'form.submit': 'Submit', | |
30 | - 'form.save': 'Save', | |
31 | - 'form.title.label': 'Title', | |
32 | - 'form.title.placeholder': 'Give the target a name', | |
33 | - 'form.date.label': 'Start and end date', | |
34 | - 'form.date.placeholder.start': 'Start date', | |
35 | - 'form.date.placeholder.end': 'End date', | |
36 | - 'form.goal.label': 'Goal description', | |
37 | - 'form.goal.placeholder': 'Please enter your work goals', | |
38 | - 'form.standard.label': 'Metrics', | |
39 | - 'form.standard.placeholder': 'Please enter a metric', | |
40 | - 'form.client.label': 'Client', | |
41 | - 'form.client.label.tooltip': 'Target service object', | |
42 | - 'form.client.placeholder': | |
21 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
22 | + 'BLOCK_BAME.captcha.second': 'sec', | |
23 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
24 | + 'BLOCK_BAME.password.placeholder': 'Senha', | |
25 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirme a senha', | |
26 | + 'BLOCK_BAME.phone-number.placeholder': 'Telefone', | |
27 | + 'BLOCK_BAME.verification-code.placeholder': 'Código de verificação', | |
28 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
29 | + 'BLOCK_BAME.form.submit': 'Submit', | |
30 | + 'BLOCK_BAME.form.save': 'Save', | |
31 | + 'BLOCK_BAME.title.label': 'Title', | |
32 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
33 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
34 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
35 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
36 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
37 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
38 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
39 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
40 | + 'BLOCK_BAME.client.label': 'Client', | |
41 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
42 | + 'BLOCK_BAME.client.placeholder': | |
43 | 43 | 'Please describe your customer service, internal customers directly @ Name / job number', |
44 | - 'form.invites.label': 'Inviting critics', | |
45 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | - 'form.weight.label': 'Weight', | |
47 | - 'form.weight.placeholder': 'Please enter weight', | |
48 | - 'form.public.label': 'Target disclosure', | |
49 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
50 | - 'form.public.radio.public': 'Public', | |
51 | - 'form.public.radio.partially-public': 'Partially public', | |
52 | - 'form.public.radio.private': 'Private', | |
53 | - 'form.publicUsers.placeholder': 'Open to', | |
54 | - 'form.publicUsers.option.A': 'Colleague A', | |
55 | - 'form.publicUsers.option.B': 'Colleague B', | |
56 | - 'form.publicUsers.option.C': 'Colleague C', | |
44 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
45 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | + 'BLOCK_BAME.weight.label': 'Weight', | |
47 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
48 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
49 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
50 | + 'BLOCK_BAME.radio.public': 'Public', | |
51 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
52 | + 'BLOCK_BAME.radio.private': 'Private', | |
53 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
54 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
55 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
56 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
57 | 57 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基础表单', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基础表单', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。', |
5 | 5 | |
6 | - 'validation.email.required': '请输入邮箱地址!', | |
7 | - 'validation.email.wrong-format': '邮箱地址格式错误!', | |
8 | - 'validation.userName.required': '请输入用户名!', | |
9 | - 'validation.password.required': '请输入密码!', | |
10 | - 'validation.password.twice': '两次输入的密码不匹配!', | |
11 | - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | - 'validation.password.strength.strong': '强度:强', | |
13 | - 'validation.password.strength.medium': '强度:中', | |
14 | - 'validation.password.strength.short': '强度:太短', | |
15 | - 'validation.confirm-password.required': '请确认密码!', | |
16 | - 'validation.phone-number.required': '请输入手机号!', | |
17 | - 'validation.phone-number.wrong-format': '手机号格式错误!', | |
18 | - 'validation.verification-code.required': '请输入验证码!', | |
19 | - 'validation.title.required': '请输入标题', | |
20 | - 'validation.date.required': '请选择起止日期', | |
21 | - 'validation.goal.required': '请输入目标描述', | |
22 | - 'validation.standard.required': '请输入衡量标准', | |
6 | + 'BLOCK_BAME.email.required': '请输入邮箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '邮箱地址格式错误!', | |
8 | + 'BLOCK_BAME.userName.required': '请输入用户名!', | |
9 | + 'BLOCK_BAME.password.required': '请输入密码!', | |
10 | + 'BLOCK_BAME.password.twice': '两次输入的密码不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | + 'BLOCK_BAME.strength.strong': '强度:强', | |
13 | + 'BLOCK_BAME.strength.medium': '强度:中', | |
14 | + 'BLOCK_BAME.strength.short': '强度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '请确认密码!', | |
16 | + 'BLOCK_BAME.phone-number.required': '请输入手机号!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手机号格式错误!', | |
18 | + 'BLOCK_BAME.verification-code.required': '请输入验证码!', | |
19 | + 'BLOCK_BAME.title.required': '请输入标题', | |
20 | + 'BLOCK_BAME.date.required': '请选择起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '请输入目标描述', | |
22 | + 'BLOCK_BAME.standard.required': '请输入衡量标准', | |
23 | 23 | |
24 | - 'form.get-captcha': '获取验证码', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(选填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '邮箱', | |
30 | - 'form.password.placeholder': '至少6位密码,区分大小写', | |
31 | - 'form.confirm-password.placeholder': '确认密码', | |
32 | - 'form.phone-number.placeholder': '手机号', | |
33 | - 'form.verification-code.placeholder': '验证码', | |
34 | - 'form.title.label': '标题', | |
35 | - 'form.title.placeholder': '给目标起个名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '开始日期', | |
38 | - 'form.date.placeholder.end': '结束日期', | |
39 | - 'form.goal.label': '目标描述', | |
40 | - 'form.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | - 'form.standard.label': '衡量标准', | |
42 | - 'form.standard.placeholder': '请输入衡量标准', | |
43 | - 'form.client.label': '客户', | |
44 | - 'form.client.label.tooltip': '目标的服务对象', | |
45 | - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | - 'form.invites.label': '邀评人', | |
47 | - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | - 'form.weight.label': '权重', | |
49 | - 'form.weight.placeholder': '请输入', | |
50 | - 'form.public.label': '目标公开', | |
51 | - 'form.public.label.help': '客户、邀评人默认被分享', | |
52 | - 'form.public.radio.public': '公开', | |
53 | - 'form.public.radio.partially-public': '部分公开', | |
54 | - 'form.public.radio.private': '不公开', | |
55 | - 'form.publicUsers.placeholder': '公开给', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '获取验证码', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(选填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '邮箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密码,区分大小写', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '确认密码', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手机号', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '验证码', | |
34 | + 'BLOCK_BAME.title.label': '标题', | |
35 | + 'BLOCK_BAME.title.placeholder': '给目标起个名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '开始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '结束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目标描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | + 'BLOCK_BAME.standard.label': '衡量标准', | |
42 | + 'BLOCK_BAME.standard.placeholder': '请输入衡量标准', | |
43 | + 'BLOCK_BAME.client.label': '客户', | |
44 | + 'BLOCK_BAME.label.tooltip': '目标的服务对象', | |
45 | + 'BLOCK_BAME.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | + 'BLOCK_BAME.invites.label': '邀评人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '权重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '请输入', | |
50 | + 'BLOCK_BAME.public.label': '目标公开', | |
51 | + 'BLOCK_BAME.label.help': '客户、邀评人默认被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公开', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公开', | |
54 | + 'BLOCK_BAME.radio.private': '不公开', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公开给', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基礎表單', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基礎表單', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表單頁用於向用戶收集或驗證信息,基礎表單常見於數據項較少的表單場景。', |
5 | 5 | |
6 | - 'validation.email.required': '請輸入郵箱地址!', | |
7 | - 'validation.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | - 'validation.userName.required': '請輸入賬戶!', | |
9 | - 'validation.password.required': '請輸入密碼!', | |
10 | - 'validation.password.twice': '兩次輸入的密碼不匹配!', | |
11 | - 'validation.password.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | - 'validation.password.strength.strong': '強度:強', | |
13 | - 'validation.password.strength.medium': '強度:中', | |
14 | - 'validation.password.strength.short': '強度:太短', | |
15 | - 'validation.confirm-password.required': '請確認密碼!', | |
16 | - 'validation.phone-number.required': '請輸入手機號!', | |
17 | - 'validation.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | - 'validation.verification-code.required': '請輸入驗證碼!', | |
19 | - 'validation.title.required': '請輸入標題', | |
20 | - 'validation.date.required': '請選擇起止日期', | |
21 | - 'validation.goal.required': '請輸入目標描述', | |
22 | - 'validation.standard.required': '請輸入衡量標淮', | |
6 | + 'BLOCK_BAME.email.required': '請輸入郵箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | + 'BLOCK_BAME.userName.required': '請輸入賬戶!', | |
9 | + 'BLOCK_BAME.password.required': '請輸入密碼!', | |
10 | + 'BLOCK_BAME.password.twice': '兩次輸入的密碼不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | + 'BLOCK_BAME.strength.strong': '強度:強', | |
13 | + 'BLOCK_BAME.strength.medium': '強度:中', | |
14 | + 'BLOCK_BAME.strength.short': '強度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '請確認密碼!', | |
16 | + 'BLOCK_BAME.phone-number.required': '請輸入手機號!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | + 'BLOCK_BAME.verification-code.required': '請輸入驗證碼!', | |
19 | + 'BLOCK_BAME.title.required': '請輸入標題', | |
20 | + 'BLOCK_BAME.date.required': '請選擇起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '請輸入目標描述', | |
22 | + 'BLOCK_BAME.standard.required': '請輸入衡量標淮', | |
23 | 23 | |
24 | - 'form.get-captcha': '獲取驗證碼', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(選填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '郵箱', | |
30 | - 'form.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | - 'form.confirm-password.placeholder': '確認密碼', | |
32 | - 'form.phone-number.placeholder': '手機號', | |
33 | - 'form.verification-code.placeholder': '驗證碼', | |
34 | - 'form.title.label': '標題', | |
35 | - 'form.title.placeholder': '給目標起個名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '開始日期', | |
38 | - 'form.date.placeholder.end': '結束日期', | |
39 | - 'form.goal.label': '目標描述', | |
40 | - 'form.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | - 'form.standard.label': '衡量標淮', | |
42 | - 'form.standard.placeholder': '請輸入衡量標淮', | |
43 | - 'form.client.label': '客戶', | |
44 | - 'form.client.label.tooltip': '目標的服務對象', | |
45 | - 'form.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | - 'form.invites.label': '邀評人', | |
47 | - 'form.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | - 'form.weight.label': '權重', | |
49 | - 'form.weight.placeholder': '請輸入', | |
50 | - 'form.public.label': '目標公開', | |
51 | - 'form.public.label.help': '客戶、邀評人默認被分享', | |
52 | - 'form.public.radio.public': '公開', | |
53 | - 'form.public.radio.partially-public': '部分公開', | |
54 | - 'form.public.radio.private': '不公開', | |
55 | - 'form.publicUsers.placeholder': '公開給', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '獲取驗證碼', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(選填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '郵箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '確認密碼', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手機號', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '驗證碼', | |
34 | + 'BLOCK_BAME.title.label': '標題', | |
35 | + 'BLOCK_BAME.title.placeholder': '給目標起個名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '開始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '結束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目標描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | + 'BLOCK_BAME.standard.label': '衡量標淮', | |
42 | + 'BLOCK_BAME.standard.placeholder': '請輸入衡量標淮', | |
43 | + 'BLOCK_BAME.client.label': '客戶', | |
44 | + 'BLOCK_BAME.label.tooltip': '目標的服務對象', | |
45 | + 'BLOCK_BAME.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | + 'BLOCK_BAME.invites.label': '邀評人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '權重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '請輸入', | |
50 | + 'BLOCK_BAME.public.label': '目標公開', | |
51 | + 'BLOCK_BAME.label.help': '客戶、邀評人默認被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公開', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公開', | |
54 | + 'BLOCK_BAME.radio.private': '不公開', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公開給', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
... | ... | @@ -8,7 +8,7 @@ const PageHeaderWrapper = ({ children, contentWidth, wrapperClassName, top, ...r |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | 10 | wide={contentWidth === 'Fixed'} |
11 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
11 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
12 | 12 | key="pageheader" |
13 | 13 | {...restProps} |
14 | 14 | linkElement={Link} | ... | ... |
... | ... | @@ -22,10 +22,10 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
22 | 22 | <Col {...topColResponsiveProps}> |
23 | 23 | <ChartCard |
24 | 24 | bordered={false} |
25 | - title={<FormattedMessage id="app.analysis.total-sales" defaultMessage="Total Sales" />} | |
25 | + title={<FormattedMessage id="BLOCK_BAME.analysis.total-sales" defaultMessage="Total Sales" />} | |
26 | 26 | action={ |
27 | 27 | <Tooltip |
28 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="Introduce" />} | |
28 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="Introduce" />} | |
29 | 29 | > |
30 | 30 | <Icon type="info-circle-o" /> |
31 | 31 | </Tooltip> |
... | ... | @@ -34,18 +34,18 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
34 | 34 | total={() => <Yuan>126560</Yuan>} |
35 | 35 | footer={ |
36 | 36 | <Field |
37 | - label={<FormattedMessage id="app.analysis.day-sales" defaultMessage="Daily Sales" />} | |
37 | + label={<FormattedMessage id="BLOCK_BAME.analysis.day-sales" defaultMessage="Daily Sales" />} | |
38 | 38 | value={`¥${numeral(12423).format('0,0')}`} |
39 | 39 | /> |
40 | 40 | } |
41 | 41 | contentHeight={46} |
42 | 42 | > |
43 | 43 | <Trend flag="up" style={{ marginRight: 16 }}> |
44 | - <FormattedMessage id="app.analysis.week" defaultMessage="Weekly Changes" /> | |
44 | + <FormattedMessage id="BLOCK_BAME.analysis.week" defaultMessage="Weekly Changes" /> | |
45 | 45 | <span className={styles.trendText}>12%</span> |
46 | 46 | </Trend> |
47 | 47 | <Trend flag="down"> |
48 | - <FormattedMessage id="app.analysis.day" defaultMessage="Daily Changes" /> | |
48 | + <FormattedMessage id="BLOCK_BAME.analysis.day" defaultMessage="Daily Changes" /> | |
49 | 49 | <span className={styles.trendText}>11%</span> |
50 | 50 | </Trend> |
51 | 51 | </ChartCard> |
... | ... | @@ -55,10 +55,10 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
55 | 55 | <ChartCard |
56 | 56 | bordered={false} |
57 | 57 | loading={loading} |
58 | - title={<FormattedMessage id="app.analysis.visits" defaultMessage="Visits" />} | |
58 | + title={<FormattedMessage id="BLOCK_BAME.analysis.visits" defaultMessage="Visits" />} | |
59 | 59 | action={ |
60 | 60 | <Tooltip |
61 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="Introduce" />} | |
61 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="Introduce" />} | |
62 | 62 | > |
63 | 63 | <Icon type="info-circle-o" /> |
64 | 64 | </Tooltip> |
... | ... | @@ -66,7 +66,7 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
66 | 66 | total={numeral(8846).format('0,0')} |
67 | 67 | footer={ |
68 | 68 | <Field |
69 | - label={<FormattedMessage id="app.analysis.day-visits" defaultMessage="Daily Visits" />} | |
69 | + label={<FormattedMessage id="BLOCK_BAME.analysis.day-visits" defaultMessage="Daily Visits" />} | |
70 | 70 | value={numeral(1234).format('0,0')} |
71 | 71 | /> |
72 | 72 | } |
... | ... | @@ -79,10 +79,10 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
79 | 79 | <ChartCard |
80 | 80 | bordered={false} |
81 | 81 | loading={loading} |
82 | - title={<FormattedMessage id="app.analysis.payments" defaultMessage="Payments" />} | |
82 | + title={<FormattedMessage id="BLOCK_BAME.analysis.payments" defaultMessage="Payments" />} | |
83 | 83 | action={ |
84 | 84 | <Tooltip |
85 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="Introduce" />} | |
85 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="Introduce" />} | |
86 | 86 | > |
87 | 87 | <Icon type="info-circle-o" /> |
88 | 88 | </Tooltip> |
... | ... | @@ -92,7 +92,7 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
92 | 92 | <Field |
93 | 93 | label={ |
94 | 94 | <FormattedMessage |
95 | - id="app.analysis.conversion-rate" | |
95 | + id="BLOCK_BAME.analysis.conversion-rate" | |
96 | 96 | defaultMessage="Conversion Rate" |
97 | 97 | /> |
98 | 98 | } |
... | ... | @@ -110,13 +110,13 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
110 | 110 | bordered={false} |
111 | 111 | title={ |
112 | 112 | <FormattedMessage |
113 | - id="app.analysis.operational-effect" | |
113 | + id="BLOCK_BAME.analysis.operational-effect" | |
114 | 114 | defaultMessage="Operational Effect" |
115 | 115 | /> |
116 | 116 | } |
117 | 117 | action={ |
118 | 118 | <Tooltip |
119 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="Introduce" />} | |
119 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="Introduce" />} | |
120 | 120 | > |
121 | 121 | <Icon type="info-circle-o" /> |
122 | 122 | </Tooltip> |
... | ... | @@ -125,11 +125,11 @@ const IntroduceRow = memo(({ loading, visitData }) => ( |
125 | 125 | footer={ |
126 | 126 | <div style={{ whiteSpace: 'nowrap', overflow: 'hidden' }}> |
127 | 127 | <Trend flag="up" style={{ marginRight: 16 }}> |
128 | - <FormattedMessage id="app.analysis.week" defaultMessage="Weekly Changes" /> | |
128 | + <FormattedMessage id="BLOCK_BAME.analysis.week" defaultMessage="Weekly Changes" /> | |
129 | 129 | <span className={styles.trendText}>12%</span> |
130 | 130 | </Trend> |
131 | 131 | <Trend flag="down"> |
132 | - <FormattedMessage id="app.analysis.day" defaultMessage="Weekly Changes" /> | |
132 | + <FormattedMessage id="BLOCK_BAME.analysis.day" defaultMessage="Weekly Changes" /> | |
133 | 133 | <span className={styles.trendText}>11%</span> |
134 | 134 | </Trend> |
135 | 135 | </div> | ... | ... |
... | ... | @@ -12,7 +12,7 @@ const CustomTab = ({ data, currentTabKey: currentKey }) => ( |
12 | 12 | <NumberInfo |
13 | 13 | title={data.name} |
14 | 14 | subTitle={ |
15 | - <FormattedMessage id="app.analysis.conversion-rate" defaultMessage="Conversion Rate" /> | |
15 | + <FormattedMessage id="BLOCK_BAME.analysis.conversion-rate" defaultMessage="Conversion Rate" /> | |
16 | 16 | } |
17 | 17 | gap={2} |
18 | 18 | total={`${data.cvr * 100}%`} |
... | ... | @@ -51,8 +51,8 @@ const OfflineData = memo( |
51 | 51 | height={400} |
52 | 52 | data={offlineChartData} |
53 | 53 | titleMap={{ |
54 | - y1: formatMessage({ id: 'app.analysis.traffic' }), | |
55 | - y2: formatMessage({ id: 'app.analysis.payments' }), | |
54 | + y1: formatMessage({ id: 'BLOCK_BAME.analysis.traffic' }), | |
55 | + y2: formatMessage({ id: 'BLOCK_BAME.analysis.payments' }), | |
56 | 56 | }} |
57 | 57 | /> |
58 | 58 | </div> | ... | ... |
... | ... | @@ -15,7 +15,7 @@ const ProportionSales = memo( |
15 | 15 | bordered={false} |
16 | 16 | title={ |
17 | 17 | <FormattedMessage |
18 | - id="app.analysis.the-proportion-of-sales" | |
18 | + id="BLOCK_BAME.analysis.the-proportion-of-sales" | |
19 | 19 | defaultMessage="The Proportion of Sales" |
20 | 20 | /> |
21 | 21 | } |
... | ... | @@ -26,13 +26,13 @@ const ProportionSales = memo( |
26 | 26 | <div className={styles.salesTypeRadio}> |
27 | 27 | <Radio.Group value={salesType} onChange={handleChangeSalesType}> |
28 | 28 | <Radio.Button value="all"> |
29 | - <FormattedMessage id="app.analysis.channel.all" defaultMessage="ALL" /> | |
29 | + <FormattedMessage id="BLOCK_BAME.channel.all" defaultMessage="ALL" /> | |
30 | 30 | </Radio.Button> |
31 | 31 | <Radio.Button value="online"> |
32 | - <FormattedMessage id="app.analysis.channel.online" defaultMessage="Online" /> | |
32 | + <FormattedMessage id="BLOCK_BAME.channel.online" defaultMessage="Online" /> | |
33 | 33 | </Radio.Button> |
34 | 34 | <Radio.Button value="stores"> |
35 | - <FormattedMessage id="app.analysis.channel.stores" defaultMessage="Stores" /> | |
35 | + <FormattedMessage id="BLOCK_BAME.channel.stores" defaultMessage="Stores" /> | |
36 | 36 | </Radio.Button> |
37 | 37 | </Radio.Group> |
38 | 38 | </div> |
... | ... | @@ -46,11 +46,11 @@ const ProportionSales = memo( |
46 | 46 | }} |
47 | 47 | > |
48 | 48 | <h4 style={{ marginTop: 8, marginBottom: 32 }}> |
49 | - <FormattedMessage id="app.analysis.sales" defaultMessage="Sales" /> | |
49 | + <FormattedMessage id="BLOCK_BAME.analysis.sales" defaultMessage="Sales" /> | |
50 | 50 | </h4> |
51 | 51 | <Pie |
52 | 52 | hasLegend |
53 | - subTitle={<FormattedMessage id="app.analysis.sales" defaultMessage="Sales" />} | |
53 | + subTitle={<FormattedMessage id="BLOCK_BAME.analysis.sales" defaultMessage="Sales" />} | |
54 | 54 | total={() => <Yuan>{salesPieData.reduce((pre, now) => now.y + pre, 0)}</Yuan>} |
55 | 55 | data={salesPieData} |
56 | 56 | valueFormat={value => <Yuan>{value}</Yuan>} | ... | ... |
... | ... | @@ -13,7 +13,7 @@ const { TabPane } = Tabs; |
13 | 13 | const rankingListData = []; |
14 | 14 | for (let i = 0; i < 7; i += 1) { |
15 | 15 | rankingListData.push({ |
16 | - title: formatMessage({ id: 'app.analysis.test' }, { no: i }), | |
16 | + title: formatMessage({ id: 'BLOCK_BAME.analysis.test' }, { no: i }), | |
17 | 17 | total: 323234, |
18 | 18 | }); |
19 | 19 | } |
... | ... | @@ -27,16 +27,16 @@ const SalesCard = memo( |
27 | 27 | <div className={styles.salesExtraWrap}> |
28 | 28 | <div className={styles.salesExtra}> |
29 | 29 | <a className={isActive('today')} onClick={() => selectDate('today')}> |
30 | - <FormattedMessage id="app.analysis.all-day" defaultMessage="All Day" /> | |
30 | + <FormattedMessage id="BLOCK_BAME.analysis.all-day" defaultMessage="All Day" /> | |
31 | 31 | </a> |
32 | 32 | <a className={isActive('week')} onClick={() => selectDate('week')}> |
33 | - <FormattedMessage id="app.analysis.all-week" defaultMessage="All Week" /> | |
33 | + <FormattedMessage id="BLOCK_BAME.analysis.all-week" defaultMessage="All Week" /> | |
34 | 34 | </a> |
35 | 35 | <a className={isActive('month')} onClick={() => selectDate('month')}> |
36 | - <FormattedMessage id="app.analysis.all-month" defaultMessage="All Month" /> | |
36 | + <FormattedMessage id="BLOCK_BAME.analysis.all-month" defaultMessage="All Month" /> | |
37 | 37 | </a> |
38 | 38 | <a className={isActive('year')} onClick={() => selectDate('year')}> |
39 | - <FormattedMessage id="app.analysis.all-year" defaultMessage="All Year" /> | |
39 | + <FormattedMessage id="BLOCK_BAME.analysis.all-year" defaultMessage="All Year" /> | |
40 | 40 | </a> |
41 | 41 | </div> |
42 | 42 | <RangePicker |
... | ... | @@ -50,7 +50,7 @@ const SalesCard = memo( |
50 | 50 | tabBarStyle={{ marginBottom: 24 }} |
51 | 51 | > |
52 | 52 | <TabPane |
53 | - tab={<FormattedMessage id="app.analysis.sales" defaultMessage="Sales" />} | |
53 | + tab={<FormattedMessage id="BLOCK_BAME.analysis.sales" defaultMessage="Sales" />} | |
54 | 54 | key="sales" |
55 | 55 | > |
56 | 56 | <Row> |
... | ... | @@ -60,7 +60,7 @@ const SalesCard = memo( |
60 | 60 | height={295} |
61 | 61 | title={ |
62 | 62 | <FormattedMessage |
63 | - id="app.analysis.sales-trend" | |
63 | + id="BLOCK_BAME.analysis.sales-trend" | |
64 | 64 | defaultMessage="Sales Trend" |
65 | 65 | /> |
66 | 66 | } |
... | ... | @@ -72,7 +72,7 @@ const SalesCard = memo( |
72 | 72 | <div className={styles.salesRank}> |
73 | 73 | <h4 className={styles.rankingTitle}> |
74 | 74 | <FormattedMessage |
75 | - id="app.analysis.sales-ranking" | |
75 | + id="BLOCK_BAME.analysis.sales-ranking" | |
76 | 76 | defaultMessage="Sales Ranking" |
77 | 77 | /> |
78 | 78 | </h4> |
... | ... | @@ -98,7 +98,7 @@ const SalesCard = memo( |
98 | 98 | </Row> |
99 | 99 | </TabPane> |
100 | 100 | <TabPane |
101 | - tab={<FormattedMessage id="app.analysis.visits" defaultMessage="Visits" />} | |
101 | + tab={<FormattedMessage id="BLOCK_BAME.analysis.visits" defaultMessage="Visits" />} | |
102 | 102 | key="views" |
103 | 103 | > |
104 | 104 | <Row> |
... | ... | @@ -108,7 +108,7 @@ const SalesCard = memo( |
108 | 108 | height={292} |
109 | 109 | title={ |
110 | 110 | <FormattedMessage |
111 | - id="app.analysis.visits-trend" | |
111 | + id="BLOCK_BAME.analysis.visits-trend" | |
112 | 112 | defaultMessage="Visits Trend" |
113 | 113 | /> |
114 | 114 | } |
... | ... | @@ -120,7 +120,7 @@ const SalesCard = memo( |
120 | 120 | <div className={styles.salesRank}> |
121 | 121 | <h4 className={styles.rankingTitle}> |
122 | 122 | <FormattedMessage |
123 | - id="app.analysis.visits-ranking" | |
123 | + id="BLOCK_BAME.analysis.visits-ranking" | |
124 | 124 | defaultMessage="Visits Ranking" |
125 | 125 | /> |
126 | 126 | </h4> | ... | ... |
... | ... | @@ -9,27 +9,27 @@ const { MiniArea } = Charts; |
9 | 9 | |
10 | 10 | const columns = [ |
11 | 11 | { |
12 | - title: <FormattedMessage id="app.analysis.table.rank" defaultMessage="Rank" />, | |
12 | + title: <FormattedMessage id="BLOCK_BAME.table.rank" defaultMessage="Rank" />, | |
13 | 13 | dataIndex: 'index', |
14 | 14 | key: 'index', |
15 | 15 | }, |
16 | 16 | { |
17 | 17 | title: ( |
18 | - <FormattedMessage id="app.analysis.table.search-keyword" defaultMessage="Search keyword" /> | |
18 | + <FormattedMessage id="BLOCK_BAME.table.search-keyword" defaultMessage="Search keyword" /> | |
19 | 19 | ), |
20 | 20 | dataIndex: 'keyword', |
21 | 21 | key: 'keyword', |
22 | 22 | render: text => <a href="/">{text}</a>, |
23 | 23 | }, |
24 | 24 | { |
25 | - title: <FormattedMessage id="app.analysis.table.users" defaultMessage="Users" />, | |
25 | + title: <FormattedMessage id="BLOCK_BAME.table.users" defaultMessage="Users" />, | |
26 | 26 | dataIndex: 'count', |
27 | 27 | key: 'count', |
28 | 28 | sorter: (a, b) => a.count - b.count, |
29 | 29 | className: styles.alignRight, |
30 | 30 | }, |
31 | 31 | { |
32 | - title: <FormattedMessage id="app.analysis.table.weekly-range" defaultMessage="Weekly Range" />, | |
32 | + title: <FormattedMessage id="BLOCK_BAME.table.weekly-range" defaultMessage="Weekly Range" />, | |
33 | 33 | dataIndex: 'range', |
34 | 34 | key: 'range', |
35 | 35 | sorter: (a, b) => a.range - b.range, |
... | ... | @@ -47,7 +47,7 @@ const TopSearch = memo(({ loading, visitData2, searchData, dropdownGroup }) => ( |
47 | 47 | loading={loading} |
48 | 48 | bordered={false} |
49 | 49 | title={ |
50 | - <FormattedMessage id="app.analysis.online-top-search" defaultMessage="Online Top Search" /> | |
50 | + <FormattedMessage id="BLOCK_BAME.analysis.online-top-search" defaultMessage="Online Top Search" /> | |
51 | 51 | } |
52 | 52 | extra={dropdownGroup} |
53 | 53 | style={{ marginTop: 24 }} |
... | ... | @@ -57,9 +57,9 @@ const TopSearch = memo(({ loading, visitData2, searchData, dropdownGroup }) => ( |
57 | 57 | <NumberInfo |
58 | 58 | subTitle={ |
59 | 59 | <span> |
60 | - <FormattedMessage id="app.analysis.search-users" defaultMessage="search users" /> | |
60 | + <FormattedMessage id="BLOCK_BAME.analysis.search-users" defaultMessage="search users" /> | |
61 | 61 | <Tooltip |
62 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="introduce" />} | |
62 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="introduce" />} | |
63 | 63 | > |
64 | 64 | <Icon style={{ marginLeft: 8 }} type="info-circle-o" /> |
65 | 65 | </Tooltip> |
... | ... | @@ -77,11 +77,11 @@ const TopSearch = memo(({ loading, visitData2, searchData, dropdownGroup }) => ( |
77 | 77 | subTitle={ |
78 | 78 | <span> |
79 | 79 | <FormattedMessage |
80 | - id="app.analysis.per-capita-search" | |
80 | + id="BLOCK_BAME.analysis.per-capita-search" | |
81 | 81 | defaultMessage="Per Capita Search" |
82 | 82 | /> |
83 | 83 | <Tooltip |
84 | - title={<FormattedMessage id="app.analysis.introduce" defaultMessage="introduce" />} | |
84 | + title={<FormattedMessage id="BLOCK_BAME.analysis.introduce" defaultMessage="introduce" />} | |
85 | 85 | > |
86 | 86 | <Icon style={{ marginLeft: 8 }} type="info-circle-o" /> |
87 | 87 | </Tooltip> | ... | ... |
1 | 1 | export default { |
2 | - 'app.analysis.test': 'Gongzhuan No.{no} shop', | |
3 | - 'app.analysis.introduce': 'Introduce', | |
4 | - 'app.analysis.total-sales': 'Total Sales', | |
5 | - 'app.analysis.day-sales': 'Daily Sales', | |
6 | - 'app.analysis.visits': 'Visits', | |
7 | - 'app.analysis.visits-trend': 'Visits Trend', | |
8 | - 'app.analysis.visits-ranking': 'Visits Ranking', | |
9 | - 'app.analysis.day-visits': 'Daily Visits', | |
10 | - 'app.analysis.week': 'WoW Change', | |
11 | - 'app.analysis.day': 'DoD Change', | |
12 | - 'app.analysis.payments': 'Payments', | |
13 | - 'app.analysis.conversion-rate': 'Conversion Rate', | |
14 | - 'app.analysis.operational-effect': 'Operational Effect', | |
15 | - 'app.analysis.sales-trend': 'Stores Sales Trend', | |
16 | - 'app.analysis.sales-ranking': 'Sales Ranking', | |
17 | - 'app.analysis.all-year': 'All Year', | |
18 | - 'app.analysis.all-month': 'All Month', | |
19 | - 'app.analysis.all-week': 'All Week', | |
20 | - 'app.analysis.all-day': 'All day', | |
21 | - 'app.analysis.search-users': 'Search Users', | |
22 | - 'app.analysis.per-capita-search': 'Per Capita Search', | |
23 | - 'app.analysis.online-top-search': 'Online Top Search', | |
24 | - 'app.analysis.the-proportion-of-sales': 'The Proportion Of Sales', | |
25 | - 'app.analysis.channel.all': 'ALL', | |
26 | - 'app.analysis.channel.online': 'Online', | |
27 | - 'app.analysis.channel.stores': 'Stores', | |
28 | - 'app.analysis.sales': 'Sales', | |
29 | - 'app.analysis.traffic': 'Traffic', | |
30 | - 'app.analysis.table.rank': 'Rank', | |
31 | - 'app.analysis.table.search-keyword': 'Keyword', | |
32 | - 'app.analysis.table.users': 'Users', | |
33 | - 'app.analysis.table.weekly-range': 'Weekly Range', | |
2 | + 'BLOCK_BAME.analysis.test': 'Gongzhuan No.{no} shop', | |
3 | + 'BLOCK_BAME.analysis.introduce': 'Introduce', | |
4 | + 'BLOCK_BAME.analysis.total-sales': 'Total Sales', | |
5 | + 'BLOCK_BAME.analysis.day-sales': 'Daily Sales', | |
6 | + 'BLOCK_BAME.analysis.visits': 'Visits', | |
7 | + 'BLOCK_BAME.analysis.visits-trend': 'Visits Trend', | |
8 | + 'BLOCK_BAME.analysis.visits-ranking': 'Visits Ranking', | |
9 | + 'BLOCK_BAME.analysis.day-visits': 'Daily Visits', | |
10 | + 'BLOCK_BAME.analysis.week': 'WoW Change', | |
11 | + 'BLOCK_BAME.analysis.day': 'DoD Change', | |
12 | + 'BLOCK_BAME.analysis.payments': 'Payments', | |
13 | + 'BLOCK_BAME.analysis.conversion-rate': 'Conversion Rate', | |
14 | + 'BLOCK_BAME.analysis.operational-effect': 'Operational Effect', | |
15 | + 'BLOCK_BAME.analysis.sales-trend': 'Stores Sales Trend', | |
16 | + 'BLOCK_BAME.analysis.sales-ranking': 'Sales Ranking', | |
17 | + 'BLOCK_BAME.analysis.all-year': 'All Year', | |
18 | + 'BLOCK_BAME.analysis.all-month': 'All Month', | |
19 | + 'BLOCK_BAME.analysis.all-week': 'All Week', | |
20 | + 'BLOCK_BAME.analysis.all-day': 'All day', | |
21 | + 'BLOCK_BAME.analysis.search-users': 'Search Users', | |
22 | + 'BLOCK_BAME.analysis.per-capita-search': 'Per Capita Search', | |
23 | + 'BLOCK_BAME.analysis.online-top-search': 'Online Top Search', | |
24 | + 'BLOCK_BAME.analysis.the-proportion-of-sales': 'The Proportion Of Sales', | |
25 | + 'BLOCK_BAME.channel.all': 'ALL', | |
26 | + 'BLOCK_BAME.channel.online': 'Online', | |
27 | + 'BLOCK_BAME.channel.stores': 'Stores', | |
28 | + 'BLOCK_BAME.analysis.sales': 'Sales', | |
29 | + 'BLOCK_BAME.analysis.traffic': 'Traffic', | |
30 | + 'BLOCK_BAME.table.rank': 'Rank', | |
31 | + 'BLOCK_BAME.table.search-keyword': 'Keyword', | |
32 | + 'BLOCK_BAME.table.users': 'Users', | |
33 | + 'BLOCK_BAME.table.weekly-range': 'Weekly Range', | |
34 | 34 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.analysis.test': 'Gongzhuan No.{no} shop', | |
3 | - 'app.analysis.introduce': 'Introduzir', | |
4 | - 'app.analysis.total-sales': 'Vendas Totais', | |
5 | - 'app.analysis.day-sales': 'Vendas do Dia', | |
6 | - 'app.analysis.visits': 'Visitas', | |
7 | - 'app.analysis.visits-trend': 'Tendência de Visitas', | |
8 | - 'app.analysis.visits-ranking': 'Ranking de Visitas', | |
9 | - 'app.analysis.day-visits': 'Visitas do Dia', | |
10 | - 'app.analysis.week': 'Taxa Semanal', | |
11 | - 'app.analysis.day': 'Taxa Diária', | |
12 | - 'app.analysis.payments': 'Pagamentos', | |
13 | - 'app.analysis.conversion-rate': 'Taxa de Conversão', | |
14 | - 'app.analysis.operational-effect': 'Efeito Operacional', | |
15 | - 'app.analysis.sales-trend': 'Tendência de Vendas das Lojas', | |
16 | - 'app.analysis.sales-ranking': 'Ranking de Vendas', | |
17 | - 'app.analysis.all-year': 'Todo ano', | |
18 | - 'app.analysis.all-month': 'Todo mês', | |
19 | - 'app.analysis.all-week': 'Toda semana', | |
20 | - 'app.analysis.all-day': 'Todo dia', | |
21 | - 'app.analysis.search-users': 'Pesquisa de Usuários', | |
22 | - 'app.analysis.per-capita-search': 'Busca Per Capta', | |
23 | - 'app.analysis.online-top-search': 'Mais Buscadas Online', | |
24 | - 'app.analysis.the-proportion-of-sales': 'The Proportion Of Sales', | |
25 | - 'app.analysis.channel.all': 'Tudo', | |
26 | - 'app.analysis.channel.online': 'Online', | |
27 | - 'app.analysis.channel.stores': 'Lojas', | |
28 | - 'app.analysis.sales': 'Vendas', | |
29 | - 'app.analysis.traffic': 'Tráfego', | |
30 | - 'app.analysis.table.rank': 'Rank', | |
31 | - 'app.analysis.table.search-keyword': 'Palavra chave', | |
32 | - 'app.analysis.table.users': 'Usuários', | |
33 | - 'app.analysis.table.weekly-range': 'Faixa Semanal', | |
2 | + 'BLOCK_BAME.analysis.test': 'Gongzhuan No.{no} shop', | |
3 | + 'BLOCK_BAME.analysis.introduce': 'Introduzir', | |
4 | + 'BLOCK_BAME.analysis.total-sales': 'Vendas Totais', | |
5 | + 'BLOCK_BAME.analysis.day-sales': 'Vendas do Dia', | |
6 | + 'BLOCK_BAME.analysis.visits': 'Visitas', | |
7 | + 'BLOCK_BAME.analysis.visits-trend': 'Tendência de Visitas', | |
8 | + 'BLOCK_BAME.analysis.visits-ranking': 'Ranking de Visitas', | |
9 | + 'BLOCK_BAME.analysis.day-visits': 'Visitas do Dia', | |
10 | + 'BLOCK_BAME.analysis.week': 'Taxa Semanal', | |
11 | + 'BLOCK_BAME.analysis.day': 'Taxa Diária', | |
12 | + 'BLOCK_BAME.analysis.payments': 'Pagamentos', | |
13 | + 'BLOCK_BAME.analysis.conversion-rate': 'Taxa de Conversão', | |
14 | + 'BLOCK_BAME.analysis.operational-effect': 'Efeito Operacional', | |
15 | + 'BLOCK_BAME.analysis.sales-trend': 'Tendência de Vendas das Lojas', | |
16 | + 'BLOCK_BAME.analysis.sales-ranking': 'Ranking de Vendas', | |
17 | + 'BLOCK_BAME.$2': 'Todo ano', | |
18 | + 'BLOCK_BAME.analysis.all-month': 'Todo mês', | |
19 | + 'BLOCK_BAME.analysis.all-week': 'Toda semana', | |
20 | + 'BLOCK_BAME.analysis.all-day': 'Todo dia', | |
21 | + 'BLOCK_BAME.analysis.search-users': 'Pesquisa de Usuários', | |
22 | + 'BLOCK_BAME.analysis.per-capita-search': 'Busca Per Capta', | |
23 | + 'BLOCK_BAME.analysis.online-top-search': 'Mais Buscadas Online', | |
24 | + 'BLOCK_BAME.analysis.the-proportion-of-sales': 'The Proportion Of Sales', | |
25 | + 'BLOCK_BAME.channel.all': 'Tudo', | |
26 | + 'BLOCK_BAME.channel.online': 'Online', | |
27 | + 'BLOCK_BAME.channel.stores': 'Lojas', | |
28 | + 'BLOCK_BAME.analysis.sales': 'Vendas', | |
29 | + 'BLOCK_BAME.analysis.traffic': 'Tráfego', | |
30 | + 'BLOCK_BAME.table.rank': 'Rank', | |
31 | + 'BLOCK_BAME.table.search-keyword': 'Palavra chave', | |
32 | + 'BLOCK_BAME.table.users': 'Usuários', | |
33 | + 'BLOCK_BAME.table.weekly-range': 'Faixa Semanal', | |
34 | 34 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.analysis.test': '工专路 {no} 号店', | |
3 | - 'app.analysis.introduce': '指标说明', | |
4 | - 'app.analysis.total-sales': '总销售额', | |
5 | - 'app.analysis.day-sales': '日销售额', | |
6 | - 'app.analysis.visits': '访问量', | |
7 | - 'app.analysis.visits-trend': '访问量趋势', | |
8 | - 'app.analysis.visits-ranking': '门店访问量排名', | |
9 | - 'app.analysis.day-visits': '日访问量', | |
10 | - 'app.analysis.week': '周同比', | |
11 | - 'app.analysis.day': '日同比', | |
12 | - 'app.analysis.payments': '支付笔数', | |
13 | - 'app.analysis.conversion-rate': '转化率', | |
14 | - 'app.analysis.operational-effect': '运营活动效果', | |
15 | - 'app.analysis.sales-trend': '销售趋势', | |
16 | - 'app.analysis.sales-ranking': '门店销售额排名', | |
17 | - 'app.analysis.all-year': '全年', | |
18 | - 'app.analysis.all-month': '本月', | |
19 | - 'app.analysis.all-week': '本周', | |
20 | - 'app.analysis.all-day': '今日', | |
21 | - 'app.analysis.search-users': '搜索用户数', | |
22 | - 'app.analysis.per-capita-search': '人均搜索次数', | |
23 | - 'app.analysis.online-top-search': '线上热门搜索', | |
24 | - 'app.analysis.the-proportion-of-sales': '销售额类别占比', | |
25 | - 'app.analysis.channel.all': '全部渠道', | |
26 | - 'app.analysis.channel.online': '线上', | |
27 | - 'app.analysis.channel.stores': '门店', | |
28 | - 'app.analysis.sales': '销售额', | |
29 | - 'app.analysis.traffic': '客流量', | |
30 | - 'app.analysis.table.rank': '排名', | |
31 | - 'app.analysis.table.search-keyword': '搜索关键词', | |
32 | - 'app.analysis.table.users': '用户数', | |
33 | - 'app.analysis.table.weekly-range': '周涨幅', | |
2 | + 'BLOCK_BAME.analysis.test': '工专路 {no} 号店', | |
3 | + 'BLOCK_BAME.analysis.introduce': '指标说明', | |
4 | + 'BLOCK_BAME.analysis.total-sales': '总销售额', | |
5 | + 'BLOCK_BAME.analysis.day-sales': '日销售额', | |
6 | + 'BLOCK_BAME.analysis.visits': '访问量', | |
7 | + 'BLOCK_BAME.analysis.visits-trend': '访问量趋势', | |
8 | + 'BLOCK_BAME.analysis.visits-ranking': '门店访问量排名', | |
9 | + 'BLOCK_BAME.analysis.day-visits': '日访问量', | |
10 | + 'BLOCK_BAME.analysis.week': '周同比', | |
11 | + 'BLOCK_BAME.analysis.day': '日同比', | |
12 | + 'BLOCK_BAME.analysis.payments': '支付笔数', | |
13 | + 'BLOCK_BAME.analysis.conversion-rate': '转化率', | |
14 | + 'BLOCK_BAME.analysis.operational-effect': '运营活动效果', | |
15 | + 'BLOCK_BAME.analysis.sales-trend': '销售趋势', | |
16 | + 'BLOCK_BAME.analysis.sales-ranking': '门店销售额排名', | |
17 | + 'BLOCK_BAME.analysis.all-year': '全年', | |
18 | + 'BLOCK_BAME.analysis.all-month': '本月', | |
19 | + 'BLOCK_BAME.analysis.all-week': '本周', | |
20 | + 'BLOCK_BAME.analysis.all-day': '今日', | |
21 | + 'BLOCK_BAME.analysis.search-users': '搜索用户数', | |
22 | + 'BLOCK_BAME.analysis.per-capita-search': '人均搜索次数', | |
23 | + 'BLOCK_BAME.analysis.online-top-search': '线上热门搜索', | |
24 | + 'BLOCK_BAME.analysis.the-proportion-of-sales': '销售额类别占比', | |
25 | + 'BLOCK_BAME.channel.all': '全部渠道', | |
26 | + 'BLOCK_BAME.channel.online': '线上', | |
27 | + 'BLOCK_BAME.channel.stores': '门店', | |
28 | + 'BLOCK_BAME.analysis.sales': '销售额', | |
29 | + 'BLOCK_BAME.analysis.traffic': '客流量', | |
30 | + 'BLOCK_BAME.table.rank': '排名', | |
31 | + 'BLOCK_BAME.table.search-keyword': '搜索关键词', | |
32 | + 'BLOCK_BAME.table.users': '用户数', | |
33 | + 'BLOCK_BAME.table.weekly-range': '周涨幅', | |
34 | 34 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.analysis.test': '工專路 {no} 號店', | |
3 | - 'app.analysis.introduce': '指標說明', | |
4 | - 'app.analysis.total-sales': '總銷售額', | |
5 | - 'app.analysis.day-sales': '日銷售額', | |
6 | - 'app.analysis.visits': '訪問量', | |
7 | - 'app.analysis.visits-trend': '訪問量趨勢', | |
8 | - 'app.analysis.visits-ranking': '門店訪問量排名', | |
9 | - 'app.analysis.day-visits': '日訪問量', | |
10 | - 'app.analysis.week': '周同比', | |
11 | - 'app.analysis.day': '日同比', | |
12 | - 'app.analysis.payments': '支付筆數', | |
13 | - 'app.analysis.conversion-rate': '轉化率', | |
14 | - 'app.analysis.operational-effect': '運營活動效果', | |
15 | - 'app.analysis.sales-trend': '銷售趨勢', | |
16 | - 'app.analysis.sales-ranking': '門店銷售額排名', | |
17 | - 'app.analysis.all-year': '全年', | |
18 | - 'app.analysis.all-month': '本月', | |
19 | - 'app.analysis.all-week': '本周', | |
20 | - 'app.analysis.all-day': '今日', | |
21 | - 'app.analysis.search-users': '搜索用戶數', | |
22 | - 'app.analysis.per-capita-search': '人均搜索次數', | |
23 | - 'app.analysis.online-top-search': '線上熱門搜索', | |
24 | - 'app.analysis.the-proportion-of-sales': '銷售額類別占比', | |
25 | - 'app.analysis.channel.all': '全部渠道', | |
26 | - 'app.analysis.channel.online': '線上', | |
27 | - 'app.analysis.channel.stores': '門店', | |
28 | - 'app.analysis.sales': '銷售額', | |
29 | - 'app.analysis.traffic': '客流量', | |
30 | - 'app.analysis.table.rank': '排名', | |
31 | - 'app.analysis.table.search-keyword': '搜索關鍵詞', | |
32 | - 'app.analysis.table.users': '用戶數', | |
33 | - 'app.analysis.table.weekly-range': '周漲幅', | |
2 | + 'BLOCK_BAME.analysis.test': '工專路 {no} 號店', | |
3 | + 'BLOCK_BAME.analysis.introduce': '指標說明', | |
4 | + 'BLOCK_BAME.analysis.total-sales': '總銷售額', | |
5 | + 'BLOCK_BAME.analysis.day-sales': '日銷售額', | |
6 | + 'BLOCK_BAME.analysis.visits': '訪問量', | |
7 | + 'BLOCK_BAME.analysis.visits-trend': '訪問量趨勢', | |
8 | + 'BLOCK_BAME.analysis.visits-ranking': '門店訪問量排名', | |
9 | + 'BLOCK_BAME.analysis.day-visits': '日訪問量', | |
10 | + 'BLOCK_BAME.analysis.week': '周同比', | |
11 | + 'BLOCK_BAME.analysis.day': '日同比', | |
12 | + 'BLOCK_BAME.analysis.payments': '支付筆數', | |
13 | + 'BLOCK_BAME.analysis.conversion-rate': '轉化率', | |
14 | + 'BLOCK_BAME.analysis.operational-effect': '運營活動效果', | |
15 | + 'BLOCK_BAME.analysis.sales-trend': '銷售趨勢', | |
16 | + 'BLOCK_BAME.analysis.sales-ranking': '門店銷售額排名', | |
17 | + 'BLOCK_BAME.analysis.all-year': '全年', | |
18 | + 'BLOCK_BAME.analysis.all-month': '本月', | |
19 | + 'BLOCK_BAME.analysis.all-week': '本周', | |
20 | + 'BLOCK_BAME.analysis.all-day': '今日', | |
21 | + 'BLOCK_BAME.analysis.search-users': '搜索用戶數', | |
22 | + 'BLOCK_BAME.analysis.per-capita-search': '人均搜索次數', | |
23 | + 'BLOCK_BAME.analysis.online-top-search': '線上熱門搜索', | |
24 | + 'BLOCK_BAME.analysis.the-proportion-of-sales': '銷售額類別占比', | |
25 | + 'BLOCK_BAME.channel.all': '全部渠道', | |
26 | + 'BLOCK_BAME.channel.online': '線上', | |
27 | + 'BLOCK_BAME.channel.stores': '門店', | |
28 | + 'BLOCK_BAME.analysis.sales': '銷售額', | |
29 | + 'BLOCK_BAME.analysis.traffic': '客流量', | |
30 | + 'BLOCK_BAME.table.rank': '排名', | |
31 | + 'BLOCK_BAME.table.search-keyword': '搜索關鍵詞', | |
32 | + 'BLOCK_BAME.table.users': '用戶數', | |
33 | + 'BLOCK_BAME.table.weekly-range': '周漲幅', | |
34 | 34 | }; | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -66,67 +66,67 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
66 | 66 | |
67 | 67 | return ( |
68 | 68 | <PageHeaderWrapper |
69 | - title={<FormattedMessage id="app.forms.basic.title" />} | |
70 | - content={<FormattedMessage id="app.forms.basic.description" />} | |
69 | + title={<FormattedMessage id="BLOCK_BAME.basic.title" />} | |
70 | + content={<FormattedMessage id="BLOCK_BAME.basic.description" />} | |
71 | 71 | > |
72 | 72 | <Card bordered={false}> |
73 | 73 | <Form onSubmit={this.handleSubmit} hideRequiredMark style={{ marginTop: 8 }}> |
74 | - <FormItem {...formItemLayout} label={<FormattedMessage id="form.title.label" />}> | |
74 | + <FormItem {...formItemLayout} label={<FormattedMessage id="BLOCK_BAME.title.label" />}> | |
75 | 75 | {getFieldDecorator('title', { |
76 | 76 | rules: [ |
77 | 77 | { |
78 | 78 | required: true, |
79 | - message: formatMessage({ id: 'validation.title.required' }), | |
79 | + message: formatMessage({ id: 'BLOCK_BAME.title.required' }), | |
80 | 80 | }, |
81 | 81 | ], |
82 | - })(<Input placeholder={formatMessage({ id: 'form.title.placeholder' })} />)} | |
82 | + })(<Input placeholder={formatMessage({ id: 'BLOCK_BAME.title.placeholder' })} />)} | |
83 | 83 | </FormItem> |
84 | - <FormItem {...formItemLayout} label={<FormattedMessage id="form.date.label" />}> | |
84 | + <FormItem {...formItemLayout} label={<FormattedMessage id="BLOCK_BAME.date.label" />}> | |
85 | 85 | {getFieldDecorator('date', { |
86 | 86 | rules: [ |
87 | 87 | { |
88 | 88 | required: true, |
89 | - message: formatMessage({ id: 'validation.date.required' }), | |
89 | + message: formatMessage({ id: 'BLOCK_BAME.date.required' }), | |
90 | 90 | }, |
91 | 91 | ], |
92 | 92 | })( |
93 | 93 | <RangePicker |
94 | 94 | style={{ width: '100%' }} |
95 | 95 | placeholder={[ |
96 | - formatMessage({ id: 'form.date.placeholder.start' }), | |
97 | - formatMessage({ id: 'form.date.placeholder.end' }), | |
96 | + formatMessage({ id: 'BLOCK_BAME.placeholder.start' }), | |
97 | + formatMessage({ id: 'BLOCK_BAME.placeholder.end' }), | |
98 | 98 | ]} |
99 | 99 | /> |
100 | 100 | )} |
101 | 101 | </FormItem> |
102 | - <FormItem {...formItemLayout} label={<FormattedMessage id="form.goal.label" />}> | |
102 | + <FormItem {...formItemLayout} label={<FormattedMessage id="BLOCK_BAME.goal.label" />}> | |
103 | 103 | {getFieldDecorator('goal', { |
104 | 104 | rules: [ |
105 | 105 | { |
106 | 106 | required: true, |
107 | - message: formatMessage({ id: 'validation.goal.required' }), | |
107 | + message: formatMessage({ id: 'BLOCK_BAME.goal.required' }), | |
108 | 108 | }, |
109 | 109 | ], |
110 | 110 | })( |
111 | 111 | <TextArea |
112 | 112 | style={{ minHeight: 32 }} |
113 | - placeholder={formatMessage({ id: 'form.goal.placeholder' })} | |
113 | + placeholder={formatMessage({ id: 'BLOCK_BAME.goal.placeholder' })} | |
114 | 114 | rows={4} |
115 | 115 | /> |
116 | 116 | )} |
117 | 117 | </FormItem> |
118 | - <FormItem {...formItemLayout} label={<FormattedMessage id="form.standard.label" />}> | |
118 | + <FormItem {...formItemLayout} label={<FormattedMessage id="BLOCK_BAME.standard.label" />}> | |
119 | 119 | {getFieldDecorator('standard', { |
120 | 120 | rules: [ |
121 | 121 | { |
122 | 122 | required: true, |
123 | - message: formatMessage({ id: 'validation.standard.required' }), | |
123 | + message: formatMessage({ id: 'BLOCK_BAME.standard.required' }), | |
124 | 124 | }, |
125 | 125 | ], |
126 | 126 | })( |
127 | 127 | <TextArea |
128 | 128 | style={{ minHeight: 32 }} |
129 | - placeholder={formatMessage({ id: 'form.standard.placeholder' })} | |
129 | + placeholder={formatMessage({ id: 'BLOCK_BAME.standard.placeholder' })} | |
130 | 130 | rows={4} |
131 | 131 | /> |
132 | 132 | )} |
... | ... | @@ -135,10 +135,10 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
135 | 135 | {...formItemLayout} |
136 | 136 | label={ |
137 | 137 | <span> |
138 | - <FormattedMessage id="form.client.label" /> | |
138 | + <FormattedMessage id="BLOCK_BAME.client.label" /> | |
139 | 139 | <em className={styles.optional}> |
140 | - <FormattedMessage id="form.optional" /> | |
141 | - <Tooltip title={<FormattedMessage id="form.client.label.tooltip" />}> | |
140 | + <FormattedMessage id="BLOCK_BAME.form.optional" /> | |
141 | + <Tooltip title={<FormattedMessage id="BLOCK_BAME.label.tooltip" />}> | |
142 | 142 | <Icon type="info-circle-o" style={{ marginRight: 4 }} /> |
143 | 143 | </Tooltip> |
144 | 144 | </em> |
... | ... | @@ -146,38 +146,38 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
146 | 146 | } |
147 | 147 | > |
148 | 148 | {getFieldDecorator('client')( |
149 | - <Input placeholder={formatMessage({ id: 'form.client.placeholder' })} /> | |
149 | + <Input placeholder={formatMessage({ id: 'BLOCK_BAME.client.placeholder' })} /> | |
150 | 150 | )} |
151 | 151 | </FormItem> |
152 | 152 | <FormItem |
153 | 153 | {...formItemLayout} |
154 | 154 | label={ |
155 | 155 | <span> |
156 | - <FormattedMessage id="form.invites.label" /> | |
156 | + <FormattedMessage id="BLOCK_BAME.invites.label" /> | |
157 | 157 | <em className={styles.optional}> |
158 | - <FormattedMessage id="form.optional" /> | |
158 | + <FormattedMessage id="BLOCK_BAME.form.optional" /> | |
159 | 159 | </em> |
160 | 160 | </span> |
161 | 161 | } |
162 | 162 | > |
163 | 163 | {getFieldDecorator('invites')( |
164 | - <Input placeholder={formatMessage({ id: 'form.invites.placeholder' })} /> | |
164 | + <Input placeholder={formatMessage({ id: 'BLOCK_BAME.invites.placeholder' })} /> | |
165 | 165 | )} |
166 | 166 | </FormItem> |
167 | 167 | <FormItem |
168 | 168 | {...formItemLayout} |
169 | 169 | label={ |
170 | 170 | <span> |
171 | - <FormattedMessage id="form.weight.label" /> | |
171 | + <FormattedMessage id="BLOCK_BAME.weight.label" /> | |
172 | 172 | <em className={styles.optional}> |
173 | - <FormattedMessage id="form.optional" /> | |
173 | + <FormattedMessage id="BLOCK_BAME.form.optional" /> | |
174 | 174 | </em> |
175 | 175 | </span> |
176 | 176 | } |
177 | 177 | > |
178 | 178 | {getFieldDecorator('weight')( |
179 | 179 | <InputNumber |
180 | - placeholder={formatMessage({ id: 'form.weight.placeholder' })} | |
180 | + placeholder={formatMessage({ id: 'BLOCK_BAME.weight.placeholder' })} | |
181 | 181 | min={0} |
182 | 182 | max={100} |
183 | 183 | /> |
... | ... | @@ -186,8 +186,8 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
186 | 186 | </FormItem> |
187 | 187 | <FormItem |
188 | 188 | {...formItemLayout} |
189 | - label={<FormattedMessage id="form.public.label" />} | |
190 | - help={<FormattedMessage id="form.public.label.help" />} | |
189 | + label={<FormattedMessage id="BLOCK_BAME.public.label" />} | |
190 | + help={<FormattedMessage id="BLOCK_BAME.label.help" />} | |
191 | 191 | > |
192 | 192 | <div> |
193 | 193 | {getFieldDecorator('public', { |
... | ... | @@ -195,13 +195,13 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
195 | 195 | })( |
196 | 196 | <Radio.Group> |
197 | 197 | <Radio value="1"> |
198 | - <FormattedMessage id="form.public.radio.public" /> | |
198 | + <FormattedMessage id="BLOCK_BAME.radio.public" /> | |
199 | 199 | </Radio> |
200 | 200 | <Radio value="2"> |
201 | - <FormattedMessage id="form.public.radio.partially-public" /> | |
201 | + <FormattedMessage id="BLOCK_BAME.radio.partially-public" /> | |
202 | 202 | </Radio> |
203 | 203 | <Radio value="3"> |
204 | - <FormattedMessage id="form.public.radio.private" /> | |
204 | + <FormattedMessage id="BLOCK_BAME.radio.private" /> | |
205 | 205 | </Radio> |
206 | 206 | </Radio.Group> |
207 | 207 | )} |
... | ... | @@ -209,20 +209,20 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
209 | 209 | {getFieldDecorator('publicUsers')( |
210 | 210 | <Select |
211 | 211 | mode="multiple" |
212 | - placeholder={formatMessage({ id: 'form.publicUsers.placeholder' })} | |
212 | + placeholder={formatMessage({ id: 'BLOCK_BAME.publicUsers.placeholder' })} | |
213 | 213 | style={{ |
214 | 214 | margin: '8px 0', |
215 | 215 | display: getFieldValue('public') === '2' ? 'block' : 'none', |
216 | 216 | }} |
217 | 217 | > |
218 | 218 | <Option value="1"> |
219 | - <FormattedMessage id="form.publicUsers.option.A" /> | |
219 | + <FormattedMessage id="BLOCK_BAME.option.A" /> | |
220 | 220 | </Option> |
221 | 221 | <Option value="2"> |
222 | - <FormattedMessage id="form.publicUsers.option.B" /> | |
222 | + <FormattedMessage id="BLOCK_BAME.option.B" /> | |
223 | 223 | </Option> |
224 | 224 | <Option value="3"> |
225 | - <FormattedMessage id="form.publicUsers.option.C" /> | |
225 | + <FormattedMessage id="BLOCK_BAME.option.C" /> | |
226 | 226 | </Option> |
227 | 227 | </Select> |
228 | 228 | )} |
... | ... | @@ -231,10 +231,10 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
231 | 231 | </FormItem> |
232 | 232 | <FormItem {...submitFormLayout} style={{ marginTop: 32 }}> |
233 | 233 | <Button type="primary" htmlType="submit" loading={submitting}> |
234 | - <FormattedMessage id="form.submit" /> | |
234 | + <FormattedMessage id="BLOCK_BAME.form.submit" /> | |
235 | 235 | </Button> |
236 | 236 | <Button style={{ marginLeft: 8 }}> |
237 | - <FormattedMessage id="form.save" /> | |
237 | + <FormattedMessage id="BLOCK_BAME.form.save" /> | |
238 | 238 | </Button> |
239 | 239 | </FormItem> |
240 | 240 | </Form> | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Please enter your email!', | |
7 | - 'validation.email.wrong-format': 'The email address is in the wrong format!', | |
8 | - 'validation.userName.required': 'Please enter your userName!', | |
9 | - 'validation.password.required': 'Please enter your password!', | |
10 | - 'validation.password.twice': 'The passwords entered twice do not match!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Please enter your email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'The email address is in the wrong format!', | |
8 | + 'BLOCK_BAME.userName.required': 'Please enter your userName!', | |
9 | + 'BLOCK_BAME.password.required': 'Please enter your password!', | |
10 | + 'BLOCK_BAME.password.twice': 'The passwords entered twice do not match!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | "Please enter at least 6 characters and don't use passwords that are easy to guess.", |
13 | - 'validation.password.strength.strong': 'Strength: strong', | |
14 | - 'validation.password.strength.medium': 'Strength: medium', | |
15 | - 'validation.password.strength.short': 'Strength: too short', | |
16 | - 'validation.confirm-password.required': 'Please confirm your password!', | |
17 | - 'validation.phone-number.required': 'Please enter your phone number!', | |
18 | - 'validation.phone-number.wrong-format': 'Malformed phone number!', | |
19 | - 'validation.verification-code.required': 'Please enter the verification code!', | |
20 | - 'validation.title.required': 'Please enter a title', | |
21 | - 'validation.date.required': 'Please select the start and end date', | |
22 | - 'validation.goal.required': 'Please enter a description of the goal', | |
23 | - 'validation.standard.required': 'Please enter a metric', | |
13 | + 'BLOCK_BAME.strength.strong': 'Strength: strong', | |
14 | + 'BLOCK_BAME.strength.medium': 'Strength: medium', | |
15 | + 'BLOCK_BAME.strength.short': 'Strength: too short', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Please confirm your password!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Please enter your phone number!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Malformed phone number!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Please enter the verification code!', | |
20 | + 'BLOCK_BAME.title.required': 'Please enter a title', | |
21 | + 'BLOCK_BAME.date.required': 'Please select the start and end date', | |
22 | + 'BLOCK_BAME.goal.required': 'Please enter a description of the goal', | |
23 | + 'BLOCK_BAME.standard.required': 'Please enter a metric', | |
24 | 24 | |
25 | - 'form.get-captcha': 'Get Captcha', | |
26 | - 'form.captcha.second': 'sec', | |
27 | - 'form.optional': ' (optional) ', | |
28 | - 'form.submit': 'Submit', | |
29 | - 'form.save': 'Save', | |
30 | - 'form.email.placeholder': 'Email', | |
31 | - 'form.password.placeholder': 'Password', | |
32 | - 'form.confirm-password.placeholder': 'Confirm password', | |
33 | - 'form.phone-number.placeholder': 'Phone number', | |
34 | - 'form.verification-code.placeholder': 'Verification code', | |
35 | - 'form.title.label': 'Title', | |
36 | - 'form.title.placeholder': 'Give the target a name', | |
37 | - 'form.date.label': 'Start and end date', | |
38 | - 'form.date.placeholder.start': 'Start date', | |
39 | - 'form.date.placeholder.end': 'End date', | |
40 | - 'form.goal.label': 'Goal description', | |
41 | - 'form.goal.placeholder': 'Please enter your work goals', | |
42 | - 'form.standard.label': 'Metrics', | |
43 | - 'form.standard.placeholder': 'Please enter a metric', | |
44 | - 'form.client.label': 'Client', | |
45 | - 'form.client.label.tooltip': 'Target service object', | |
46 | - 'form.client.placeholder': | |
25 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
26 | + 'BLOCK_BAME.captcha.second': 'sec', | |
27 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
28 | + 'BLOCK_BAME.form.submit': 'Submit', | |
29 | + 'BLOCK_BAME.form.save': 'Save', | |
30 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
31 | + 'BLOCK_BAME.password.placeholder': 'Password', | |
32 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirm password', | |
33 | + 'BLOCK_BAME.phone-number.placeholder': 'Phone number', | |
34 | + 'BLOCK_BAME.verification-code.placeholder': 'Verification code', | |
35 | + 'BLOCK_BAME.title.label': 'Title', | |
36 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
37 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
38 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
39 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
40 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
41 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
42 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
43 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
44 | + 'BLOCK_BAME.client.label': 'Client', | |
45 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
46 | + 'BLOCK_BAME.client.placeholder': | |
47 | 47 | 'Please describe your customer service, internal customers directly @ Name / job number', |
48 | - 'form.invites.label': 'Inviting critics', | |
49 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | - 'form.weight.label': 'Weight', | |
51 | - 'form.weight.placeholder': 'Please enter weight', | |
52 | - 'form.public.label': 'Target disclosure', | |
53 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
54 | - 'form.public.radio.public': 'Public', | |
55 | - 'form.public.radio.partially-public': 'Partially public', | |
56 | - 'form.public.radio.private': 'Private', | |
57 | - 'form.publicUsers.placeholder': 'Open to', | |
58 | - 'form.publicUsers.option.A': 'Colleague A', | |
59 | - 'form.publicUsers.option.B': 'Colleague B', | |
60 | - 'form.publicUsers.option.C': 'Colleague C', | |
48 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
49 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | + 'BLOCK_BAME.weight.label': 'Weight', | |
51 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
52 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
53 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
54 | + 'BLOCK_BAME.radio.public': 'Public', | |
55 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
56 | + 'BLOCK_BAME.radio.private': 'Private', | |
57 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
58 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
59 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
60 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
61 | 61 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Por favor insira seu email!', | |
7 | - 'validation.email.wrong-format': 'O email está errado!', | |
8 | - 'validation.userName.required': 'Por favor insira nome de usuário!', | |
9 | - 'validation.password.required': 'Por favor insira sua senha!', | |
10 | - 'validation.password.twice': 'As senhas não estão iguais!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Por favor insira seu email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'O email está errado!', | |
8 | + 'BLOCK_BAME.userName.required': 'Por favor insira nome de usuário!', | |
9 | + 'BLOCK_BAME.password.required': 'Por favor insira sua senha!', | |
10 | + 'BLOCK_BAME.password.twice': 'As senhas não estão iguais!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | 'Por favor insira pelo menos 6 caracteres e não use senhas fáceis de adivinhar.', |
13 | - 'validation.password.strength.strong': 'Força: forte', | |
14 | - 'validation.password.strength.medium': 'Força: média', | |
15 | - 'validation.password.strength.short': 'Força: curta', | |
16 | - 'validation.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | - 'validation.phone-number.required': 'Por favor insira seu telefone!', | |
18 | - 'validation.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | - 'validation.verification-code.required': 'Por favor insira seu código de verificação!', | |
13 | + 'BLOCK_BAME.strength.strong': 'Força: forte', | |
14 | + 'BLOCK_BAME.strength.medium': 'Força: média', | |
15 | + 'BLOCK_BAME.strength.short': 'Força: curta', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Por favor insira seu telefone!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Por favor insira seu código de verificação!', | |
20 | 20 | |
21 | - 'form.get-captcha': 'Get Captcha', | |
22 | - 'form.captcha.second': 'sec', | |
23 | - 'form.email.placeholder': 'Email', | |
24 | - 'form.password.placeholder': 'Senha', | |
25 | - 'form.confirm-password.placeholder': 'Confirme a senha', | |
26 | - 'form.phone-number.placeholder': 'Telefone', | |
27 | - 'form.verification-code.placeholder': 'Código de verificação', | |
28 | - 'form.optional': ' (optional) ', | |
29 | - 'form.submit': 'Submit', | |
30 | - 'form.save': 'Save', | |
31 | - 'form.title.label': 'Title', | |
32 | - 'form.title.placeholder': 'Give the target a name', | |
33 | - 'form.date.label': 'Start and end date', | |
34 | - 'form.date.placeholder.start': 'Start date', | |
35 | - 'form.date.placeholder.end': 'End date', | |
36 | - 'form.goal.label': 'Goal description', | |
37 | - 'form.goal.placeholder': 'Please enter your work goals', | |
38 | - 'form.standard.label': 'Metrics', | |
39 | - 'form.standard.placeholder': 'Please enter a metric', | |
40 | - 'form.client.label': 'Client', | |
41 | - 'form.client.label.tooltip': 'Target service object', | |
42 | - 'form.client.placeholder': | |
21 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
22 | + 'BLOCK_BAME.captcha.second': 'sec', | |
23 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
24 | + 'BLOCK_BAME.password.placeholder': 'Senha', | |
25 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirme a senha', | |
26 | + 'BLOCK_BAME.phone-number.placeholder': 'Telefone', | |
27 | + 'BLOCK_BAME.verification-code.placeholder': 'Código de verificação', | |
28 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
29 | + 'BLOCK_BAME.form.submit': 'Submit', | |
30 | + 'BLOCK_BAME.form.save': 'Save', | |
31 | + 'BLOCK_BAME.title.label': 'Title', | |
32 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
33 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
34 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
35 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
36 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
37 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
38 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
39 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
40 | + 'BLOCK_BAME.client.label': 'Client', | |
41 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
42 | + 'BLOCK_BAME.client.placeholder': | |
43 | 43 | 'Please describe your customer service, internal customers directly @ Name / job number', |
44 | - 'form.invites.label': 'Inviting critics', | |
45 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | - 'form.weight.label': 'Weight', | |
47 | - 'form.weight.placeholder': 'Please enter weight', | |
48 | - 'form.public.label': 'Target disclosure', | |
49 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
50 | - 'form.public.radio.public': 'Public', | |
51 | - 'form.public.radio.partially-public': 'Partially public', | |
52 | - 'form.public.radio.private': 'Private', | |
53 | - 'form.publicUsers.placeholder': 'Open to', | |
54 | - 'form.publicUsers.option.A': 'Colleague A', | |
55 | - 'form.publicUsers.option.B': 'Colleague B', | |
56 | - 'form.publicUsers.option.C': 'Colleague C', | |
44 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
45 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | + 'BLOCK_BAME.weight.label': 'Weight', | |
47 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
48 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
49 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
50 | + 'BLOCK_BAME.radio.public': 'Public', | |
51 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
52 | + 'BLOCK_BAME.radio.private': 'Private', | |
53 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
54 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
55 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
56 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
57 | 57 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基础表单', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基础表单', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。', |
5 | 5 | |
6 | - 'validation.email.required': '请输入邮箱地址!', | |
7 | - 'validation.email.wrong-format': '邮箱地址格式错误!', | |
8 | - 'validation.userName.required': '请输入用户名!', | |
9 | - 'validation.password.required': '请输入密码!', | |
10 | - 'validation.password.twice': '两次输入的密码不匹配!', | |
11 | - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | - 'validation.password.strength.strong': '强度:强', | |
13 | - 'validation.password.strength.medium': '强度:中', | |
14 | - 'validation.password.strength.short': '强度:太短', | |
15 | - 'validation.confirm-password.required': '请确认密码!', | |
16 | - 'validation.phone-number.required': '请输入手机号!', | |
17 | - 'validation.phone-number.wrong-format': '手机号格式错误!', | |
18 | - 'validation.verification-code.required': '请输入验证码!', | |
19 | - 'validation.title.required': '请输入标题', | |
20 | - 'validation.date.required': '请选择起止日期', | |
21 | - 'validation.goal.required': '请输入目标描述', | |
22 | - 'validation.standard.required': '请输入衡量标准', | |
6 | + 'BLOCK_BAME.email.required': '请输入邮箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '邮箱地址格式错误!', | |
8 | + 'BLOCK_BAME.userName.required': '请输入用户名!', | |
9 | + 'BLOCK_BAME.password.required': '请输入密码!', | |
10 | + 'BLOCK_BAME.password.twice': '两次输入的密码不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | + 'BLOCK_BAME.strength.strong': '强度:强', | |
13 | + 'BLOCK_BAME.strength.medium': '强度:中', | |
14 | + 'BLOCK_BAME.strength.short': '强度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '请确认密码!', | |
16 | + 'BLOCK_BAME.phone-number.required': '请输入手机号!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手机号格式错误!', | |
18 | + 'BLOCK_BAME.verification-code.required': '请输入验证码!', | |
19 | + 'BLOCK_BAME.title.required': '请输入标题', | |
20 | + 'BLOCK_BAME.date.required': '请选择起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '请输入目标描述', | |
22 | + 'BLOCK_BAME.standard.required': '请输入衡量标准', | |
23 | 23 | |
24 | - 'form.get-captcha': '获取验证码', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(选填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '邮箱', | |
30 | - 'form.password.placeholder': '至少6位密码,区分大小写', | |
31 | - 'form.confirm-password.placeholder': '确认密码', | |
32 | - 'form.phone-number.placeholder': '手机号', | |
33 | - 'form.verification-code.placeholder': '验证码', | |
34 | - 'form.title.label': '标题', | |
35 | - 'form.title.placeholder': '给目标起个名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '开始日期', | |
38 | - 'form.date.placeholder.end': '结束日期', | |
39 | - 'form.goal.label': '目标描述', | |
40 | - 'form.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | - 'form.standard.label': '衡量标准', | |
42 | - 'form.standard.placeholder': '请输入衡量标准', | |
43 | - 'form.client.label': '客户', | |
44 | - 'form.client.label.tooltip': '目标的服务对象', | |
45 | - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | - 'form.invites.label': '邀评人', | |
47 | - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | - 'form.weight.label': '权重', | |
49 | - 'form.weight.placeholder': '请输入', | |
50 | - 'form.public.label': '目标公开', | |
51 | - 'form.public.label.help': '客户、邀评人默认被分享', | |
52 | - 'form.public.radio.public': '公开', | |
53 | - 'form.public.radio.partially-public': '部分公开', | |
54 | - 'form.public.radio.private': '不公开', | |
55 | - 'form.publicUsers.placeholder': '公开给', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '获取验证码', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(选填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '邮箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密码,区分大小写', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '确认密码', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手机号', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '验证码', | |
34 | + 'BLOCK_BAME.title.label': '标题', | |
35 | + 'BLOCK_BAME.title.placeholder': '给目标起个名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '开始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '结束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目标描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | + 'BLOCK_BAME.standard.label': '衡量标准', | |
42 | + 'BLOCK_BAME.standard.placeholder': '请输入衡量标准', | |
43 | + 'BLOCK_BAME.client.label': '客户', | |
44 | + 'BLOCK_BAME.label.tooltip': '目标的服务对象', | |
45 | + 'BLOCK_BAME.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | + 'BLOCK_BAME.invites.label': '邀评人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '权重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '请输入', | |
50 | + 'BLOCK_BAME.public.label': '目标公开', | |
51 | + 'BLOCK_BAME.label.help': '客户、邀评人默认被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公开', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公开', | |
54 | + 'BLOCK_BAME.radio.private': '不公开', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公开给', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基礎表單', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基礎表單', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表單頁用於向用戶收集或驗證信息,基礎表單常見於數據項較少的表單場景。', |
5 | 5 | |
6 | - 'validation.email.required': '請輸入郵箱地址!', | |
7 | - 'validation.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | - 'validation.userName.required': '請輸入賬戶!', | |
9 | - 'validation.password.required': '請輸入密碼!', | |
10 | - 'validation.password.twice': '兩次輸入的密碼不匹配!', | |
11 | - 'validation.password.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | - 'validation.password.strength.strong': '強度:強', | |
13 | - 'validation.password.strength.medium': '強度:中', | |
14 | - 'validation.password.strength.short': '強度:太短', | |
15 | - 'validation.confirm-password.required': '請確認密碼!', | |
16 | - 'validation.phone-number.required': '請輸入手機號!', | |
17 | - 'validation.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | - 'validation.verification-code.required': '請輸入驗證碼!', | |
19 | - 'validation.title.required': '請輸入標題', | |
20 | - 'validation.date.required': '請選擇起止日期', | |
21 | - 'validation.goal.required': '請輸入目標描述', | |
22 | - 'validation.standard.required': '請輸入衡量標淮', | |
6 | + 'BLOCK_BAME.email.required': '請輸入郵箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | + 'BLOCK_BAME.userName.required': '請輸入賬戶!', | |
9 | + 'BLOCK_BAME.password.required': '請輸入密碼!', | |
10 | + 'BLOCK_BAME.password.twice': '兩次輸入的密碼不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | + 'BLOCK_BAME.strength.strong': '強度:強', | |
13 | + 'BLOCK_BAME.strength.medium': '強度:中', | |
14 | + 'BLOCK_BAME.strength.short': '強度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '請確認密碼!', | |
16 | + 'BLOCK_BAME.phone-number.required': '請輸入手機號!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | + 'BLOCK_BAME.verification-code.required': '請輸入驗證碼!', | |
19 | + 'BLOCK_BAME.title.required': '請輸入標題', | |
20 | + 'BLOCK_BAME.date.required': '請選擇起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '請輸入目標描述', | |
22 | + 'BLOCK_BAME.standard.required': '請輸入衡量標淮', | |
23 | 23 | |
24 | - 'form.get-captcha': '獲取驗證碼', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(選填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '郵箱', | |
30 | - 'form.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | - 'form.confirm-password.placeholder': '確認密碼', | |
32 | - 'form.phone-number.placeholder': '手機號', | |
33 | - 'form.verification-code.placeholder': '驗證碼', | |
34 | - 'form.title.label': '標題', | |
35 | - 'form.title.placeholder': '給目標起個名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '開始日期', | |
38 | - 'form.date.placeholder.end': '結束日期', | |
39 | - 'form.goal.label': '目標描述', | |
40 | - 'form.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | - 'form.standard.label': '衡量標淮', | |
42 | - 'form.standard.placeholder': '請輸入衡量標淮', | |
43 | - 'form.client.label': '客戶', | |
44 | - 'form.client.label.tooltip': '目標的服務對象', | |
45 | - 'form.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | - 'form.invites.label': '邀評人', | |
47 | - 'form.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | - 'form.weight.label': '權重', | |
49 | - 'form.weight.placeholder': '請輸入', | |
50 | - 'form.public.label': '目標公開', | |
51 | - 'form.public.label.help': '客戶、邀評人默認被分享', | |
52 | - 'form.public.radio.public': '公開', | |
53 | - 'form.public.radio.partially-public': '部分公開', | |
54 | - 'form.public.radio.private': '不公開', | |
55 | - 'form.publicUsers.placeholder': '公開給', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '獲取驗證碼', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(選填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '郵箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '確認密碼', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手機號', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '驗證碼', | |
34 | + 'BLOCK_BAME.title.label': '標題', | |
35 | + 'BLOCK_BAME.title.placeholder': '給目標起個名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '開始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '結束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目標描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | + 'BLOCK_BAME.standard.label': '衡量標淮', | |
42 | + 'BLOCK_BAME.standard.placeholder': '請輸入衡量標淮', | |
43 | + 'BLOCK_BAME.client.label': '客戶', | |
44 | + 'BLOCK_BAME.label.tooltip': '目標的服務對象', | |
45 | + 'BLOCK_BAME.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | + 'BLOCK_BAME.invites.label': '邀評人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '權重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '請輸入', | |
50 | + 'BLOCK_BAME.public.label': '目標公開', | |
51 | + 'BLOCK_BAME.label.help': '客戶、邀評人默認被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公開', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公開', | |
54 | + 'BLOCK_BAME.radio.private': '不公開', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公開給', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
... | ... | @@ -272,7 +272,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
272 | 272 | <Card |
273 | 273 | className={styles.listCard} |
274 | 274 | bordered={false} |
275 | - title={<FormattedMessage id="menu.list.basiclist" defaultMessage="Basic List" />} | |
275 | + title={<FormattedMessage id="BLOCK_BAME.list.basiclist" defaultMessage="Basic List" />} | |
276 | 276 | style={{ marginTop: 24 }} |
277 | 277 | bodyStyle={{ padding: '0 32px 40px 32px' }} |
278 | 278 | extra={extraContent} | ... | ... |
... | ... | @@ -8,7 +8,7 @@ const PageHeaderWrapper = ({ children, contentWidth, wrapperClassName, top, ...r |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | 10 | wide={contentWidth === 'Fixed'} |
11 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
11 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
12 | 12 | key="pageheader" |
13 | 13 | {...restProps} |
14 | 14 | linkElement={Link} | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -6,9 +6,9 @@ import { Exception } from 'ant-design-pro'; |
6 | 6 | const PAGE_NAME_UPPER_CAMEL_CASE = () => ( |
7 | 7 | <Exception |
8 | 8 | type="403" |
9 | - desc={formatMessage({ id: 'app.exception.description.403' })} | |
9 | + desc={formatMessage({ id: 'BLOCK_BAME.description.403' })} | |
10 | 10 | linkElement={Link} |
11 | - backText={formatMessage({ id: 'app.exception.back' })} | |
11 | + backText={formatMessage({ id: 'BLOCK_BAME.exception.back' })} | |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | ... | ... |
1 | 1 | export default { |
2 | - 'app.exception.back': 'Voltar para Início', | |
3 | - 'app.exception.description.403': 'Desculpe, você não tem acesso a esta página', | |
2 | + 'BLOCK_BAME.exception.back': 'Voltar para Início', | |
3 | + 'BLOCK_BAME.description.403': 'Desculpe, você não tem acesso a esta página', | |
4 | 4 | }; | ... | ... |
... | ... | @@ -6,9 +6,9 @@ import { Exception } from 'ant-design-pro'; |
6 | 6 | const PAGE_NAME_UPPER_CAMEL_CASE = () => ( |
7 | 7 | <Exception |
8 | 8 | type="404" |
9 | - desc={formatMessage({ id: 'app.exception.description.404' })} | |
9 | + desc={formatMessage({ id: 'BLOCK_BAME.description.404' })} | |
10 | 10 | linkElement={Link} |
11 | - backText={formatMessage({ id: 'app.exception.back' })} | |
11 | + backText={formatMessage({ id: 'BLOCK_BAME.exception.back' })} | |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | ... | ... |
1 | 1 | export default { |
2 | - 'app.exception.back': 'Voltar para Início', | |
3 | - 'app.exception.description.404': 'Desculpe, a página que você visitou não existe', | |
2 | + 'BLOCK_BAME.exception.back': 'Voltar para Início', | |
3 | + 'BLOCK_BAME.description.404': 'Desculpe, a página que você visitou não existe', | |
4 | 4 | }; | ... | ... |
... | ... | @@ -6,9 +6,9 @@ import { Exception } from 'ant-design-pro'; |
6 | 6 | const PAGE_NAME_UPPER_CAMEL_CASE = () => ( |
7 | 7 | <Exception |
8 | 8 | type="500" |
9 | - desc={formatMessage({ id: 'app.exception.description.500' })} | |
9 | + desc={formatMessage({ id: 'BLOCK_BAME.description.500' })} | |
10 | 10 | linkElement={Link} |
11 | - backText={formatMessage({ id: 'app.exception.back' })} | |
11 | + backText={formatMessage({ id: 'BLOCK_BAME.exception.back' })} | |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | ... | ... |
1 | 1 | export default { |
2 | - 'app.exception.back': 'Voltar para Início', | |
3 | - 'app.exception.description.500': 'Desculpe, o servidor está reportando um erro', | |
2 | + 'BLOCK_BAME.exception.back': 'Voltar para Início', | |
3 | + 'BLOCK_BAME.description.500': 'Desculpe, o servidor está reportando um erro', | |
4 | 4 | }; | ... | ... |
... | ... | @@ -36,7 +36,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
36 | 36 | <Card |
37 | 37 | title={ |
38 | 38 | <FormattedMessage |
39 | - id="app.monitor.trading-activity" | |
39 | + id="BLOCK_BAME.monitor.trading-activity" | |
40 | 40 | defaultMessage="Real-Time Trading Activity" |
41 | 41 | /> |
42 | 42 | } |
... | ... | @@ -47,7 +47,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
47 | 47 | <NumberInfo |
48 | 48 | subTitle={ |
49 | 49 | <FormattedMessage |
50 | - id="app.monitor.total-transactions" | |
50 | + id="BLOCK_BAME.monitor.total-transactions" | |
51 | 51 | defaultMessage="Total transactions today" |
52 | 52 | /> |
53 | 53 | } |
... | ... | @@ -59,7 +59,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
59 | 59 | <NumberInfo |
60 | 60 | subTitle={ |
61 | 61 | <FormattedMessage |
62 | - id="app.monitor.sales-target" | |
62 | + id="BLOCK_BAME.monitor.sales-target" | |
63 | 63 | defaultMessage="Sales target completion rate" |
64 | 64 | /> |
65 | 65 | } |
... | ... | @@ -70,7 +70,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
70 | 70 | <NumberInfo |
71 | 71 | subTitle={ |
72 | 72 | <FormattedMessage |
73 | - id="app.monitor.remaining-time" | |
73 | + id="BLOCK_BAME.monitor.remaining-time" | |
74 | 74 | defaultMessage="Remaining time of activity" |
75 | 75 | /> |
76 | 76 | } |
... | ... | @@ -81,7 +81,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
81 | 81 | <NumberInfo |
82 | 82 | subTitle={ |
83 | 83 | <FormattedMessage |
84 | - id="app.monitor.total-transactions-per-second" | |
84 | + id="BLOCK_BAME.monitor.total-transactions-per-second" | |
85 | 85 | defaultMessage="Total transactions per second" |
86 | 86 | /> |
87 | 87 | } |
... | ... | @@ -94,7 +94,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
94 | 94 | <Tooltip |
95 | 95 | title={ |
96 | 96 | <FormattedMessage |
97 | - id="app.monitor.waiting-for-implementation" | |
97 | + id="BLOCK_BAME.monitor.waiting-for-implementation" | |
98 | 98 | defaultMessage="Waiting for implementation" |
99 | 99 | /> |
100 | 100 | } |
... | ... | @@ -111,7 +111,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
111 | 111 | <Card |
112 | 112 | title={ |
113 | 113 | <FormattedMessage |
114 | - id="app.monitor.activity-forecast" | |
114 | + id="BLOCK_BAME.monitor.activity-forecast" | |
115 | 115 | defaultMessage="Activity forecast" |
116 | 116 | /> |
117 | 117 | } |
... | ... | @@ -121,13 +121,13 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
121 | 121 | <ActiveChart /> |
122 | 122 | </Card> |
123 | 123 | <Card |
124 | - title={<FormattedMessage id="app.monitor.efficiency" defaultMessage="Efficiency" />} | |
124 | + title={<FormattedMessage id="BLOCK_BAME.monitor.efficiency" defaultMessage="Efficiency" />} | |
125 | 125 | style={{ marginBottom: 24 }} |
126 | 126 | bodyStyle={{ textAlign: 'center' }} |
127 | 127 | bordered={false} |
128 | 128 | > |
129 | 129 | <Gauge |
130 | - title={formatMessage({ id: 'app.monitor.ratio', defaultMessage: 'Ratio' })} | |
130 | + title={formatMessage({ id: 'BLOCK_BAME.monitor.ratio', defaultMessage: 'Ratio' })} | |
131 | 131 | height={180} |
132 | 132 | percent={87} |
133 | 133 | /> |
... | ... | @@ -139,7 +139,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
139 | 139 | <Card |
140 | 140 | title={ |
141 | 141 | <FormattedMessage |
142 | - id="app.monitor.proportion-per-category" | |
142 | + id="BLOCK_BAME.monitor.proportion-per-category" | |
143 | 143 | defaultMessage="Proportion Per Category" |
144 | 144 | /> |
145 | 145 | } |
... | ... | @@ -152,7 +152,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
152 | 152 | animate={false} |
153 | 153 | percent={28} |
154 | 154 | subTitle={ |
155 | - <FormattedMessage id="app.monitor.fast-food" defaultMessage="Fast food" /> | |
155 | + <FormattedMessage id="BLOCK_BAME.monitor.fast-food" defaultMessage="Fast food" /> | |
156 | 156 | } |
157 | 157 | total="28%" |
158 | 158 | height={128} |
... | ... | @@ -166,7 +166,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
166 | 166 | percent={22} |
167 | 167 | subTitle={ |
168 | 168 | <FormattedMessage |
169 | - id="app.monitor.western-food" | |
169 | + id="BLOCK_BAME.monitor.western-food" | |
170 | 170 | defaultMessage="Western food" |
171 | 171 | /> |
172 | 172 | } |
... | ... | @@ -181,7 +181,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
181 | 181 | color="#2FC25B" |
182 | 182 | percent={32} |
183 | 183 | subTitle={ |
184 | - <FormattedMessage id="app.monitor.hot-pot" defaultMessage="Hot pot" /> | |
184 | + <FormattedMessage id="BLOCK_BAME.monitor.hot-pot" defaultMessage="Hot pot" /> | |
185 | 185 | } |
186 | 186 | total="32%" |
187 | 187 | height={128} |
... | ... | @@ -195,7 +195,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
195 | 195 | <Card |
196 | 196 | title={ |
197 | 197 | <FormattedMessage |
198 | - id="app.monitor.popular-searches" | |
198 | + id="BLOCK_BAME.monitor.popular-searches" | |
199 | 199 | defaultMessage="Popular Searches" |
200 | 200 | /> |
201 | 201 | } |
... | ... | @@ -210,7 +210,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
210 | 210 | <Card |
211 | 211 | title={ |
212 | 212 | <FormattedMessage |
213 | - id="app.monitor.resource-surplus" | |
213 | + id="BLOCK_BAME.monitor.resource-surplus" | |
214 | 214 | defaultMessage="Resource Surplus" |
215 | 215 | /> |
216 | 216 | } |
... | ... | @@ -220,7 +220,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends PureComponent { |
220 | 220 | <WaterWave |
221 | 221 | height={161} |
222 | 222 | title={ |
223 | - <FormattedMessage id="app.monitor.fund-surplus" defaultMessage="Fund Surplus" /> | |
223 | + <FormattedMessage id="BLOCK_BAME.monitor.fund-surplus" defaultMessage="Fund Surplus" /> | |
224 | 224 | } |
225 | 225 | percent={34} |
226 | 226 | /> | ... | ... |
1 | 1 | export default { |
2 | - 'app.monitor.trading-activity': 'Real-Time Trading Activity', | |
3 | - 'app.monitor.total-transactions': 'Total transactions today', | |
4 | - 'app.monitor.sales-target': 'Sales target completion rate', | |
5 | - 'app.monitor.remaining-time': 'Remaining time of activity', | |
6 | - 'app.monitor.total-transactions-per-second': 'Total transactions per second', | |
7 | - 'app.monitor.activity-forecast': 'Activity forecast', | |
8 | - 'app.monitor.efficiency': 'Efficiency', | |
9 | - 'app.monitor.ratio': 'Ratio', | |
10 | - 'app.monitor.proportion-per-category': 'Proportion Per Category', | |
11 | - 'app.monitor.fast-food': 'Fast food', | |
12 | - 'app.monitor.western-food': 'Western food', | |
13 | - 'app.monitor.hot-pot': 'Hot pot', | |
14 | - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | - 'app.monitor.popular-searches': 'Popular Searches', | |
16 | - 'app.monitor.resource-surplus': 'Resource Surplus', | |
17 | - 'app.monitor.fund-surplus': 'Fund Surplus', | |
2 | + 'BLOCK_BAME.monitor.trading-activity': 'Real-Time Trading Activity', | |
3 | + 'BLOCK_BAME.monitor.total-transactions': 'Total transactions today', | |
4 | + 'BLOCK_BAME.monitor.sales-target': 'Sales target completion rate', | |
5 | + 'BLOCK_BAME.monitor.remaining-time': 'Remaining time of activity', | |
6 | + 'BLOCK_BAME.monitor.total-transactions-per-second': 'Total transactions per second', | |
7 | + 'BLOCK_BAME.monitor.activity-forecast': 'Activity forecast', | |
8 | + 'BLOCK_BAME.monitor.efficiency': 'Efficiency', | |
9 | + 'BLOCK_BAME.monitor.ratio': 'Ratio', | |
10 | + 'BLOCK_BAME.monitor.proportion-per-category': 'Proportion Per Category', | |
11 | + 'BLOCK_BAME.monitor.fast-food': 'Fast food', | |
12 | + 'BLOCK_BAME.monitor.western-food': 'Western food', | |
13 | + 'BLOCK_BAME.monitor.hot-pot': 'Hot pot', | |
14 | + 'BLOCK_BAME.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | + 'BLOCK_BAME.monitor.popular-searches': 'Popular Searches', | |
16 | + 'BLOCK_BAME.monitor.resource-surplus': 'Resource Surplus', | |
17 | + 'BLOCK_BAME.monitor.fund-surplus': 'Fund Surplus', | |
18 | 18 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.monitor.trading-activity': 'Real-Time Trading Activity', | |
3 | - 'app.monitor.total-transactions': 'Total transactions today', | |
4 | - 'app.monitor.sales-target': 'Sales target completion rate', | |
5 | - 'app.monitor.remaining-time': 'Remaining time of activity', | |
6 | - 'app.monitor.total-transactions-per-second': 'Total transactions per second', | |
7 | - 'app.monitor.activity-forecast': 'Activity forecast', | |
8 | - 'app.monitor.efficiency': 'Efficiency', | |
9 | - 'app.monitor.ratio': 'Ratio', | |
10 | - 'app.monitor.proportion-per-category': 'Proportion Per Category', | |
11 | - 'app.monitor.fast-food': 'Fast food', | |
12 | - 'app.monitor.western-food': 'Western food', | |
13 | - 'app.monitor.hot-pot': 'Hot pot', | |
14 | - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | - 'app.monitor.popular-searches': 'Popular Searches', | |
16 | - 'app.monitor.resource-surplus': 'Resource Surplus', | |
17 | - 'app.monitor.fund-surplus': 'Fund Surplus', | |
18 | - 'app.exception.back': 'Back to home', | |
2 | + 'BLOCK_BAME.monitor.trading-activity': 'Real-Time Trading Activity', | |
3 | + 'BLOCK_BAME.monitor.total-transactions': 'Total transactions today', | |
4 | + 'BLOCK_BAME.monitor.sales-target': 'Sales target completion rate', | |
5 | + 'BLOCK_BAME.monitor.remaining-time': 'Remaining time of activity', | |
6 | + 'BLOCK_BAME.monitor.total-transactions-per-second': 'Total transactions per second', | |
7 | + 'BLOCK_BAME.monitor.activity-forecast': 'Activity forecast', | |
8 | + 'BLOCK_BAME.monitor.efficiency': 'Efficiency', | |
9 | + 'BLOCK_BAME.monitor.ratio': 'Ratio', | |
10 | + 'BLOCK_BAME.monitor.proportion-per-category': 'Proportion Per Category', | |
11 | + 'BLOCK_BAME.monitor.fast-food': 'Fast food', | |
12 | + 'BLOCK_BAME.monitor.western-food': 'Western food', | |
13 | + 'BLOCK_BAME.monitor.hot-pot': 'Hot pot', | |
14 | + 'BLOCK_BAME.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | + 'BLOCK_BAME.monitor.popular-searches': 'Popular Searches', | |
16 | + 'BLOCK_BAME.monitor.resource-surplus': 'Resource Surplus', | |
17 | + 'BLOCK_BAME.monitor.fund-surplus': 'Fund Surplus', | |
18 | + 'BLOCK_BAME.exception.back': 'Back to home', | |
19 | 19 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.monitor.trading-activity': '活动实时交易情况', | |
3 | - 'app.monitor.total-transactions': '今日交易总额', | |
4 | - 'app.monitor.sales-target': '销售目标完成率', | |
5 | - 'app.monitor.remaining-time': '活动剩余时间', | |
6 | - 'app.monitor.total-transactions-per-second': '每秒交易总额', | |
7 | - 'app.monitor.activity-forecast': '活动情况预测', | |
8 | - 'app.monitor.efficiency': '券核效率', | |
9 | - 'app.monitor.ratio': '跳出率', | |
10 | - 'app.monitor.proportion-per-category': '各品类占比', | |
11 | - 'app.monitor.fast-food': '中式快餐', | |
12 | - 'app.monitor.western-food': '西餐', | |
13 | - 'app.monitor.hot-pot': '火锅', | |
14 | - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | - 'app.monitor.popular-searches': '热门搜索', | |
16 | - 'app.monitor.resource-surplus': '资源剩余', | |
17 | - 'app.monitor.fund-surplus': '补贴资金剩余', | |
2 | + 'BLOCK_BAME.monitor.trading-activity': '活动实时交易情况', | |
3 | + 'BLOCK_BAME.monitor.total-transactions': '今日交易总额', | |
4 | + 'BLOCK_BAME.monitor.sales-target': '销售目标完成率', | |
5 | + 'BLOCK_BAME.monitor.remaining-time': '活动剩余时间', | |
6 | + 'BLOCK_BAME.monitor.total-transactions-per-second': '每秒交易总额', | |
7 | + 'BLOCK_BAME.monitor.activity-forecast': '活动情况预测', | |
8 | + 'BLOCK_BAME.monitor.efficiency': '券核效率', | |
9 | + 'BLOCK_BAME.monitor.ratio': '跳出率', | |
10 | + 'BLOCK_BAME.monitor.proportion-per-category': '各品类占比', | |
11 | + 'BLOCK_BAME.monitor.fast-food': '中式快餐', | |
12 | + 'BLOCK_BAME.monitor.western-food': '西餐', | |
13 | + 'BLOCK_BAME.monitor.hot-pot': '火锅', | |
14 | + 'BLOCK_BAME.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | + 'BLOCK_BAME.monitor.popular-searches': '热门搜索', | |
16 | + 'BLOCK_BAME.monitor.resource-surplus': '资源剩余', | |
17 | + 'BLOCK_BAME.monitor.fund-surplus': '补贴资金剩余', | |
18 | 18 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.monitor.trading-activity': '活動實時交易情況', | |
3 | - 'app.monitor.total-transactions': '今日交易總額', | |
4 | - 'app.monitor.sales-target': '銷售目標完成率', | |
5 | - 'app.monitor.remaining-time': '活動剩余時間', | |
6 | - 'app.monitor.total-transactions-per-second': '每秒交易總額', | |
7 | - 'app.monitor.activity-forecast': '活動情況預測', | |
8 | - 'app.monitor.efficiency': '券核效率', | |
9 | - 'app.monitor.ratio': '跳出率', | |
10 | - 'app.monitor.proportion-per-category': '各品類占比', | |
11 | - 'app.monitor.fast-food': '中式快餐', | |
12 | - 'app.monitor.western-food': '西餐', | |
13 | - 'app.monitor.hot-pot': '火鍋', | |
14 | - 'app.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | - 'app.monitor.popular-searches': '熱門搜索', | |
16 | - 'app.monitor.resource-surplus': '資源剩余', | |
17 | - 'app.monitor.fund-surplus': '補貼資金剩余', | |
2 | + 'BLOCK_BAME.monitor.trading-activity': '活動實時交易情況', | |
3 | + 'BLOCK_BAME.monitor.total-transactions': '今日交易總額', | |
4 | + 'BLOCK_BAME.monitor.sales-target': '銷售目標完成率', | |
5 | + 'BLOCK_BAME.monitor.remaining-time': '活動剩余時間', | |
6 | + 'BLOCK_BAME.monitor.total-transactions-per-second': '每秒交易總額', | |
7 | + 'BLOCK_BAME.monitor.activity-forecast': '活動情況預測', | |
8 | + 'BLOCK_BAME.monitor.efficiency': '券核效率', | |
9 | + 'BLOCK_BAME.monitor.ratio': '跳出率', | |
10 | + 'BLOCK_BAME.monitor.proportion-per-category': '各品類占比', | |
11 | + 'BLOCK_BAME.monitor.fast-food': '中式快餐', | |
12 | + 'BLOCK_BAME.monitor.western-food': '西餐', | |
13 | + 'BLOCK_BAME.monitor.hot-pot': '火鍋', | |
14 | + 'BLOCK_BAME.monitor.waiting-for-implementation': 'Waiting for implementation', | |
15 | + 'BLOCK_BAME.monitor.popular-searches': '熱門搜索', | |
16 | + 'BLOCK_BAME.monitor.resource-surplus': '資源剩余', | |
17 | + 'BLOCK_BAME.monitor.fund-surplus': '補貼資金剩余', | |
18 | 18 | }; | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -15,29 +15,29 @@ const extra = ( |
15 | 15 | }} |
16 | 16 | > |
17 | 17 | <FormattedMessage |
18 | - id="app.result.error.hint-title" | |
18 | + id="BLOCK_BAME.error.hint-title" | |
19 | 19 | defaultMessage="The content you submitted has the following error:" |
20 | 20 | /> |
21 | 21 | </div> |
22 | 22 | <div style={{ marginBottom: 16 }}> |
23 | 23 | <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" /> |
24 | 24 | <FormattedMessage |
25 | - id="app.result.error.hint-text1" | |
25 | + id="BLOCK_BAME.error.hint-text1" | |
26 | 26 | defaultMessage="Your account has been frozen" |
27 | 27 | /> |
28 | 28 | <a style={{ marginLeft: 16 }}> |
29 | - <FormattedMessage id="app.result.error.hint-btn1" defaultMessage="Thaw immediately" /> | |
29 | + <FormattedMessage id="BLOCK_BAME.error.hint-btn1" defaultMessage="Thaw immediately" /> | |
30 | 30 | <Icon type="right" /> |
31 | 31 | </a> |
32 | 32 | </div> |
33 | 33 | <div> |
34 | 34 | <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" /> |
35 | 35 | <FormattedMessage |
36 | - id="app.result.error.hint-text2" | |
36 | + id="BLOCK_BAME.error.hint-text2" | |
37 | 37 | defaultMessage="Your account is not yet eligible to apply" |
38 | 38 | /> |
39 | 39 | <a style={{ marginLeft: 16 }}> |
40 | - <FormattedMessage id="app.result.error.hint-btn2" defaultMessage="Upgrade immediately" /> | |
40 | + <FormattedMessage id="BLOCK_BAME.error.hint-btn2" defaultMessage="Upgrade immediately" /> | |
41 | 41 | <Icon type="right" /> |
42 | 42 | </a> |
43 | 43 | </div> |
... | ... | @@ -46,7 +46,7 @@ const extra = ( |
46 | 46 | |
47 | 47 | const actions = ( |
48 | 48 | <Button type="primary"> |
49 | - <FormattedMessage id="app.result.error.btn-text" defaultMessage="Return to modify" /> | |
49 | + <FormattedMessage id="BLOCK_BAME.error.btn-text" defaultMessage="Return to modify" /> | |
50 | 50 | </Button> |
51 | 51 | ); |
52 | 52 | |
... | ... | @@ -55,8 +55,8 @@ export default () => ( |
55 | 55 | <Card bordered={false}> |
56 | 56 | <Result |
57 | 57 | type="error" |
58 | - title={formatMessage({ id: 'app.result.error.title' })} | |
59 | - description={formatMessage({ id: 'app.result.error.description' })} | |
58 | + title={formatMessage({ id: 'BLOCK_BAME.error.title' })} | |
59 | + description={formatMessage({ id: 'BLOCK_BAME.error.description' })} | |
60 | 60 | extra={extra} |
61 | 61 | actions={actions} |
62 | 62 | style={{ marginTop: 48, marginBottom: 16 }} | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.error.title': 'Submission Failed', | |
3 | - 'app.result.error.description': | |
2 | + 'BLOCK_BAME.error.title': 'Submission Failed', | |
3 | + 'BLOCK_BAME.error.description': | |
4 | 4 | 'Please check and modify the following information before resubmitting.', |
5 | - 'app.result.error.hint-title': 'The content you submitted has the following error:', | |
6 | - 'app.result.error.hint-text1': 'Your account has been frozen', | |
7 | - 'app.result.error.hint-btn1': 'Thaw immediately', | |
8 | - 'app.result.error.hint-text2': 'Your account is not yet eligible to apply', | |
9 | - 'app.result.error.hint-btn2': 'Upgrade immediately', | |
10 | - 'app.result.error.btn-text': 'Return to modify', | |
5 | + 'BLOCK_BAME.error.hint-title': 'The content you submitted has the following error:', | |
6 | + 'BLOCK_BAME.error.hint-text1': 'Your account has been frozen', | |
7 | + 'BLOCK_BAME.error.hint-btn1': 'Thaw immediately', | |
8 | + 'BLOCK_BAME.error.hint-text2': 'Your account is not yet eligible to apply', | |
9 | + 'BLOCK_BAME.error.hint-btn2': 'Upgrade immediately', | |
10 | + 'BLOCK_BAME.error.btn-text': 'Return to modify', | |
11 | 11 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.error.title': '提交失败', | |
3 | - 'app.result.error.description': '请核对并修改以下信息后,再重新提交。', | |
4 | - 'app.result.error.hint-title': '您提交的内容有如下错误:', | |
5 | - 'app.result.error.hint-text1': '您的账户已被冻结', | |
6 | - 'app.result.error.hint-btn1': '立即解冻', | |
7 | - 'app.result.error.hint-text2': '您的账户还不具备申请资格', | |
8 | - 'app.result.error.hint-btn2': '立即升级', | |
9 | - 'app.result.error.btn-text': '返回修改', | |
2 | + 'BLOCK_BAME.error.title': '提交失败', | |
3 | + 'BLOCK_BAME.error.description': '请核对并修改以下信息后,再重新提交。', | |
4 | + 'BLOCK_BAME.error.hint-title': '您提交的内容有如下错误:', | |
5 | + 'BLOCK_BAME.error.hint-text1': '您的账户已被冻结', | |
6 | + 'BLOCK_BAME.error.hint-btn1': '立即解冻', | |
7 | + 'BLOCK_BAME.error.hint-text2': '您的账户还不具备申请资格', | |
8 | + 'BLOCK_BAME.error.hint-btn2': '立即升级', | |
9 | + 'BLOCK_BAME.error.btn-text': '返回修改', | |
10 | 10 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.error.title': '提交失敗', | |
3 | - 'app.result.error.description': '請核對並修改以下信息後,再重新提交。', | |
4 | - 'app.result.error.hint-title': '您提交的內容有如下錯誤:', | |
5 | - 'app.result.error.hint-text1': '您的賬戶已被凍結', | |
6 | - 'app.result.error.hint-btn1': '立即解凍', | |
7 | - 'app.result.error.hint-text2': '您的賬戶還不具備申請資格', | |
8 | - 'app.result.error.hint-btn2': '立即升級', | |
9 | - 'app.result.error.btn-text': '返回修改', | |
2 | + 'BLOCK_BAME.error.title': '提交失敗', | |
3 | + 'BLOCK_BAME.error.description': '請核對並修改以下信息後,再重新提交。', | |
4 | + 'BLOCK_BAME.error.hint-title': '您提交的內容有如下錯誤:', | |
5 | + 'BLOCK_BAME.error.hint-text1': '您的賬戶已被凍結', | |
6 | + 'BLOCK_BAME.error.hint-btn1': '立即解凍', | |
7 | + 'BLOCK_BAME.error.hint-text2': '您的賬戶還不具備申請資格', | |
8 | + 'BLOCK_BAME.error.hint-btn2': '立即升級', | |
9 | + 'BLOCK_BAME.error.btn-text': '返回修改', | |
10 | 10 | }; | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -17,7 +17,7 @@ const desc1 = ( |
17 | 17 | }} |
18 | 18 | > |
19 | 19 | <div style={{ margin: '8px 0 4px' }}> |
20 | - <FormattedMessage id="app.result.success.step1-operator" defaultMessage="Qu Lili" /> | |
20 | + <FormattedMessage id="BLOCK_BAME.success.step1-operator" defaultMessage="Qu Lili" /> | |
21 | 21 | <Icon style={{ marginLeft: 8 }} type="dingding-o" /> |
22 | 22 | </div> |
23 | 23 | <div>2016-12-12 12:32</div> |
... | ... | @@ -27,12 +27,12 @@ const desc1 = ( |
27 | 27 | const desc2 = ( |
28 | 28 | <div style={{ fontSize: 12, position: 'relative', left: 42, textAlign: 'left' }}> |
29 | 29 | <div style={{ margin: '8px 0 4px' }}> |
30 | - <FormattedMessage id="app.result.success.step2-operator" defaultMessage="Zhou Maomao" /> | |
30 | + <FormattedMessage id="BLOCK_BAME.success.step2-operator" defaultMessage="Zhou Maomao" /> | |
31 | 31 | <Icon type="dingding-o" style={{ color: '#00A0E9', marginLeft: 8 }} /> |
32 | 32 | </div> |
33 | 33 | <div> |
34 | 34 | <a href=""> |
35 | - <FormattedMessage id="app.result.success.step2-extra" defaultMessage="Urge" /> | |
35 | + <FormattedMessage id="BLOCK_BAME.success.step2-extra" defaultMessage="Urge" /> | |
36 | 36 | </a> |
37 | 37 | </div> |
38 | 38 | </div> |
... | ... | @@ -48,25 +48,25 @@ const extra = ( |
48 | 48 | marginBottom: 20, |
49 | 49 | }} |
50 | 50 | > |
51 | - <FormattedMessage id="app.result.success.operate-title" defaultMessage="Project Name" /> | |
51 | + <FormattedMessage id="BLOCK_BAME.success.operate-title" defaultMessage="Project Name" /> | |
52 | 52 | </div> |
53 | 53 | <Row style={{ marginBottom: 16 }}> |
54 | 54 | <Col xs={24} sm={12} md={12} lg={12} xl={6}> |
55 | 55 | <span style={{ color: 'rgba(0, 0, 0, 0.85)' }}> |
56 | - <FormattedMessage id="app.result.success.operate-id" defaultMessage="Project ID:" /> | |
56 | + <FormattedMessage id="BLOCK_BAME.success.operate-id" defaultMessage="Project ID:" /> | |
57 | 57 | </span> |
58 | 58 | 23421 |
59 | 59 | </Col> |
60 | 60 | <Col xs={24} sm={12} md={12} lg={12} xl={6}> |
61 | 61 | <span style={{ color: 'rgba(0, 0, 0, 0.85)' }}> |
62 | - <FormattedMessage id="app.result.success.principal" defaultMessage="Principal:" /> | |
62 | + <FormattedMessage id="BLOCK_BAME.success.principal" defaultMessage="Principal:" /> | |
63 | 63 | </span> |
64 | - <FormattedMessage id="app.result.success.step1-operator" defaultMessage="Qu Lili" /> | |
64 | + <FormattedMessage id="BLOCK_BAME.success.step1-operator" defaultMessage="Qu Lili" /> | |
65 | 65 | </Col> |
66 | 66 | <Col xs={24} sm={24} md={24} lg={24} xl={12}> |
67 | 67 | <span style={{ color: 'rgba(0, 0, 0, 0.85)' }}> |
68 | 68 | <FormattedMessage |
69 | - id="app.result.success.operate-time" | |
69 | + id="BLOCK_BAME.success.operate-time" | |
70 | 70 | defaultMessage="Effective time:" |
71 | 71 | /> |
72 | 72 | </span> |
... | ... | @@ -77,7 +77,7 @@ const extra = ( |
77 | 77 | <Step |
78 | 78 | title={ |
79 | 79 | <span style={{ fontSize: 14 }}> |
80 | - <FormattedMessage id="app.result.success.step1-title" defaultMessage="Create project" /> | |
80 | + <FormattedMessage id="BLOCK_BAME.success.step1-title" defaultMessage="Create project" /> | |
81 | 81 | </span> |
82 | 82 | } |
83 | 83 | description={desc1} |
... | ... | @@ -86,7 +86,7 @@ const extra = ( |
86 | 86 | title={ |
87 | 87 | <span style={{ fontSize: 14 }}> |
88 | 88 | <FormattedMessage |
89 | - id="app.result.success.step2-title" | |
89 | + id="BLOCK_BAME.success.step2-title" | |
90 | 90 | defaultMessage="Departmental preliminary review" |
91 | 91 | /> |
92 | 92 | </span> |
... | ... | @@ -97,7 +97,7 @@ const extra = ( |
97 | 97 | title={ |
98 | 98 | <span style={{ fontSize: 14 }}> |
99 | 99 | <FormattedMessage |
100 | - id="app.result.success.step3-title" | |
100 | + id="BLOCK_BAME.success.step3-title" | |
101 | 101 | defaultMessage="Financial review" |
102 | 102 | /> |
103 | 103 | </span> |
... | ... | @@ -106,7 +106,7 @@ const extra = ( |
106 | 106 | <Step |
107 | 107 | title={ |
108 | 108 | <span style={{ fontSize: 14 }}> |
109 | - <FormattedMessage id="app.result.success.step4-title" defaultMessage="Finish" /> | |
109 | + <FormattedMessage id="BLOCK_BAME.success.step4-title" defaultMessage="Finish" /> | |
110 | 110 | </span> |
111 | 111 | } |
112 | 112 | /> |
... | ... | @@ -117,13 +117,13 @@ const extra = ( |
117 | 117 | const actions = ( |
118 | 118 | <Fragment> |
119 | 119 | <Button type="primary"> |
120 | - <FormattedMessage id="app.result.success.btn-return" defaultMessage="Back to list" /> | |
120 | + <FormattedMessage id="BLOCK_BAME.success.btn-return" defaultMessage="Back to list" /> | |
121 | 121 | </Button> |
122 | 122 | <Button> |
123 | - <FormattedMessage id="app.result.success.btn-project" defaultMessage="View project" /> | |
123 | + <FormattedMessage id="BLOCK_BAME.success.btn-project" defaultMessage="View project" /> | |
124 | 124 | </Button> |
125 | 125 | <Button> |
126 | - <FormattedMessage id="app.result.success.btn-print" defaultMessage="Print" /> | |
126 | + <FormattedMessage id="BLOCK_BAME.success.btn-print" defaultMessage="Print" /> | |
127 | 127 | </Button> |
128 | 128 | </Fragment> |
129 | 129 | ); |
... | ... | @@ -133,8 +133,8 @@ export default () => ( |
133 | 133 | <Card bordered={false}> |
134 | 134 | <Result |
135 | 135 | type="success" |
136 | - title={formatMessage({ id: 'app.result.success.title' })} | |
137 | - description={formatMessage({ id: 'app.result.success.description' })} | |
136 | + title={formatMessage({ id: 'BLOCK_BAME.success.title' })} | |
137 | + description={formatMessage({ id: 'BLOCK_BAME.success.description' })} | |
138 | 138 | extra={extra} |
139 | 139 | actions={actions} |
140 | 140 | style={{ marginTop: 48, marginBottom: 16 }} | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.success.title': 'Submission Success', | |
3 | - 'app.result.success.description': | |
2 | + 'BLOCK_BAME.success.title': 'Submission Success', | |
3 | + 'BLOCK_BAME.success.description': | |
4 | 4 | 'The submission results page is used to feed back the results of a series of operational tasks. If it is a simple operation, use the Message global prompt feedback. This text area can show a simple supplementary explanation. If there is a similar requirement for displaying “documents”, the following gray area can present more complicated content.', |
5 | - 'app.result.success.operate-title': 'Project Name', | |
6 | - 'app.result.success.operate-id': 'Project ID:', | |
7 | - 'app.result.success.principal': 'Principal:', | |
8 | - 'app.result.success.operate-time': 'Effective time:', | |
9 | - 'app.result.success.step1-title': 'Create project', | |
10 | - 'app.result.success.step1-operator': 'Qu Lili', | |
11 | - 'app.result.success.step2-title': 'Departmental preliminary review', | |
12 | - 'app.result.success.step2-operator': 'Zhou Maomao', | |
13 | - 'app.result.success.step2-extra': 'Urge', | |
14 | - 'app.result.success.step3-title': 'Financial review', | |
15 | - 'app.result.success.step4-title': 'Finish', | |
16 | - 'app.result.success.btn-return': 'Back to list', | |
17 | - 'app.result.success.btn-project': 'View project', | |
18 | - 'app.result.success.btn-print': 'Print', | |
5 | + 'BLOCK_BAME.success.operate-title': 'Project Name', | |
6 | + 'BLOCK_BAME.success.operate-id': 'Project ID:', | |
7 | + 'BLOCK_BAME.success.principal': 'Principal:', | |
8 | + 'BLOCK_BAME.success.operate-time': 'Effective time:', | |
9 | + 'BLOCK_BAME.success.step1-title': 'Create project', | |
10 | + 'BLOCK_BAME.success.step1-operator': 'Qu Lili', | |
11 | + 'BLOCK_BAME.success.step2-title': 'Departmental preliminary review', | |
12 | + 'BLOCK_BAME.success.step2-operator': 'Zhou Maomao', | |
13 | + 'BLOCK_BAME.success.step2-extra': 'Urge', | |
14 | + 'BLOCK_BAME.success.step3-title': 'Financial review', | |
15 | + 'BLOCK_BAME.success.step4-title': 'Finish', | |
16 | + 'BLOCK_BAME.success.btn-return': 'Back to list', | |
17 | + 'BLOCK_BAME.success.btn-project': 'View project', | |
18 | + 'BLOCK_BAME.success.btn-print': 'Print', | |
19 | 19 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.success.title': '提交成功', | |
3 | - 'app.result.success.description': | |
2 | + 'BLOCK_BAME.success.title': '提交成功', | |
3 | + 'BLOCK_BAME.success.description': | |
4 | 4 | '提交结果页用于反馈一系列操作任务的处理结果, 如果仅是简单操作,使用 Message 全局提示反馈即可。 本文字区域可以展示简单的补充说明,如果有类似展示 “单据”的需求,下面这个灰色区域可以呈现比较复杂的内容。', |
5 | - 'app.result.success.operate-title': '项目名称', | |
6 | - 'app.result.success.operate-id': '项目 ID:', | |
7 | - 'app.result.success.principal': '负责人:', | |
8 | - 'app.result.success.operate-time': '生效时间:', | |
9 | - 'app.result.success.step1-title': '创建项目', | |
10 | - 'app.result.success.step1-operator': '曲丽丽', | |
11 | - 'app.result.success.step2-title': '部门初审', | |
12 | - 'app.result.success.step2-operator': '周毛毛', | |
13 | - 'app.result.success.step2-extra': '催一下', | |
14 | - 'app.result.success.step3-title': '财务复核', | |
15 | - 'app.result.success.step4-title': '完成', | |
16 | - 'app.result.success.btn-return': '返回列表', | |
17 | - 'app.result.success.btn-project': '查看项目', | |
18 | - 'app.result.success.btn-print': '打印', | |
5 | + 'BLOCK_BAME.success.operate-title': '项目名称', | |
6 | + 'BLOCK_BAME.success.operate-id': '项目 ID:', | |
7 | + 'BLOCK_BAME.success.principal': '负责人:', | |
8 | + 'BLOCK_BAME.success.operate-time': '生效时间:', | |
9 | + 'BLOCK_BAME.success.step1-title': '创建项目', | |
10 | + 'BLOCK_BAME.success.step1-operator': '曲丽丽', | |
11 | + 'BLOCK_BAME.success.step2-title': '部门初审', | |
12 | + 'BLOCK_BAME.success.step2-operator': '周毛毛', | |
13 | + 'BLOCK_BAME.success.step2-extra': '催一下', | |
14 | + 'BLOCK_BAME.success.step3-title': '财务复核', | |
15 | + 'BLOCK_BAME.success.step4-title': '完成', | |
16 | + 'BLOCK_BAME.success.btn-return': '返回列表', | |
17 | + 'BLOCK_BAME.success.btn-project': '查看项目', | |
18 | + 'BLOCK_BAME.success.btn-print': '打印', | |
19 | 19 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.result.success.title': '提交成功', | |
3 | - 'app.result.success.description': | |
2 | + 'BLOCK_BAME.success.title': '提交成功', | |
3 | + 'BLOCK_BAME.success.description': | |
4 | 4 | '提交結果頁用於反饋壹系列操作任務的處理結果, 如果僅是簡單操作,使用 Message 全局提示反饋即可。 本文字區域可以展示簡單的補充說明,如果有類似展示 “單據”的需求,下面這個灰色區域可以呈現比較復雜的內容。', |
5 | - 'app.result.success.operate-title': '項目名稱', | |
6 | - 'app.result.success.operate-id': '項目 ID:', | |
7 | - 'app.result.success.principal': '負責人:', | |
8 | - 'app.result.success.operate-time': '生效時間:', | |
9 | - 'app.result.success.step1-title': '創建項目', | |
10 | - 'app.result.success.step1-operator': '曲麗麗', | |
11 | - 'app.result.success.step2-title': '部門初審', | |
12 | - 'app.result.success.step2-operator': '周毛毛', | |
13 | - 'app.result.success.step2-extra': '催壹下', | |
14 | - 'app.result.success.step3-title': '財務復核', | |
15 | - 'app.result.success.step4-title': '完成', | |
16 | - 'app.result.success.btn-return': '返回列表', | |
17 | - 'app.result.success.btn-project': '查看項目', | |
18 | - 'app.result.success.btn-print': '打印', | |
5 | + 'BLOCK_BAME.success.operate-title': '項目名稱', | |
6 | + 'BLOCK_BAME.success.operate-id': '項目 ID:', | |
7 | + 'BLOCK_BAME.success.principal': '負責人:', | |
8 | + 'BLOCK_BAME.success.operate-time': '生效時間:', | |
9 | + 'BLOCK_BAME.success.step1-title': '創建項目', | |
10 | + 'BLOCK_BAME.success.step1-operator': '曲麗麗', | |
11 | + 'BLOCK_BAME.success.step2-title': '部門初審', | |
12 | + 'BLOCK_BAME.success.step2-operator': '周毛毛', | |
13 | + 'BLOCK_BAME.success.step2-extra': '催壹下', | |
14 | + 'BLOCK_BAME.success.step3-title': '財務復核', | |
15 | + 'BLOCK_BAME.success.step4-title': '完成', | |
16 | + 'BLOCK_BAME.success.btn-return': '返回列表', | |
17 | + 'BLOCK_BAME.success.btn-project': '查看項目', | |
18 | + 'BLOCK_BAME.success.btn-print': '打印', | |
19 | 19 | }; | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
... | ... | @@ -7,7 +7,7 @@ import styles from './index.less'; |
7 | 7 | const PageHeaderWrapper = ({ children, wrapperClassName, ...restProps }) => ( |
8 | 8 | <div style={{ margin: '-24px -24px 0' }} className={wrapperClassName}> |
9 | 9 | <PageHeader |
10 | - home={<FormattedMessage id="menu.home" defaultMessage="Home" />} | |
10 | + home={<FormattedMessage id="BLOCK_BAME.menu.home" defaultMessage="Home" />} | |
11 | 11 | key="pageheader" |
12 | 12 | {...restProps} |
13 | 13 | linkElement={Link} | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Please enter your email!', | |
7 | - 'validation.email.wrong-format': 'The email address is in the wrong format!', | |
8 | - 'validation.userName.required': 'Please enter your userName!', | |
9 | - 'validation.password.required': 'Please enter your password!', | |
10 | - 'validation.password.twice': 'The passwords entered twice do not match!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Please enter your email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'The email address is in the wrong format!', | |
8 | + 'BLOCK_BAME.userName.required': 'Please enter your userName!', | |
9 | + 'BLOCK_BAME.password.required': 'Please enter your password!', | |
10 | + 'BLOCK_BAME.password.twice': 'The passwords entered twice do not match!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | "Please enter at least 6 characters and don't use passwords that are easy to guess.", |
13 | - 'validation.password.strength.strong': 'Strength: strong', | |
14 | - 'validation.password.strength.medium': 'Strength: medium', | |
15 | - 'validation.password.strength.short': 'Strength: too short', | |
16 | - 'validation.confirm-password.required': 'Please confirm your password!', | |
17 | - 'validation.phone-number.required': 'Please enter your phone number!', | |
18 | - 'validation.phone-number.wrong-format': 'Malformed phone number!', | |
19 | - 'validation.verification-code.required': 'Please enter the verification code!', | |
20 | - 'validation.title.required': 'Please enter a title', | |
21 | - 'validation.date.required': 'Please select the start and end date', | |
22 | - 'validation.goal.required': 'Please enter a description of the goal', | |
23 | - 'validation.standard.required': 'Please enter a metric', | |
13 | + 'BLOCK_BAME.strength.strong': 'Strength: strong', | |
14 | + 'BLOCK_BAME.strength.medium': 'Strength: medium', | |
15 | + 'BLOCK_BAME.strength.short': 'Strength: too short', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Please confirm your password!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Please enter your phone number!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Malformed phone number!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Please enter the verification code!', | |
20 | + 'BLOCK_BAME.title.required': 'Please enter a title', | |
21 | + 'BLOCK_BAME.date.required': 'Please select the start and end date', | |
22 | + 'BLOCK_BAME.goal.required': 'Please enter a description of the goal', | |
23 | + 'BLOCK_BAME.standard.required': 'Please enter a metric', | |
24 | 24 | |
25 | - 'form.get-captcha': 'Get Captcha', | |
26 | - 'form.captcha.second': 'sec', | |
27 | - 'form.optional': ' (optional) ', | |
28 | - 'form.submit': 'Submit', | |
29 | - 'form.save': 'Save', | |
30 | - 'form.email.placeholder': 'Email', | |
31 | - 'form.password.placeholder': 'Password', | |
32 | - 'form.confirm-password.placeholder': 'Confirm password', | |
33 | - 'form.phone-number.placeholder': 'Phone number', | |
34 | - 'form.verification-code.placeholder': 'Verification code', | |
35 | - 'form.title.label': 'Title', | |
36 | - 'form.title.placeholder': 'Give the target a name', | |
37 | - 'form.date.label': 'Start and end date', | |
38 | - 'form.date.placeholder.start': 'Start date', | |
39 | - 'form.date.placeholder.end': 'End date', | |
40 | - 'form.goal.label': 'Goal description', | |
41 | - 'form.goal.placeholder': 'Please enter your work goals', | |
42 | - 'form.standard.label': 'Metrics', | |
43 | - 'form.standard.placeholder': 'Please enter a metric', | |
44 | - 'form.client.label': 'Client', | |
45 | - 'form.client.label.tooltip': 'Target service object', | |
46 | - 'form.client.placeholder': | |
25 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
26 | + 'BLOCK_BAME.captcha.second': 'sec', | |
27 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
28 | + 'BLOCK_BAME.form.submit': 'Submit', | |
29 | + 'BLOCK_BAME.form.save': 'Save', | |
30 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
31 | + 'BLOCK_BAME.password.placeholder': 'Password', | |
32 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirm password', | |
33 | + 'BLOCK_BAME.phone-number.placeholder': 'Phone number', | |
34 | + 'BLOCK_BAME.verification-code.placeholder': 'Verification code', | |
35 | + 'BLOCK_BAME.title.label': 'Title', | |
36 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
37 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
38 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
39 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
40 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
41 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
42 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
43 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
44 | + 'BLOCK_BAME.client.label': 'Client', | |
45 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
46 | + 'BLOCK_BAME.client.placeholder': | |
47 | 47 | 'Please describe your customer service, internal customers directly @ Name / job number', |
48 | - 'form.invites.label': 'Inviting critics', | |
49 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | - 'form.weight.label': 'Weight', | |
51 | - 'form.weight.placeholder': 'Please enter weight', | |
52 | - 'form.public.label': 'Target disclosure', | |
53 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
54 | - 'form.public.radio.public': 'Public', | |
55 | - 'form.public.radio.partially-public': 'Partially public', | |
56 | - 'form.public.radio.private': 'Private', | |
57 | - 'form.publicUsers.placeholder': 'Open to', | |
58 | - 'form.publicUsers.option.A': 'Colleague A', | |
59 | - 'form.publicUsers.option.B': 'Colleague B', | |
60 | - 'form.publicUsers.option.C': 'Colleague C', | |
48 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
49 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
50 | + 'BLOCK_BAME.weight.label': 'Weight', | |
51 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
52 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
53 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
54 | + 'BLOCK_BAME.radio.public': 'Public', | |
55 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
56 | + 'BLOCK_BAME.radio.private': 'Private', | |
57 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
58 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
59 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
60 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
61 | 61 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': 'Basic form', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': 'Basic form', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | 'Form pages are used to collect or verify information to users, and basic forms are common in scenarios where there are fewer data items.', |
5 | 5 | |
6 | - 'validation.email.required': 'Por favor insira seu email!', | |
7 | - 'validation.email.wrong-format': 'O email está errado!', | |
8 | - 'validation.userName.required': 'Por favor insira nome de usuário!', | |
9 | - 'validation.password.required': 'Por favor insira sua senha!', | |
10 | - 'validation.password.twice': 'As senhas não estão iguais!', | |
11 | - 'validation.password.strength.msg': | |
6 | + 'BLOCK_BAME.email.required': 'Por favor insira seu email!', | |
7 | + 'BLOCK_BAME.email.wrong-format': 'O email está errado!', | |
8 | + 'BLOCK_BAME.userName.required': 'Por favor insira nome de usuário!', | |
9 | + 'BLOCK_BAME.password.required': 'Por favor insira sua senha!', | |
10 | + 'BLOCK_BAME.password.twice': 'As senhas não estão iguais!', | |
11 | + 'BLOCK_BAME.strength.msg': | |
12 | 12 | 'Por favor insira pelo menos 6 caracteres e não use senhas fáceis de adivinhar.', |
13 | - 'validation.password.strength.strong': 'Força: forte', | |
14 | - 'validation.password.strength.medium': 'Força: média', | |
15 | - 'validation.password.strength.short': 'Força: curta', | |
16 | - 'validation.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | - 'validation.phone-number.required': 'Por favor insira seu telefone!', | |
18 | - 'validation.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | - 'validation.verification-code.required': 'Por favor insira seu código de verificação!', | |
13 | + 'BLOCK_BAME.strength.strong': 'Força: forte', | |
14 | + 'BLOCK_BAME.strength.medium': 'Força: média', | |
15 | + 'BLOCK_BAME.strength.short': 'Força: curta', | |
16 | + 'BLOCK_BAME.confirm-password.required': 'Por favor confirme sua senha!', | |
17 | + 'BLOCK_BAME.phone-number.required': 'Por favor insira seu telefone!', | |
18 | + 'BLOCK_BAME.phone-number.wrong-format': 'Formato de telefone errado!', | |
19 | + 'BLOCK_BAME.verification-code.required': 'Por favor insira seu código de verificação!', | |
20 | 20 | |
21 | - 'form.get-captcha': 'Get Captcha', | |
22 | - 'form.captcha.second': 'sec', | |
23 | - 'form.email.placeholder': 'Email', | |
24 | - 'form.password.placeholder': 'Senha', | |
25 | - 'form.confirm-password.placeholder': 'Confirme a senha', | |
26 | - 'form.phone-number.placeholder': 'Telefone', | |
27 | - 'form.verification-code.placeholder': 'Código de verificação', | |
28 | - 'form.optional': ' (optional) ', | |
29 | - 'form.submit': 'Submit', | |
30 | - 'form.save': 'Save', | |
31 | - 'form.title.label': 'Title', | |
32 | - 'form.title.placeholder': 'Give the target a name', | |
33 | - 'form.date.label': 'Start and end date', | |
34 | - 'form.date.placeholder.start': 'Start date', | |
35 | - 'form.date.placeholder.end': 'End date', | |
36 | - 'form.goal.label': 'Goal description', | |
37 | - 'form.goal.placeholder': 'Please enter your work goals', | |
38 | - 'form.standard.label': 'Metrics', | |
39 | - 'form.standard.placeholder': 'Please enter a metric', | |
40 | - 'form.client.label': 'Client', | |
41 | - 'form.client.label.tooltip': 'Target service object', | |
42 | - 'form.client.placeholder': | |
21 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
22 | + 'BLOCK_BAME.captcha.second': 'sec', | |
23 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
24 | + 'BLOCK_BAME.password.placeholder': 'Senha', | |
25 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirme a senha', | |
26 | + 'BLOCK_BAME.phone-number.placeholder': 'Telefone', | |
27 | + 'BLOCK_BAME.verification-code.placeholder': 'Código de verificação', | |
28 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
29 | + 'BLOCK_BAME.form.submit': 'Submit', | |
30 | + 'BLOCK_BAME.form.save': 'Save', | |
31 | + 'BLOCK_BAME.title.label': 'Title', | |
32 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
33 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
34 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
35 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
36 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
37 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
38 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
39 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
40 | + 'BLOCK_BAME.client.label': 'Client', | |
41 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
42 | + 'BLOCK_BAME.client.placeholder': | |
43 | 43 | 'Please describe your customer service, internal customers directly @ Name / job number', |
44 | - 'form.invites.label': 'Inviting critics', | |
45 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | - 'form.weight.label': 'Weight', | |
47 | - 'form.weight.placeholder': 'Please enter weight', | |
48 | - 'form.public.label': 'Target disclosure', | |
49 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
50 | - 'form.public.radio.public': 'Public', | |
51 | - 'form.public.radio.partially-public': 'Partially public', | |
52 | - 'form.public.radio.private': 'Private', | |
53 | - 'form.publicUsers.placeholder': 'Open to', | |
54 | - 'form.publicUsers.option.A': 'Colleague A', | |
55 | - 'form.publicUsers.option.B': 'Colleague B', | |
56 | - 'form.publicUsers.option.C': 'Colleague C', | |
44 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
45 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
46 | + 'BLOCK_BAME.weight.label': 'Weight', | |
47 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
48 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
49 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
50 | + 'BLOCK_BAME.radio.public': 'Public', | |
51 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
52 | + 'BLOCK_BAME.radio.private': 'Private', | |
53 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
54 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
55 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
56 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
57 | 57 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基础表单', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基础表单', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表单页用于向用户收集或验证信息,基础表单常见于数据项较少的表单场景。', |
5 | 5 | |
6 | - 'validation.email.required': '请输入邮箱地址!', | |
7 | - 'validation.email.wrong-format': '邮箱地址格式错误!', | |
8 | - 'validation.userName.required': '请输入用户名!', | |
9 | - 'validation.password.required': '请输入密码!', | |
10 | - 'validation.password.twice': '两次输入的密码不匹配!', | |
11 | - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | - 'validation.password.strength.strong': '强度:强', | |
13 | - 'validation.password.strength.medium': '强度:中', | |
14 | - 'validation.password.strength.short': '强度:太短', | |
15 | - 'validation.confirm-password.required': '请确认密码!', | |
16 | - 'validation.phone-number.required': '请输入手机号!', | |
17 | - 'validation.phone-number.wrong-format': '手机号格式错误!', | |
18 | - 'validation.verification-code.required': '请输入验证码!', | |
19 | - 'validation.title.required': '请输入标题', | |
20 | - 'validation.date.required': '请选择起止日期', | |
21 | - 'validation.goal.required': '请输入目标描述', | |
22 | - 'validation.standard.required': '请输入衡量标准', | |
6 | + 'BLOCK_BAME.email.required': '请输入邮箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '邮箱地址格式错误!', | |
8 | + 'BLOCK_BAME.userName.required': '请输入用户名!', | |
9 | + 'BLOCK_BAME.password.required': '请输入密码!', | |
10 | + 'BLOCK_BAME.password.twice': '两次输入的密码不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
12 | + 'BLOCK_BAME.strength.strong': '强度:强', | |
13 | + 'BLOCK_BAME.strength.medium': '强度:中', | |
14 | + 'BLOCK_BAME.strength.short': '强度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '请确认密码!', | |
16 | + 'BLOCK_BAME.phone-number.required': '请输入手机号!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手机号格式错误!', | |
18 | + 'BLOCK_BAME.verification-code.required': '请输入验证码!', | |
19 | + 'BLOCK_BAME.title.required': '请输入标题', | |
20 | + 'BLOCK_BAME.date.required': '请选择起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '请输入目标描述', | |
22 | + 'BLOCK_BAME.standard.required': '请输入衡量标准', | |
23 | 23 | |
24 | - 'form.get-captcha': '获取验证码', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(选填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '邮箱', | |
30 | - 'form.password.placeholder': '至少6位密码,区分大小写', | |
31 | - 'form.confirm-password.placeholder': '确认密码', | |
32 | - 'form.phone-number.placeholder': '手机号', | |
33 | - 'form.verification-code.placeholder': '验证码', | |
34 | - 'form.title.label': '标题', | |
35 | - 'form.title.placeholder': '给目标起个名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '开始日期', | |
38 | - 'form.date.placeholder.end': '结束日期', | |
39 | - 'form.goal.label': '目标描述', | |
40 | - 'form.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | - 'form.standard.label': '衡量标准', | |
42 | - 'form.standard.placeholder': '请输入衡量标准', | |
43 | - 'form.client.label': '客户', | |
44 | - 'form.client.label.tooltip': '目标的服务对象', | |
45 | - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | - 'form.invites.label': '邀评人', | |
47 | - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | - 'form.weight.label': '权重', | |
49 | - 'form.weight.placeholder': '请输入', | |
50 | - 'form.public.label': '目标公开', | |
51 | - 'form.public.label.help': '客户、邀评人默认被分享', | |
52 | - 'form.public.radio.public': '公开', | |
53 | - 'form.public.radio.partially-public': '部分公开', | |
54 | - 'form.public.radio.private': '不公开', | |
55 | - 'form.publicUsers.placeholder': '公开给', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '获取验证码', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(选填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '邮箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密码,区分大小写', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '确认密码', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手机号', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '验证码', | |
34 | + 'BLOCK_BAME.title.label': '标题', | |
35 | + 'BLOCK_BAME.title.placeholder': '给目标起个名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '开始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '结束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目标描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '请输入你的阶段性工作目标', | |
41 | + 'BLOCK_BAME.standard.label': '衡量标准', | |
42 | + 'BLOCK_BAME.standard.placeholder': '请输入衡量标准', | |
43 | + 'BLOCK_BAME.client.label': '客户', | |
44 | + 'BLOCK_BAME.label.tooltip': '目标的服务对象', | |
45 | + 'BLOCK_BAME.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
46 | + 'BLOCK_BAME.invites.label': '邀评人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '权重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '请输入', | |
50 | + 'BLOCK_BAME.public.label': '目标公开', | |
51 | + 'BLOCK_BAME.label.help': '客户、邀评人默认被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公开', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公开', | |
54 | + 'BLOCK_BAME.radio.private': '不公开', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公开给', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.forms.basic.title': '基礎表單', | |
3 | - 'app.forms.basic.description': | |
2 | + 'BLOCK_BAME.basic.title': '基礎表單', | |
3 | + 'BLOCK_BAME.basic.description': | |
4 | 4 | '表單頁用於向用戶收集或驗證信息,基礎表單常見於數據項較少的表單場景。', |
5 | 5 | |
6 | - 'validation.email.required': '請輸入郵箱地址!', | |
7 | - 'validation.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | - 'validation.userName.required': '請輸入賬戶!', | |
9 | - 'validation.password.required': '請輸入密碼!', | |
10 | - 'validation.password.twice': '兩次輸入的密碼不匹配!', | |
11 | - 'validation.password.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | - 'validation.password.strength.strong': '強度:強', | |
13 | - 'validation.password.strength.medium': '強度:中', | |
14 | - 'validation.password.strength.short': '強度:太短', | |
15 | - 'validation.confirm-password.required': '請確認密碼!', | |
16 | - 'validation.phone-number.required': '請輸入手機號!', | |
17 | - 'validation.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | - 'validation.verification-code.required': '請輸入驗證碼!', | |
19 | - 'validation.title.required': '請輸入標題', | |
20 | - 'validation.date.required': '請選擇起止日期', | |
21 | - 'validation.goal.required': '請輸入目標描述', | |
22 | - 'validation.standard.required': '請輸入衡量標淮', | |
6 | + 'BLOCK_BAME.email.required': '請輸入郵箱地址!', | |
7 | + 'BLOCK_BAME.email.wrong-format': '郵箱地址格式錯誤!', | |
8 | + 'BLOCK_BAME.userName.required': '請輸入賬戶!', | |
9 | + 'BLOCK_BAME.password.required': '請輸入密碼!', | |
10 | + 'BLOCK_BAME.password.twice': '兩次輸入的密碼不匹配!', | |
11 | + 'BLOCK_BAME.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
12 | + 'BLOCK_BAME.strength.strong': '強度:強', | |
13 | + 'BLOCK_BAME.strength.medium': '強度:中', | |
14 | + 'BLOCK_BAME.strength.short': '強度:太短', | |
15 | + 'BLOCK_BAME.confirm-password.required': '請確認密碼!', | |
16 | + 'BLOCK_BAME.phone-number.required': '請輸入手機號!', | |
17 | + 'BLOCK_BAME.phone-number.wrong-format': '手機號格式錯誤!', | |
18 | + 'BLOCK_BAME.verification-code.required': '請輸入驗證碼!', | |
19 | + 'BLOCK_BAME.title.required': '請輸入標題', | |
20 | + 'BLOCK_BAME.date.required': '請選擇起止日期', | |
21 | + 'BLOCK_BAME.goal.required': '請輸入目標描述', | |
22 | + 'BLOCK_BAME.standard.required': '請輸入衡量標淮', | |
23 | 23 | |
24 | - 'form.get-captcha': '獲取驗證碼', | |
25 | - 'form.captcha.second': '秒', | |
26 | - 'form.optional': '(選填)', | |
27 | - 'form.submit': '提交', | |
28 | - 'form.save': '保存', | |
29 | - 'form.email.placeholder': '郵箱', | |
30 | - 'form.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | - 'form.confirm-password.placeholder': '確認密碼', | |
32 | - 'form.phone-number.placeholder': '手機號', | |
33 | - 'form.verification-code.placeholder': '驗證碼', | |
34 | - 'form.title.label': '標題', | |
35 | - 'form.title.placeholder': '給目標起個名字', | |
36 | - 'form.date.label': '起止日期', | |
37 | - 'form.date.placeholder.start': '開始日期', | |
38 | - 'form.date.placeholder.end': '結束日期', | |
39 | - 'form.goal.label': '目標描述', | |
40 | - 'form.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | - 'form.standard.label': '衡量標淮', | |
42 | - 'form.standard.placeholder': '請輸入衡量標淮', | |
43 | - 'form.client.label': '客戶', | |
44 | - 'form.client.label.tooltip': '目標的服務對象', | |
45 | - 'form.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | - 'form.invites.label': '邀評人', | |
47 | - 'form.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | - 'form.weight.label': '權重', | |
49 | - 'form.weight.placeholder': '請輸入', | |
50 | - 'form.public.label': '目標公開', | |
51 | - 'form.public.label.help': '客戶、邀評人默認被分享', | |
52 | - 'form.public.radio.public': '公開', | |
53 | - 'form.public.radio.partially-public': '部分公開', | |
54 | - 'form.public.radio.private': '不公開', | |
55 | - 'form.publicUsers.placeholder': '公開給', | |
56 | - 'form.publicUsers.option.A': '同事甲', | |
57 | - 'form.publicUsers.option.B': '同事乙', | |
58 | - 'form.publicUsers.option.C': '同事丙', | |
24 | + 'BLOCK_BAME.form.get-captcha': '獲取驗證碼', | |
25 | + 'BLOCK_BAME.captcha.second': '秒', | |
26 | + 'BLOCK_BAME.form.optional': '(選填)', | |
27 | + 'BLOCK_BAME.form.submit': '提交', | |
28 | + 'BLOCK_BAME.form.save': '保存', | |
29 | + 'BLOCK_BAME.email.placeholder': '郵箱', | |
30 | + 'BLOCK_BAME.password.placeholder': '至少6位密碼,區分大小寫', | |
31 | + 'BLOCK_BAME.confirm-password.placeholder': '確認密碼', | |
32 | + 'BLOCK_BAME.phone-number.placeholder': '手機號', | |
33 | + 'BLOCK_BAME.verification-code.placeholder': '驗證碼', | |
34 | + 'BLOCK_BAME.title.label': '標題', | |
35 | + 'BLOCK_BAME.title.placeholder': '給目標起個名字', | |
36 | + 'BLOCK_BAME.date.label': '起止日期', | |
37 | + 'BLOCK_BAME.placeholder.start': '開始日期', | |
38 | + 'BLOCK_BAME.placeholder.end': '結束日期', | |
39 | + 'BLOCK_BAME.goal.label': '目標描述', | |
40 | + 'BLOCK_BAME.goal.placeholder': '請輸入妳的階段性工作目標', | |
41 | + 'BLOCK_BAME.standard.label': '衡量標淮', | |
42 | + 'BLOCK_BAME.standard.placeholder': '請輸入衡量標淮', | |
43 | + 'BLOCK_BAME.client.label': '客戶', | |
44 | + 'BLOCK_BAME.label.tooltip': '目標的服務對象', | |
45 | + 'BLOCK_BAME.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
46 | + 'BLOCK_BAME.invites.label': '邀評人', | |
47 | + 'BLOCK_BAME.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
48 | + 'BLOCK_BAME.weight.label': '權重', | |
49 | + 'BLOCK_BAME.weight.placeholder': '請輸入', | |
50 | + 'BLOCK_BAME.public.label': '目標公開', | |
51 | + 'BLOCK_BAME.label.help': '客戶、邀評人默認被分享', | |
52 | + 'BLOCK_BAME.radio.public': '公開', | |
53 | + 'BLOCK_BAME.radio.partially-public': '部分公開', | |
54 | + 'BLOCK_BAME.radio.private': '不公開', | |
55 | + 'BLOCK_BAME.publicUsers.placeholder': '公開給', | |
56 | + 'BLOCK_BAME.option.A': '同事甲', | |
57 | + 'BLOCK_BAME.option.B': '同事乙', | |
58 | + 'BLOCK_BAME.option.C': '同事丙', | |
59 | 59 | }; | ... | ... |
... | ... | @@ -77,87 +77,87 @@ class LoginPage extends Component { |
77 | 77 | this.loginForm = form; |
78 | 78 | }} |
79 | 79 | > |
80 | - <Tab key="account" tab={formatMessage({ id: 'app.login.tab-login-credentials' })}> | |
80 | + <Tab key="account" tab={formatMessage({ id: 'BLOCK_BAME.login.tab-login-credentials' })}> | |
81 | 81 | {status === 'error' && |
82 | 82 | loginType === 'account' && |
83 | 83 | !submitting && |
84 | - this.renderMessage(formatMessage({ id: 'app.login.message-invalid-credentials' }))} | |
84 | + this.renderMessage(formatMessage({ id: 'BLOCK_BAME.login.message-invalid-credentials' }))} | |
85 | 85 | <UserName |
86 | 86 | name="userName" |
87 | - placeholder={`${formatMessage({ id: 'app.login.userName' })}: admin or user`} | |
87 | + placeholder={`${formatMessage({ id: 'BLOCK_BAME.login.userName' })}: admin or user`} | |
88 | 88 | rules={[ |
89 | 89 | { |
90 | 90 | required: true, |
91 | - message: formatMessage({ id: 'validation.userName.required' }), | |
91 | + message: formatMessage({ id: 'BLOCK_BAME.userName.required' }), | |
92 | 92 | }, |
93 | 93 | ]} |
94 | 94 | /> |
95 | 95 | <Password |
96 | 96 | name="password" |
97 | - placeholder={`${formatMessage({ id: 'app.login.password' })}: ant.design`} | |
97 | + placeholder={`${formatMessage({ id: 'BLOCK_BAME.login.password' })}: ant.design`} | |
98 | 98 | rules={[ |
99 | 99 | { |
100 | 100 | required: true, |
101 | - message: formatMessage({ id: 'validation.password.required' }), | |
101 | + message: formatMessage({ id: 'BLOCK_BAME.password.required' }), | |
102 | 102 | }, |
103 | 103 | ]} |
104 | 104 | onPressEnter={() => this.loginForm.validateFields(this.handleSubmit)} |
105 | 105 | /> |
106 | 106 | </Tab> |
107 | - <Tab key="mobile" tab={formatMessage({ id: 'app.login.tab-login-mobile' })}> | |
107 | + <Tab key="mobile" tab={formatMessage({ id: 'BLOCK_BAME.login.tab-login-mobile' })}> | |
108 | 108 | {status === 'error' && |
109 | 109 | loginType === 'mobile' && |
110 | 110 | !submitting && |
111 | 111 | this.renderMessage( |
112 | - formatMessage({ id: 'app.login.message-invalid-verification-code' }) | |
112 | + formatMessage({ id: 'BLOCK_BAME.login.message-invalid-verification-code' }) | |
113 | 113 | )} |
114 | 114 | <Mobile |
115 | 115 | name="mobile" |
116 | - placeholder={formatMessage({ id: 'form.phone-number.placeholder' })} | |
116 | + placeholder={formatMessage({ id: 'BLOCK_BAME.phone-number.placeholder' })} | |
117 | 117 | rules={[ |
118 | 118 | { |
119 | 119 | required: true, |
120 | - message: formatMessage({ id: 'validation.phone-number.required' }), | |
120 | + message: formatMessage({ id: 'BLOCK_BAME.phone-number.required' }), | |
121 | 121 | }, |
122 | 122 | { |
123 | 123 | pattern: /^1\d{10}$/, |
124 | - message: formatMessage({ id: 'validation.phone-number.wrong-format' }), | |
124 | + message: formatMessage({ id: 'BLOCK_BAME.phone-number.wrong-format' }), | |
125 | 125 | }, |
126 | 126 | ]} |
127 | 127 | /> |
128 | 128 | <Captcha |
129 | 129 | name="captcha" |
130 | - placeholder={formatMessage({ id: 'form.verification-code.placeholder' })} | |
130 | + placeholder={formatMessage({ id: 'BLOCK_BAME.verification-code.placeholder' })} | |
131 | 131 | countDown={120} |
132 | 132 | onGetCaptcha={this.onGetCaptcha} |
133 | - getCaptchaButtonText={formatMessage({ id: 'form.get-captcha' })} | |
134 | - getCaptchaSecondText={formatMessage({ id: 'form.captcha.second' })} | |
133 | + getCaptchaButtonText={formatMessage({ id: 'BLOCK_BAME.form.get-captcha' })} | |
134 | + getCaptchaSecondText={formatMessage({ id: 'BLOCK_BAME.captcha.second' })} | |
135 | 135 | rules={[ |
136 | 136 | { |
137 | 137 | required: true, |
138 | - message: formatMessage({ id: 'validation.verification-code.required' }), | |
138 | + message: formatMessage({ id: 'BLOCK_BAME.verification-code.required' }), | |
139 | 139 | }, |
140 | 140 | ]} |
141 | 141 | /> |
142 | 142 | </Tab> |
143 | 143 | <div> |
144 | 144 | <Checkbox checked={autoLogin} onChange={this.changeAutoLogin}> |
145 | - <FormattedMessage id="app.login.remember-me" /> | |
145 | + <FormattedMessage id="BLOCK_BAME.login.remember-me" /> | |
146 | 146 | </Checkbox> |
147 | 147 | <a style={{ float: 'right' }} href=""> |
148 | - <FormattedMessage id="app.login.forgot-password" /> | |
148 | + <FormattedMessage id="BLOCK_BAME.login.forgot-password" /> | |
149 | 149 | </a> |
150 | 150 | </div> |
151 | 151 | <Submit loading={submitting}> |
152 | - <FormattedMessage id="app.login.login" /> | |
152 | + <FormattedMessage id="BLOCK_BAME.login.login" /> | |
153 | 153 | </Submit> |
154 | 154 | <div className={styles.other}> |
155 | - <FormattedMessage id="app.login.sign-in-with" /> | |
155 | + <FormattedMessage id="BLOCK_BAME.login.sign-in-with" /> | |
156 | 156 | <Icon type="alipay-circle" className={styles.icon} theme="outlined" /> |
157 | 157 | <Icon type="taobao-circle" className={styles.icon} theme="outlined" /> |
158 | 158 | <Icon type="weibo-circle" className={styles.icon} theme="outlined" /> |
159 | 159 | <Link className={styles.register} to="/user/register"> |
160 | - <FormattedMessage id="app.login.signup" /> | |
160 | + <FormattedMessage id="BLOCK_BAME.login.signup" /> | |
161 | 161 | </Link> |
162 | 162 | </div> |
163 | 163 | </Login> | ... | ... |
1 | 1 | export default { |
2 | - 'app.login.userName': 'userName', | |
3 | - 'app.login.password': 'password', | |
4 | - 'app.login.message-invalid-credentials': 'Invalid username or password(admin/ant.design)', | |
5 | - 'app.login.message-invalid-verification-code': 'Invalid verification code', | |
6 | - 'app.login.tab-login-credentials': 'Credentials', | |
7 | - 'app.login.tab-login-mobile': 'Mobile number', | |
8 | - 'app.login.remember-me': 'Remember me', | |
9 | - 'app.login.forgot-password': 'Forgot your password?', | |
10 | - 'app.login.sign-in-with': 'Sign in with', | |
11 | - 'app.login.signup': 'Sign up', | |
12 | - 'app.login.login': 'Login', | |
13 | - 'app.register.register': 'Register', | |
14 | - 'app.register.get-verification-code': 'Get code', | |
15 | - 'app.register.sign-in': 'Already have an account?', | |
16 | - 'app.register-result.msg': 'Account:registered at {email}', | |
17 | - 'app.register-result.activation-email': | |
2 | + 'BLOCK_BAME.login.userName': 'userName', | |
3 | + 'BLOCK_BAME.login.password': 'password', | |
4 | + 'BLOCK_BAME.login.message-invalid-credentials': 'Invalid username or password(admin/ant.design)', | |
5 | + 'BLOCK_BAME.login.message-invalid-verification-code': 'Invalid verification code', | |
6 | + 'BLOCK_BAME.login.tab-login-credentials': 'Credentials', | |
7 | + 'BLOCK_BAME.login.tab-login-mobile': 'Mobile number', | |
8 | + 'BLOCK_BAME.login.remember-me': 'Remember me', | |
9 | + 'BLOCK_BAME.login.forgot-password': 'Forgot your password?', | |
10 | + 'BLOCK_BAME.login.sign-in-with': 'Sign in with', | |
11 | + 'BLOCK_BAME.login.signup': 'Sign up', | |
12 | + 'BLOCK_BAME.login.login': 'Login', | |
13 | + 'BLOCK_BAME.register.register': 'Register', | |
14 | + 'BLOCK_BAME.register.get-verification-code': 'Get code', | |
15 | + 'BLOCK_BAME.register.sign-in': 'Already have an account?', | |
16 | + 'BLOCK_BAME.register-result.msg': 'Account:registered at {email}', | |
17 | + 'BLOCK_BAME.register-result.activation-email': | |
18 | 18 | 'The activation email has been sent to your email address and is valid for 24 hours. Please log in to the email in time and click on the link in the email to activate the account.', |
19 | - 'app.register-result.back-home': 'Back to home', | |
20 | - 'app.register-result.view-mailbox': 'View mailbox', | |
21 | - 'validation.email.required': 'Please enter your email!', | |
22 | - 'validation.email.wrong-format': 'The email address is in the wrong format!', | |
23 | - 'validation.userName.required': 'Please enter your userName!', | |
24 | - 'validation.password.required': 'Please enter your password!', | |
25 | - 'validation.password.twice': 'The passwords entered twice do not match!', | |
26 | - 'validation.password.strength.msg': | |
19 | + 'BLOCK_BAME.register-result.back-home': 'Back to home', | |
20 | + 'BLOCK_BAME.register-result.view-mailbox': 'View mailbox', | |
21 | + 'BLOCK_BAME.email.required': 'Please enter your email!', | |
22 | + 'BLOCK_BAME.email.wrong-format': 'The email address is in the wrong format!', | |
23 | + 'BLOCK_BAME.userName.required': 'Please enter your userName!', | |
24 | + 'BLOCK_BAME.password.required': 'Please enter your password!', | |
25 | + 'BLOCK_BAME.password.twice': 'The passwords entered twice do not match!', | |
26 | + 'BLOCK_BAME.strength.msg': | |
27 | 27 | "Please enter at least 6 characters and don't use passwords that are easy to guess.", |
28 | - 'validation.password.strength.strong': 'Strength: strong', | |
29 | - 'validation.password.strength.medium': 'Strength: medium', | |
30 | - 'validation.password.strength.short': 'Strength: too short', | |
31 | - 'validation.confirm-password.required': 'Please confirm your password!', | |
32 | - 'validation.phone-number.required': 'Please enter your phone number!', | |
33 | - 'validation.phone-number.wrong-format': 'Malformed phone number!', | |
34 | - 'validation.verification-code.required': 'Please enter the verification code!', | |
35 | - 'validation.title.required': 'Please enter a title', | |
36 | - 'validation.date.required': 'Please select the start and end date', | |
37 | - 'validation.goal.required': 'Please enter a description of the goal', | |
38 | - 'validation.standard.required': 'Please enter a metric', | |
39 | - 'form.get-captcha': 'Get Captcha', | |
40 | - 'form.captcha.second': 'sec', | |
41 | - 'form.optional': ' (optional) ', | |
42 | - 'form.submit': 'Submit', | |
43 | - 'form.save': 'Save', | |
44 | - 'form.email.placeholder': 'Email', | |
45 | - 'form.password.placeholder': 'Password', | |
46 | - 'form.confirm-password.placeholder': 'Confirm password', | |
47 | - 'form.phone-number.placeholder': 'Phone number', | |
48 | - 'form.verification-code.placeholder': 'Verification code', | |
49 | - 'form.title.label': 'Title', | |
50 | - 'form.title.placeholder': 'Give the target a name', | |
51 | - 'form.date.label': 'Start and end date', | |
52 | - 'form.date.placeholder.start': 'Start date', | |
53 | - 'form.date.placeholder.end': 'End date', | |
54 | - 'form.goal.label': 'Goal description', | |
55 | - 'form.goal.placeholder': 'Please enter your work goals', | |
56 | - 'form.standard.label': 'Metrics', | |
57 | - 'form.standard.placeholder': 'Please enter a metric', | |
58 | - 'form.client.label': 'Client', | |
59 | - 'form.client.label.tooltip': 'Target service object', | |
60 | - 'form.client.placeholder': | |
28 | + 'BLOCK_BAME.strength.strong': 'Strength: strong', | |
29 | + 'BLOCK_BAME.strength.medium': 'Strength: medium', | |
30 | + 'BLOCK_BAME.strength.short': 'Strength: too short', | |
31 | + 'BLOCK_BAME.confirm-password.required': 'Please confirm your password!', | |
32 | + 'BLOCK_BAME.phone-number.required': 'Please enter your phone number!', | |
33 | + 'BLOCK_BAME.phone-number.wrong-format': 'Malformed phone number!', | |
34 | + 'BLOCK_BAME.verification-code.required': 'Please enter the verification code!', | |
35 | + 'BLOCK_BAME.title.required': 'Please enter a title', | |
36 | + 'BLOCK_BAME.date.required': 'Please select the start and end date', | |
37 | + 'BLOCK_BAME.goal.required': 'Please enter a description of the goal', | |
38 | + 'BLOCK_BAME.standard.required': 'Please enter a metric', | |
39 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
40 | + 'BLOCK_BAME.captcha.second': 'sec', | |
41 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
42 | + 'BLOCK_BAME.form.submit': 'Submit', | |
43 | + 'BLOCK_BAME.form.save': 'Save', | |
44 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
45 | + 'BLOCK_BAME.password.placeholder': 'Password', | |
46 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirm password', | |
47 | + 'BLOCK_BAME.phone-number.placeholder': 'Phone number', | |
48 | + 'BLOCK_BAME.verification-code.placeholder': 'Verification code', | |
49 | + 'BLOCK_BAME.title.label': 'Title', | |
50 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
51 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
52 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
53 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
54 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
55 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
56 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
57 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
58 | + 'BLOCK_BAME.client.label': 'Client', | |
59 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
60 | + 'BLOCK_BAME.client.placeholder': | |
61 | 61 | 'Please describe your customer service, internal customers directly @ Name / job number', |
62 | - 'form.invites.label': 'Inviting critics', | |
63 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
64 | - 'form.weight.label': 'Weight', | |
65 | - 'form.weight.placeholder': 'Please enter weight', | |
66 | - 'form.public.label': 'Target disclosure', | |
67 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
68 | - 'form.public.radio.public': 'Public', | |
69 | - 'form.public.radio.partially-public': 'Partially public', | |
70 | - 'form.public.radio.private': 'Private', | |
71 | - 'form.publicUsers.placeholder': 'Open to', | |
72 | - 'form.publicUsers.option.A': 'Colleague A', | |
73 | - 'form.publicUsers.option.B': 'Colleague B', | |
74 | - 'form.publicUsers.option.C': 'Colleague C', | |
75 | - 'navBar.lang': 'Languages', | |
62 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
63 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
64 | + 'BLOCK_BAME.weight.label': 'Weight', | |
65 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
66 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
67 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
68 | + 'BLOCK_BAME.radio.public': 'Public', | |
69 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
70 | + 'BLOCK_BAME.radio.private': 'Private', | |
71 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
72 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
73 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
74 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
75 | + 'BLOCK_BAME.navBar.lang': 'Languages', | |
76 | 76 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.login.userName': '用户名', | |
3 | - 'app.login.password': '密码', | |
4 | - 'app.login.message-invalid-credentials': '账户或密码错误(admin/ant.design)', | |
5 | - 'app.login.message-invalid-verification-code': '验证码错误', | |
6 | - 'app.login.tab-login-credentials': '账户密码登录', | |
7 | - 'app.login.tab-login-mobile': '手机号登录', | |
8 | - 'app.login.remember-me': '自动登录', | |
9 | - 'app.login.forgot-password': '忘记密码', | |
10 | - 'app.login.sign-in-with': '其他登录方式', | |
11 | - 'app.login.signup': '注册账户', | |
12 | - 'app.login.login': '登录', | |
13 | - 'app.register.register': '注册', | |
14 | - 'app.register.get-verification-code': '获取验证码', | |
15 | - 'app.register.sign-in': '使用已有账户登录', | |
16 | - 'app.register-result.msg': '你的账户:{email} 注册成功', | |
17 | - 'app.register-result.activation-email': | |
2 | + 'BLOCK_BAME.login.userName': '用户名', | |
3 | + 'BLOCK_BAME.login.password': '密码', | |
4 | + 'BLOCK_BAME.login.message-invalid-credentials': '账户或密码错误(admin/ant.design)', | |
5 | + 'BLOCK_BAME.login.message-invalid-verification-code': '验证码错误', | |
6 | + 'BLOCK_BAME.login.tab-login-credentials': '账户密码登录', | |
7 | + 'BLOCK_BAME.login.tab-login-mobile': '手机号登录', | |
8 | + 'BLOCK_BAME.login.remember-me': '自动登录', | |
9 | + 'BLOCK_BAME.login.forgot-password': '忘记密码', | |
10 | + 'BLOCK_BAME.login.sign-in-with': '其他登录方式', | |
11 | + 'BLOCK_BAME.login.signup': '注册账户', | |
12 | + 'BLOCK_BAME.login.login': '登录', | |
13 | + 'BLOCK_BAME.register.register': '注册', | |
14 | + 'BLOCK_BAME.register.get-verification-code': '获取验证码', | |
15 | + 'BLOCK_BAME.register.sign-in': '使用已有账户登录', | |
16 | + 'BLOCK_BAME.register-result.msg': '你的账户:{email} 注册成功', | |
17 | + 'BLOCK_BAME.register-result.activation-email': | |
18 | 18 | '激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。', |
19 | - 'app.register-result.back-home': '返回首页', | |
20 | - 'app.register-result.view-mailbox': '查看邮箱', | |
21 | - 'validation.email.required': '请输入邮箱地址!', | |
22 | - 'validation.email.wrong-format': '邮箱地址格式错误!', | |
23 | - 'validation.userName.required': '请输入用户名!', | |
24 | - 'validation.password.required': '请输入密码!', | |
25 | - 'validation.password.twice': '两次输入的密码不匹配!', | |
26 | - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
27 | - 'validation.password.strength.strong': '强度:强', | |
28 | - 'validation.password.strength.medium': '强度:中', | |
29 | - 'validation.password.strength.short': '强度:太短', | |
30 | - 'validation.confirm-password.required': '请确认密码!', | |
31 | - 'validation.phone-number.required': '请输入手机号!', | |
32 | - 'validation.phone-number.wrong-format': '手机号格式错误!', | |
33 | - 'validation.verification-code.required': '请输入验证码!', | |
34 | - 'validation.title.required': '请输入标题', | |
35 | - 'validation.date.required': '请选择起止日期', | |
36 | - 'validation.goal.required': '请输入目标描述', | |
37 | - 'validation.standard.required': '请输入衡量标准', | |
38 | - 'form.get-captcha': '获取验证码', | |
39 | - 'form.captcha.second': '秒', | |
40 | - 'form.optional': '(选填)', | |
41 | - 'form.submit': '提交', | |
42 | - 'form.save': '保存', | |
43 | - 'form.email.placeholder': '邮箱', | |
44 | - 'form.password.placeholder': '至少6位密码,区分大小写', | |
45 | - 'form.confirm-password.placeholder': '确认密码', | |
46 | - 'form.phone-number.placeholder': '手机号', | |
47 | - 'form.verification-code.placeholder': '验证码', | |
48 | - 'form.title.label': '标题', | |
49 | - 'form.title.placeholder': '给目标起个名字', | |
50 | - 'form.date.label': '起止日期', | |
51 | - 'form.date.placeholder.start': '开始日期', | |
52 | - 'form.date.placeholder.end': '结束日期', | |
53 | - 'form.goal.label': '目标描述', | |
54 | - 'form.goal.placeholder': '请输入你的阶段性工作目标', | |
55 | - 'form.standard.label': '衡量标准', | |
56 | - 'form.standard.placeholder': '请输入衡量标准', | |
57 | - 'form.client.label': '客户', | |
58 | - 'form.client.label.tooltip': '目标的服务对象', | |
59 | - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
60 | - 'form.invites.label': '邀评人', | |
61 | - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
62 | - 'form.weight.label': '权重', | |
63 | - 'form.weight.placeholder': '请输入', | |
64 | - 'form.public.label': '目标公开', | |
65 | - 'form.public.label.help': '客户、邀评人默认被分享', | |
66 | - 'form.public.radio.public': '公开', | |
67 | - 'form.public.radio.partially-public': '部分公开', | |
68 | - 'form.public.radio.private': '不公开', | |
69 | - 'form.publicUsers.placeholder': '公开给', | |
70 | - 'form.publicUsers.option.A': '同事甲', | |
71 | - 'form.publicUsers.option.B': '同事乙', | |
72 | - 'form.publicUsers.option.C': '同事丙', | |
73 | - 'navBar.lang': '语言', | |
19 | + 'BLOCK_BAME.register-result.back-home': '返回首页', | |
20 | + 'BLOCK_BAME.register-result.view-mailbox': '查看邮箱', | |
21 | + 'BLOCK_BAME.email.required': '请输入邮箱地址!', | |
22 | + 'BLOCK_BAME.email.wrong-format': '邮箱地址格式错误!', | |
23 | + 'BLOCK_BAME.userName.required': '请输入用户名!', | |
24 | + 'BLOCK_BAME.password.required': '请输入密码!', | |
25 | + 'BLOCK_BAME.password.twice': '两次输入的密码不匹配!', | |
26 | + 'BLOCK_BAME.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
27 | + 'BLOCK_BAME.strength.strong': '强度:强', | |
28 | + 'BLOCK_BAME.strength.medium': '强度:中', | |
29 | + 'BLOCK_BAME.strength.short': '强度:太短', | |
30 | + 'BLOCK_BAME.confirm-password.required': '请确认密码!', | |
31 | + 'BLOCK_BAME.phone-number.required': '请输入手机号!', | |
32 | + 'BLOCK_BAME.phone-number.wrong-format': '手机号格式错误!', | |
33 | + 'BLOCK_BAME.verification-code.required': '请输入验证码!', | |
34 | + 'BLOCK_BAME.title.required': '请输入标题', | |
35 | + 'BLOCK_BAME.date.required': '请选择起止日期', | |
36 | + 'BLOCK_BAME.goal.required': '请输入目标描述', | |
37 | + 'BLOCK_BAME.standard.required': '请输入衡量标准', | |
38 | + 'BLOCK_BAME.form.get-captcha': '获取验证码', | |
39 | + 'BLOCK_BAME.captcha.second': '秒', | |
40 | + 'BLOCK_BAME.form.optional': '(选填)', | |
41 | + 'BLOCK_BAME.form.submit': '提交', | |
42 | + 'BLOCK_BAME.form.save': '保存', | |
43 | + 'BLOCK_BAME.email.placeholder': '邮箱', | |
44 | + 'BLOCK_BAME.password.placeholder': '至少6位密码,区分大小写', | |
45 | + 'BLOCK_BAME.confirm-password.placeholder': '确认密码', | |
46 | + 'BLOCK_BAME.phone-number.placeholder': '手机号', | |
47 | + 'BLOCK_BAME.verification-code.placeholder': '验证码', | |
48 | + 'BLOCK_BAME.title.label': '标题', | |
49 | + 'BLOCK_BAME.title.placeholder': '给目标起个名字', | |
50 | + 'BLOCK_BAME.date.label': '起止日期', | |
51 | + 'BLOCK_BAME.placeholder.start': '开始日期', | |
52 | + 'BLOCK_BAME.placeholder.end': '结束日期', | |
53 | + 'BLOCK_BAME.goal.label': '目标描述', | |
54 | + 'BLOCK_BAME.goal.placeholder': '请输入你的阶段性工作目标', | |
55 | + 'BLOCK_BAME.standard.label': '衡量标准', | |
56 | + 'BLOCK_BAME.standard.placeholder': '请输入衡量标准', | |
57 | + 'BLOCK_BAME.client.label': '客户', | |
58 | + 'BLOCK_BAME.label.tooltip': '目标的服务对象', | |
59 | + 'BLOCK_BAME.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
60 | + 'BLOCK_BAME.invites.label': '邀评人', | |
61 | + 'BLOCK_BAME.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
62 | + 'BLOCK_BAME.weight.label': '权重', | |
63 | + 'BLOCK_BAME.weight.placeholder': '请输入', | |
64 | + 'BLOCK_BAME.public.label': '目标公开', | |
65 | + 'BLOCK_BAME.label.help': '客户、邀评人默认被分享', | |
66 | + 'BLOCK_BAME.radio.public': '公开', | |
67 | + 'BLOCK_BAME.radio.partially-public': '部分公开', | |
68 | + 'BLOCK_BAME.radio.private': '不公开', | |
69 | + 'BLOCK_BAME.publicUsers.placeholder': '公开给', | |
70 | + 'BLOCK_BAME.option.A': '同事甲', | |
71 | + 'BLOCK_BAME.option.B': '同事乙', | |
72 | + 'BLOCK_BAME.option.C': '同事丙', | |
73 | + 'BLOCK_BAME.navBar.lang': '语言', | |
74 | 74 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.login.userName': '賬戶', | |
3 | - 'app.login.password': '密碼', | |
4 | - 'app.login.message-invalid-credentials': '賬戶或密碼錯誤(admin/ant.design)', | |
5 | - 'app.login.message-invalid-verification-code': '驗證碼錯誤', | |
6 | - 'app.login.tab-login-credentials': '賬戶密碼登錄', | |
7 | - 'app.login.tab-login-mobile': '手機號登錄', | |
8 | - 'app.login.remember-me': '自動登錄', | |
9 | - 'app.login.forgot-password': '忘記密碼', | |
10 | - 'app.login.sign-in-with': '其他登錄方式', | |
11 | - 'app.login.signup': '註冊賬戶', | |
12 | - 'app.login.login': '登錄', | |
13 | - 'app.register.register': '註冊', | |
14 | - 'app.register.get-verification-code': '獲取驗證碼', | |
15 | - 'app.register.sign-in': '使用已有賬戶登錄', | |
16 | - 'app.register-result.msg': '妳的賬戶:{email} 註冊成功', | |
17 | - 'app.register-result.activation-email': | |
2 | + 'BLOCK_BAME.login.userName': '賬戶', | |
3 | + 'BLOCK_BAME.login.password': '密碼', | |
4 | + 'BLOCK_BAME.login.message-invalid-credentials': '賬戶或密碼錯誤(admin/ant.design)', | |
5 | + 'BLOCK_BAME.login.message-invalid-verification-code': '驗證碼錯誤', | |
6 | + 'BLOCK_BAME.login.tab-login-credentials': '賬戶密碼登錄', | |
7 | + 'BLOCK_BAME.login.tab-login-mobile': '手機號登錄', | |
8 | + 'BLOCK_BAME.login.remember-me': '自動登錄', | |
9 | + 'BLOCK_BAME.login.forgot-password': '忘記密碼', | |
10 | + 'BLOCK_BAME.login.sign-in-with': '其他登錄方式', | |
11 | + 'BLOCK_BAME.login.signup': '註冊賬戶', | |
12 | + 'BLOCK_BAME.login.login': '登錄', | |
13 | + 'BLOCK_BAME.register.register': '註冊', | |
14 | + 'BLOCK_BAME.register.get-verification-code': '獲取驗證碼', | |
15 | + 'BLOCK_BAME.register.sign-in': '使用已有賬戶登錄', | |
16 | + 'BLOCK_BAME.register-result.msg': '妳的賬戶:{email} 註冊成功', | |
17 | + 'BLOCK_BAME.register-result.activation-email': | |
18 | 18 | '激活郵件已發送到妳的郵箱中,郵件有效期為24小時。請及時登錄郵箱,點擊郵件中的鏈接激活帳戶。', |
19 | - 'app.register-result.back-home': '返回首頁', | |
20 | - 'app.register-result.view-mailbox': '查看郵箱', | |
21 | - 'validation.email.required': '請輸入郵箱地址!', | |
22 | - 'validation.email.wrong-format': '郵箱地址格式錯誤!', | |
23 | - 'validation.userName.required': '請輸入賬戶!', | |
24 | - 'validation.password.required': '請輸入密碼!', | |
25 | - 'validation.password.twice': '兩次輸入的密碼不匹配!', | |
26 | - 'validation.password.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
27 | - 'validation.password.strength.strong': '強度:強', | |
28 | - 'validation.password.strength.medium': '強度:中', | |
29 | - 'validation.password.strength.short': '強度:太短', | |
30 | - 'validation.confirm-password.required': '請確認密碼!', | |
31 | - 'validation.phone-number.required': '請輸入手機號!', | |
32 | - 'validation.phone-number.wrong-format': '手機號格式錯誤!', | |
33 | - 'validation.verification-code.required': '請輸入驗證碼!', | |
34 | - 'validation.title.required': '請輸入標題', | |
35 | - 'validation.date.required': '請選擇起止日期', | |
36 | - 'validation.goal.required': '請輸入目標描述', | |
37 | - 'validation.standard.required': '請輸入衡量標淮', | |
38 | - 'form.get-captcha': '獲取驗證碼', | |
39 | - 'form.captcha.second': '秒', | |
40 | - 'form.optional': '(選填)', | |
41 | - 'form.submit': '提交', | |
42 | - 'form.save': '保存', | |
43 | - 'form.email.placeholder': '郵箱', | |
44 | - 'form.password.placeholder': '至少6位密碼,區分大小寫', | |
45 | - 'form.confirm-password.placeholder': '確認密碼', | |
46 | - 'form.phone-number.placeholder': '手機號', | |
47 | - 'form.verification-code.placeholder': '驗證碼', | |
48 | - 'form.title.label': '標題', | |
49 | - 'form.title.placeholder': '給目標起個名字', | |
50 | - 'form.date.label': '起止日期', | |
51 | - 'form.date.placeholder.start': '開始日期', | |
52 | - 'form.date.placeholder.end': '結束日期', | |
53 | - 'form.goal.label': '目標描述', | |
54 | - 'form.goal.placeholder': '請輸入妳的階段性工作目標', | |
55 | - 'form.standard.label': '衡量標淮', | |
56 | - 'form.standard.placeholder': '請輸入衡量標淮', | |
57 | - 'form.client.label': '客戶', | |
58 | - 'form.client.label.tooltip': '目標的服務對象', | |
59 | - 'form.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
60 | - 'form.invites.label': '邀評人', | |
61 | - 'form.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
62 | - 'form.weight.label': '權重', | |
63 | - 'form.weight.placeholder': '請輸入', | |
64 | - 'form.public.label': '目標公開', | |
65 | - 'form.public.label.help': '客戶、邀評人默認被分享', | |
66 | - 'form.public.radio.public': '公開', | |
67 | - 'form.public.radio.partially-public': '部分公開', | |
68 | - 'form.public.radio.private': '不公開', | |
69 | - 'form.publicUsers.placeholder': '公開給', | |
70 | - 'form.publicUsers.option.A': '同事甲', | |
71 | - 'form.publicUsers.option.B': '同事乙', | |
72 | - 'form.publicUsers.option.C': '同事丙', | |
73 | - 'navBar.lang': '語言', | |
19 | + 'BLOCK_BAME.register-result.back-home': '返回首頁', | |
20 | + 'BLOCK_BAME.register-result.view-mailbox': '查看郵箱', | |
21 | + 'BLOCK_BAME.email.required': '請輸入郵箱地址!', | |
22 | + 'BLOCK_BAME.email.wrong-format': '郵箱地址格式錯誤!', | |
23 | + 'BLOCK_BAME.userName.required': '請輸入賬戶!', | |
24 | + 'BLOCK_BAME.password.required': '請輸入密碼!', | |
25 | + 'BLOCK_BAME.password.twice': '兩次輸入的密碼不匹配!', | |
26 | + 'BLOCK_BAME.strength.msg': '請至少輸入 6 個字符。請不要使用容易被猜到的密碼。', | |
27 | + 'BLOCK_BAME.strength.strong': '強度:強', | |
28 | + 'BLOCK_BAME.strength.medium': '強度:中', | |
29 | + 'BLOCK_BAME.strength.short': '強度:太短', | |
30 | + 'BLOCK_BAME.confirm-password.required': '請確認密碼!', | |
31 | + 'BLOCK_BAME.phone-number.required': '請輸入手機號!', | |
32 | + 'BLOCK_BAME.phone-number.wrong-format': '手機號格式錯誤!', | |
33 | + 'BLOCK_BAME.verification-code.required': '請輸入驗證碼!', | |
34 | + 'BLOCK_BAME.title.required': '請輸入標題', | |
35 | + 'BLOCK_BAME.date.required': '請選擇起止日期', | |
36 | + 'BLOCK_BAME.goal.required': '請輸入目標描述', | |
37 | + 'BLOCK_BAME.standard.required': '請輸入衡量標淮', | |
38 | + 'BLOCK_BAME.form.get-captcha': '獲取驗證碼', | |
39 | + 'BLOCK_BAME.captcha.second': '秒', | |
40 | + 'BLOCK_BAME.form.optional': '(選填)', | |
41 | + 'BLOCK_BAME.form.submit': '提交', | |
42 | + 'BLOCK_BAME.form.save': '保存', | |
43 | + 'BLOCK_BAME.email.placeholder': '郵箱', | |
44 | + 'BLOCK_BAME.password.placeholder': '至少6位密碼,區分大小寫', | |
45 | + 'BLOCK_BAME.confirm-password.placeholder': '確認密碼', | |
46 | + 'BLOCK_BAME.phone-number.placeholder': '手機號', | |
47 | + 'BLOCK_BAME.verification-code.placeholder': '驗證碼', | |
48 | + 'BLOCK_BAME.title.label': '標題', | |
49 | + 'BLOCK_BAME.title.placeholder': '給目標起個名字', | |
50 | + 'BLOCK_BAME.date.label': '起止日期', | |
51 | + 'BLOCK_BAME.placeholder.start': '開始日期', | |
52 | + 'BLOCK_BAME.placeholder.end': '結束日期', | |
53 | + 'BLOCK_BAME.goal.label': '目標描述', | |
54 | + 'BLOCK_BAME.goal.placeholder': '請輸入妳的階段性工作目標', | |
55 | + 'BLOCK_BAME.standard.label': '衡量標淮', | |
56 | + 'BLOCK_BAME.standard.placeholder': '請輸入衡量標淮', | |
57 | + 'BLOCK_BAME.client.label': '客戶', | |
58 | + 'BLOCK_BAME.label.tooltip': '目標的服務對象', | |
59 | + 'BLOCK_BAME.client.placeholder': '請描述妳服務的客戶,內部客戶直接 @姓名/工號', | |
60 | + 'BLOCK_BAME.invites.label': '邀評人', | |
61 | + 'BLOCK_BAME.invites.placeholder': '請直接 @姓名/工號,最多可邀請 5 人', | |
62 | + 'BLOCK_BAME.weight.label': '權重', | |
63 | + 'BLOCK_BAME.weight.placeholder': '請輸入', | |
64 | + 'BLOCK_BAME.public.label': '目標公開', | |
65 | + 'BLOCK_BAME.label.help': '客戶、邀評人默認被分享', | |
66 | + 'BLOCK_BAME.radio.public': '公開', | |
67 | + 'BLOCK_BAME.radio.partially-public': '部分公開', | |
68 | + 'BLOCK_BAME.radio.private': '不公開', | |
69 | + 'BLOCK_BAME.publicUsers.placeholder': '公開給', | |
70 | + 'BLOCK_BAME.option.A': '同事甲', | |
71 | + 'BLOCK_BAME.option.B': '同事乙', | |
72 | + 'BLOCK_BAME.option.C': '同事丙', | |
73 | + 'BLOCK_BAME.navBar.lang': '語言', | |
74 | 74 | }; | ... | ... |
... | ... | @@ -13,17 +13,17 @@ const InputGroup = Input.Group; |
13 | 13 | const passwordStatusMap = { |
14 | 14 | ok: ( |
15 | 15 | <div className={styles.success}> |
16 | - <FormattedMessage id="validation.password.strength.strong" /> | |
16 | + <FormattedMessage id="BLOCK_BAME.strength.strong" /> | |
17 | 17 | </div> |
18 | 18 | ), |
19 | 19 | pass: ( |
20 | 20 | <div className={styles.warning}> |
21 | - <FormattedMessage id="validation.password.strength.medium" /> | |
21 | + <FormattedMessage id="BLOCK_BAME.strength.medium" /> | |
22 | 22 | </div> |
23 | 23 | ), |
24 | 24 | poor: ( |
25 | 25 | <div className={styles.error}> |
26 | - <FormattedMessage id="validation.password.strength.short" /> | |
26 | + <FormattedMessage id="BLOCK_BAME.strength.short" /> | |
27 | 27 | </div> |
28 | 28 | ), |
29 | 29 | }; |
... | ... | @@ -115,7 +115,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
115 | 115 | checkConfirm = (rule, value, callback) => { |
116 | 116 | const { form } = this.props; |
117 | 117 | if (value && value !== form.getFieldValue('password')) { |
118 | - callback(formatMessage({ id: 'validation.password.twice' })); | |
118 | + callback(formatMessage({ id: 'BLOCK_BAME.password.twice' })); | |
119 | 119 | } else { |
120 | 120 | callback(); |
121 | 121 | } |
... | ... | @@ -125,7 +125,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
125 | 125 | const { visible, confirmDirty } = this.state; |
126 | 126 | if (!value) { |
127 | 127 | this.setState({ |
128 | - help: formatMessage({ id: 'validation.password.required' }), | |
128 | + help: formatMessage({ id: 'BLOCK_BAME.password.required' }), | |
129 | 129 | visible: !!value, |
130 | 130 | }); |
131 | 131 | callback('error'); |
... | ... | @@ -180,7 +180,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
180 | 180 | return ( |
181 | 181 | <div className={styles.main}> |
182 | 182 | <h3> |
183 | - <FormattedMessage id="app.register.register" /> | |
183 | + <FormattedMessage id="BLOCK_BAME.register.register" /> | |
184 | 184 | </h3> |
185 | 185 | <Form onSubmit={this.handleSubmit}> |
186 | 186 | <FormItem> |
... | ... | @@ -188,15 +188,15 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
188 | 188 | rules: [ |
189 | 189 | { |
190 | 190 | required: true, |
191 | - message: formatMessage({ id: 'validation.email.required' }), | |
191 | + message: formatMessage({ id: 'BLOCK_BAME.email.required' }), | |
192 | 192 | }, |
193 | 193 | { |
194 | 194 | type: 'email', |
195 | - message: formatMessage({ id: 'validation.email.wrong-format' }), | |
195 | + message: formatMessage({ id: 'BLOCK_BAME.email.wrong-format' }), | |
196 | 196 | }, |
197 | 197 | ], |
198 | 198 | })( |
199 | - <Input size="large" placeholder={formatMessage({ id: 'form.email.placeholder' })} /> | |
199 | + <Input size="large" placeholder={formatMessage({ id: 'BLOCK_BAME.email.placeholder' })} /> | |
200 | 200 | )} |
201 | 201 | </FormItem> |
202 | 202 | <FormItem help={help}> |
... | ... | @@ -207,7 +207,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
207 | 207 | {passwordStatusMap[this.getPasswordStatus()]} |
208 | 208 | {this.renderPasswordProgress()} |
209 | 209 | <div style={{ marginTop: 10 }}> |
210 | - <FormattedMessage id="validation.password.strength.msg" /> | |
210 | + <FormattedMessage id="BLOCK_BAME.strength.msg" /> | |
211 | 211 | </div> |
212 | 212 | </div> |
213 | 213 | } |
... | ... | @@ -225,7 +225,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
225 | 225 | <Input |
226 | 226 | size="large" |
227 | 227 | type="password" |
228 | - placeholder={formatMessage({ id: 'form.password.placeholder' })} | |
228 | + placeholder={formatMessage({ id: 'BLOCK_BAME.password.placeholder' })} | |
229 | 229 | /> |
230 | 230 | )} |
231 | 231 | </Popover> |
... | ... | @@ -235,7 +235,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
235 | 235 | rules: [ |
236 | 236 | { |
237 | 237 | required: true, |
238 | - message: formatMessage({ id: 'validation.confirm-password.required' }), | |
238 | + message: formatMessage({ id: 'BLOCK_BAME.confirm-password.required' }), | |
239 | 239 | }, |
240 | 240 | { |
241 | 241 | validator: this.checkConfirm, |
... | ... | @@ -245,7 +245,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
245 | 245 | <Input |
246 | 246 | size="large" |
247 | 247 | type="password" |
248 | - placeholder={formatMessage({ id: 'form.confirm-password.placeholder' })} | |
248 | + placeholder={formatMessage({ id: 'BLOCK_BAME.confirm-password.placeholder' })} | |
249 | 249 | /> |
250 | 250 | )} |
251 | 251 | </FormItem> |
... | ... | @@ -264,18 +264,18 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
264 | 264 | rules: [ |
265 | 265 | { |
266 | 266 | required: true, |
267 | - message: formatMessage({ id: 'validation.phone-number.required' }), | |
267 | + message: formatMessage({ id: 'BLOCK_BAME.phone-number.required' }), | |
268 | 268 | }, |
269 | 269 | { |
270 | 270 | pattern: /^\d{11}$/, |
271 | - message: formatMessage({ id: 'validation.phone-number.wrong-format' }), | |
271 | + message: formatMessage({ id: 'BLOCK_BAME.phone-number.wrong-format' }), | |
272 | 272 | }, |
273 | 273 | ], |
274 | 274 | })( |
275 | 275 | <Input |
276 | 276 | size="large" |
277 | 277 | style={{ width: '80%' }} |
278 | - placeholder={formatMessage({ id: 'form.phone-number.placeholder' })} | |
278 | + placeholder={formatMessage({ id: 'BLOCK_BAME.phone-number.placeholder' })} | |
279 | 279 | /> |
280 | 280 | )} |
281 | 281 | </InputGroup> |
... | ... | @@ -287,13 +287,13 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
287 | 287 | rules: [ |
288 | 288 | { |
289 | 289 | required: true, |
290 | - message: formatMessage({ id: 'validation.verification-code.required' }), | |
290 | + message: formatMessage({ id: 'BLOCK_BAME.verification-code.required' }), | |
291 | 291 | }, |
292 | 292 | ], |
293 | 293 | })( |
294 | 294 | <Input |
295 | 295 | size="large" |
296 | - placeholder={formatMessage({ id: 'form.verification-code.placeholder' })} | |
296 | + placeholder={formatMessage({ id: 'BLOCK_BAME.verification-code.placeholder' })} | |
297 | 297 | /> |
298 | 298 | )} |
299 | 299 | </Col> |
... | ... | @@ -306,7 +306,7 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
306 | 306 | > |
307 | 307 | {count |
308 | 308 | ? `${count} s` |
309 | - : formatMessage({ id: 'app.register.get-verification-code' })} | |
309 | + : formatMessage({ id: 'BLOCK_BAME.register.get-verification-code' })} | |
310 | 310 | </Button> |
311 | 311 | </Col> |
312 | 312 | </Row> |
... | ... | @@ -319,10 +319,10 @@ class PAGE_NAME_UPPER_CAMEL_CASE extends Component { |
319 | 319 | type="primary" |
320 | 320 | htmlType="submit" |
321 | 321 | > |
322 | - <FormattedMessage id="app.register.register" /> | |
322 | + <FormattedMessage id="BLOCK_BAME.register.register" /> | |
323 | 323 | </Button> |
324 | 324 | <Link className={styles.login} to="/User/Login"> |
325 | - <FormattedMessage id="app.register.sign-in" /> | |
325 | + <FormattedMessage id="BLOCK_BAME.register.sign-in" /> | |
326 | 326 | </Link> |
327 | 327 | </FormItem> |
328 | 328 | </Form> | ... | ... |
1 | 1 | export default { |
2 | - 'app.login.userName': 'userName', | |
3 | - 'app.login.password': 'password', | |
4 | - 'app.login.message-invalid-credentials': 'Invalid username or password(admin/ant.design)', | |
5 | - 'app.login.message-invalid-verification-code': 'Invalid verification code', | |
6 | - 'app.login.tab-login-credentials': 'Credentials', | |
7 | - 'app.login.tab-login-mobile': 'Mobile number', | |
8 | - 'app.login.remember-me': 'Remember me', | |
9 | - 'app.login.forgot-password': 'Forgot your password?', | |
10 | - 'app.login.sign-in-with': 'Sign in with', | |
11 | - 'app.login.signup': 'Sign up', | |
12 | - 'app.login.login': 'Login', | |
13 | - 'app.register.register': 'Register', | |
14 | - 'app.register.get-verification-code': 'Get code', | |
15 | - 'app.register.sign-in': 'Already have an account?', | |
16 | - 'app.register-result.msg': 'Account:registered at {email}', | |
17 | - 'app.register-result.activation-email': | |
2 | + 'BLOCK_BAME.login.userName': 'userName', | |
3 | + 'BLOCK_BAME.login.password': 'password', | |
4 | + 'BLOCK_BAME.login.message-invalid-credentials': 'Invalid username or password(admin/ant.design)', | |
5 | + 'BLOCK_BAME.login.message-invalid-verification-code': 'Invalid verification code', | |
6 | + 'BLOCK_BAME.login.tab-login-credentials': 'Credentials', | |
7 | + 'BLOCK_BAME.login.tab-login-mobile': 'Mobile number', | |
8 | + 'BLOCK_BAME.login.remember-me': 'Remember me', | |
9 | + 'BLOCK_BAME.login.forgot-password': 'Forgot your password?', | |
10 | + 'BLOCK_BAME.login.sign-in-with': 'Sign in with', | |
11 | + 'BLOCK_BAME.login.signup': 'Sign up', | |
12 | + 'BLOCK_BAME.login.login': 'Login', | |
13 | + 'BLOCK_BAME.register.register': 'Register', | |
14 | + 'BLOCK_BAME.register.get-verification-code': 'Get code', | |
15 | + 'BLOCK_BAME.register.sign-in': 'Already have an account?', | |
16 | + 'BLOCK_BAME.register-result.msg': 'Account:registered at {email}', | |
17 | + 'BLOCK_BAME.register-result.activation-email': | |
18 | 18 | 'The activation email has been sent to your email address and is valid for 24 hours. Please log in to the email in time and click on the link in the email to activate the account.', |
19 | - 'app.register-result.back-home': 'Back to home', | |
20 | - 'app.register-result.view-mailbox': 'View mailbox', | |
21 | - 'validation.email.required': 'Please enter your email!', | |
22 | - 'validation.email.wrong-format': 'The email address is in the wrong format!', | |
23 | - 'validation.userName.required': 'Please enter your userName!', | |
24 | - 'validation.password.required': 'Please enter your password!', | |
25 | - 'validation.password.twice': 'The passwords entered twice do not match!', | |
26 | - 'validation.password.strength.msg': | |
19 | + 'BLOCK_BAME.register-result.back-home': 'Back to home', | |
20 | + 'BLOCK_BAME.register-result.view-mailbox': 'View mailbox', | |
21 | + 'BLOCK_BAME.email.required': 'Please enter your email!', | |
22 | + 'BLOCK_BAME.email.wrong-format': 'The email address is in the wrong format!', | |
23 | + 'BLOCK_BAME.userName.required': 'Please enter your userName!', | |
24 | + 'BLOCK_BAME.password.required': 'Please enter your password!', | |
25 | + 'BLOCK_BAME.password.twice': 'The passwords entered twice do not match!', | |
26 | + 'BLOCK_BAME.strength.msg': | |
27 | 27 | "Please enter at least 6 characters and don't use passwords that are easy to guess.", |
28 | - 'validation.password.strength.strong': 'Strength: strong', | |
29 | - 'validation.password.strength.medium': 'Strength: medium', | |
30 | - 'validation.password.strength.short': 'Strength: too short', | |
31 | - 'validation.confirm-password.required': 'Please confirm your password!', | |
32 | - 'validation.phone-number.required': 'Please enter your phone number!', | |
33 | - 'validation.phone-number.wrong-format': 'Malformed phone number!', | |
34 | - 'validation.verification-code.required': 'Please enter the verification code!', | |
35 | - 'validation.title.required': 'Please enter a title', | |
36 | - 'validation.date.required': 'Please select the start and end date', | |
37 | - 'validation.goal.required': 'Please enter a description of the goal', | |
38 | - 'validation.standard.required': 'Please enter a metric', | |
39 | - 'form.get-captcha': 'Get Captcha', | |
40 | - 'form.captcha.second': 'sec', | |
41 | - 'form.optional': ' (optional) ', | |
42 | - 'form.submit': 'Submit', | |
43 | - 'form.save': 'Save', | |
44 | - 'form.email.placeholder': 'Email', | |
45 | - 'form.password.placeholder': 'Password', | |
46 | - 'form.confirm-password.placeholder': 'Confirm password', | |
47 | - 'form.phone-number.placeholder': 'Phone number', | |
48 | - 'form.verification-code.placeholder': 'Verification code', | |
49 | - 'form.title.label': 'Title', | |
50 | - 'form.title.placeholder': 'Give the target a name', | |
51 | - 'form.date.label': 'Start and end date', | |
52 | - 'form.date.placeholder.start': 'Start date', | |
53 | - 'form.date.placeholder.end': 'End date', | |
54 | - 'form.goal.label': 'Goal description', | |
55 | - 'form.goal.placeholder': 'Please enter your work goals', | |
56 | - 'form.standard.label': 'Metrics', | |
57 | - 'form.standard.placeholder': 'Please enter a metric', | |
58 | - 'form.client.label': 'Client', | |
59 | - 'form.client.label.tooltip': 'Target service object', | |
60 | - 'form.client.placeholder': | |
28 | + 'BLOCK_BAME.strength.strong': 'Strength: strong', | |
29 | + 'BLOCK_BAME.strength.medium': 'Strength: medium', | |
30 | + 'BLOCK_BAME.strength.short': 'Strength: too short', | |
31 | + 'BLOCK_BAME.confirm-password.required': 'Please confirm your password!', | |
32 | + 'BLOCK_BAME.phone-number.required': 'Please enter your phone number!', | |
33 | + 'BLOCK_BAME.phone-number.wrong-format': 'Malformed phone number!', | |
34 | + 'BLOCK_BAME.verification-code.required': 'Please enter the verification code!', | |
35 | + 'BLOCK_BAME.title.required': 'Please enter a title', | |
36 | + 'BLOCK_BAME.date.required': 'Please select the start and end date', | |
37 | + 'BLOCK_BAME.goal.required': 'Please enter a description of the goal', | |
38 | + 'BLOCK_BAME.standard.required': 'Please enter a metric', | |
39 | + 'BLOCK_BAME.form.get-captcha': 'Get Captcha', | |
40 | + 'BLOCK_BAME.captcha.second': 'sec', | |
41 | + 'BLOCK_BAME.form.optional': ' (optional) ', | |
42 | + 'BLOCK_BAME.form.submit': 'Submit', | |
43 | + 'BLOCK_BAME.form.save': 'Save', | |
44 | + 'BLOCK_BAME.email.placeholder': 'Email', | |
45 | + 'BLOCK_BAME.password.placeholder': 'Password', | |
46 | + 'BLOCK_BAME.confirm-password.placeholder': 'Confirm password', | |
47 | + 'BLOCK_BAME.phone-number.placeholder': 'Phone number', | |
48 | + 'BLOCK_BAME.verification-code.placeholder': 'Verification code', | |
49 | + 'BLOCK_BAME.title.label': 'Title', | |
50 | + 'BLOCK_BAME.title.placeholder': 'Give the target a name', | |
51 | + 'BLOCK_BAME.date.label': 'Start and end date', | |
52 | + 'BLOCK_BAME.placeholder.start': 'Start date', | |
53 | + 'BLOCK_BAME.placeholder.end': 'End date', | |
54 | + 'BLOCK_BAME.goal.label': 'Goal description', | |
55 | + 'BLOCK_BAME.goal.placeholder': 'Please enter your work goals', | |
56 | + 'BLOCK_BAME.standard.label': 'Metrics', | |
57 | + 'BLOCK_BAME.standard.placeholder': 'Please enter a metric', | |
58 | + 'BLOCK_BAME.client.label': 'Client', | |
59 | + 'BLOCK_BAME.label.tooltip': 'Target service object', | |
60 | + 'BLOCK_BAME.client.placeholder': | |
61 | 61 | 'Please describe your customer service, internal customers directly @ Name / job number', |
62 | - 'form.invites.label': 'Inviting critics', | |
63 | - 'form.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
64 | - 'form.weight.label': 'Weight', | |
65 | - 'form.weight.placeholder': 'Please enter weight', | |
66 | - 'form.public.label': 'Target disclosure', | |
67 | - 'form.public.label.help': 'Customers and invitees are shared by default', | |
68 | - 'form.public.radio.public': 'Public', | |
69 | - 'form.public.radio.partially-public': 'Partially public', | |
70 | - 'form.public.radio.private': 'Private', | |
71 | - 'form.publicUsers.placeholder': 'Open to', | |
72 | - 'form.publicUsers.option.A': 'Colleague A', | |
73 | - 'form.publicUsers.option.B': 'Colleague B', | |
74 | - 'form.publicUsers.option.C': 'Colleague C', | |
75 | - 'navBar.lang': 'Languages', | |
62 | + 'BLOCK_BAME.invites.label': 'Inviting critics', | |
63 | + 'BLOCK_BAME.invites.placeholder': 'Please direct @ Name / job number, you can invite up to 5 people', | |
64 | + 'BLOCK_BAME.weight.label': 'Weight', | |
65 | + 'BLOCK_BAME.weight.placeholder': 'Please enter weight', | |
66 | + 'BLOCK_BAME.public.label': 'Target disclosure', | |
67 | + 'BLOCK_BAME.label.help': 'Customers and invitees are shared by default', | |
68 | + 'BLOCK_BAME.radio.public': 'Public', | |
69 | + 'BLOCK_BAME.radio.partially-public': 'Partially public', | |
70 | + 'BLOCK_BAME.radio.private': 'Private', | |
71 | + 'BLOCK_BAME.publicUsers.placeholder': 'Open to', | |
72 | + 'BLOCK_BAME.option.A': 'Colleague A', | |
73 | + 'BLOCK_BAME.option.B': 'Colleague B', | |
74 | + 'BLOCK_BAME.option.C': 'Colleague C', | |
75 | + 'BLOCK_BAME.navBar.lang': 'Languages', | |
76 | 76 | }; | ... | ... |
1 | 1 | export default { |
2 | - 'app.login.userName': '用户名', | |
3 | - 'app.login.password': '密码', | |
4 | - 'app.login.message-invalid-credentials': '账户或密码错误(admin/ant.design)', | |
5 | - 'app.login.message-invalid-verification-code': '验证码错误', | |
6 | - 'app.login.tab-login-credentials': '账户密码登录', | |
7 | - 'app.login.tab-login-mobile': '手机号登录', | |
8 | - 'app.login.remember-me': '自动登录', | |
9 | - 'app.login.forgot-password': '忘记密码', | |
10 | - 'app.login.sign-in-with': '其他登录方式', | |
11 | - 'app.login.signup': '注册账户', | |
12 | - 'app.login.login': '登录', | |
13 | - 'app.register.register': '注册', | |
14 | - 'app.register.get-verification-code': '获取验证码', | |
15 | - 'app.register.sign-in': '使用已有账户登录', | |
16 | - 'app.register-result.msg': '你的账户:{email} 注册成功', | |
17 | - 'app.register-result.activation-email': | |
2 | + 'BLOCK_BAME.login.userName': '用户名', | |
3 | + 'BLOCK_BAME.login.password': '密码', | |
4 | + 'BLOCK_BAME.login.message-invalid-credentials': '账户或密码错误(admin/ant.design)', | |
5 | + 'BLOCK_BAME.login.message-invalid-verification-code': '验证码错误', | |
6 | + 'BLOCK_BAME.login.tab-login-credentials': '账户密码登录', | |
7 | + 'BLOCK_BAME.login.tab-login-mobile': '手机号登录', | |
8 | + 'BLOCK_BAME.login.remember-me': '自动登录', | |
9 | + 'BLOCK_BAME.login.forgot-password': '忘记密码', | |
10 | + 'BLOCK_BAME.login.sign-in-with': '其他登录方式', | |
11 | + 'BLOCK_BAME.login.signup': '注册账户', | |
12 | + 'BLOCK_BAME.login.login': '登录', | |
13 | + 'BLOCK_BAME.register.register': '注册', | |
14 | + 'BLOCK_BAME.register.get-verification-code': '获取验证码', | |
15 | + 'BLOCK_BAME.register.sign-in': '使用已有账户登录', | |
16 | + 'BLOCK_BAME.register-result.msg': '你的账户:{email} 注册成功', | |
17 | + 'BLOCK_BAME.register-result.activation-email': | |
18 | 18 | '激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。', |
19 | - 'app.register-result.back-home': '返回首页', | |
20 | - 'app.register-result.view-mailbox': '查看邮箱', | |
21 | - 'validation.email.required': '请输入邮箱地址!', | |
22 | - 'validation.email.wrong-format': '邮箱地址格式错误!', | |
23 | - 'validation.userName.required': '请输入用户名!', | |
24 | - 'validation.password.required': '请输入密码!', | |
25 | - 'validation.password.twice': '两次输入的密码不匹配!', | |
26 | - 'validation.password.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
27 | - 'validation.password.strength.strong': '强度:强', | |
28 | - 'validation.password.strength.medium': '强度:中', | |
29 | - 'validation.password.strength.short': '强度:太短', | |
30 | - 'validation.confirm-password.required': '请确认密码!', | |
31 | - 'validation.phone-number.required': '请输入手机号!', | |
32 | - 'validation.phone-number.wrong-format': '手机号格式错误!', | |
33 | - 'validation.verification-code.required': '请输入验证码!', | |
34 | - 'validation.title.required': '请输入标题', | |
35 | - 'validation.date.required': '请选择起止日期', | |
36 | - 'validation.goal.required': '请输入目标描述', | |
37 | - 'validation.standard.required': '请输入衡量标准', | |
38 | - 'form.get-captcha': '获取验证码', | |
39 | - 'form.captcha.second': '秒', | |
40 | - 'form.optional': '(选填)', | |
41 | - 'form.submit': '提交', | |
42 | - 'form.save': '保存', | |
43 | - 'form.email.placeholder': '邮箱', | |
44 | - 'form.password.placeholder': '至少6位密码,区分大小写', | |
45 | - 'form.confirm-password.placeholder': '确认密码', | |
46 | - 'form.phone-number.placeholder': '手机号', | |
47 | - 'form.verification-code.placeholder': '验证码', | |
48 | - 'form.title.label': '标题', | |
49 | - 'form.title.placeholder': '给目标起个名字', | |
50 | - 'form.date.label': '起止日期', | |
51 | - 'form.date.placeholder.start': '开始日期', | |
52 | - 'form.date.placeholder.end': '结束日期', | |
53 | - 'form.goal.label': '目标描述', | |
54 | - 'form.goal.placeholder': '请输入你的阶段性工作目标', | |
55 | - 'form.standard.label': '衡量标准', | |
56 | - 'form.standard.placeholder': '请输入衡量标准', | |
57 | - 'form.client.label': '客户', | |
58 | - 'form.client.label.tooltip': '目标的服务对象', | |
59 | - 'form.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
60 | - 'form.invites.label': '邀评人', | |
61 | - 'form.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
62 | - 'form.weight.label': '权重', | |
63 | - 'form.weight.placeholder': '请输入', | |
64 | - 'form.public.label': '目标公开', | |
65 | - 'form.public.label.help': '客户、邀评人默认被分享', | |
66 | - 'form.public.radio.public': '公开', | |
67 | - 'form.public.radio.partially-public': '部分公开', | |
68 | - 'form.public.radio.private': '不公开', | |
69 | - 'form.publicUsers.placeholder': '公开给', | |
70 | - 'form.publicUsers.option.A': '同事甲', | |
71 | - 'form.publicUsers.option.B': '同事乙', | |
72 | - 'form.publicUsers.option.C': '同事丙', | |
73 | - 'navBar.lang': '语言', | |
19 | + 'BLOCK_BAME.register-result.back-home': '返回首页', | |
20 | + 'BLOCK_BAME.register-result.view-mailbox': '查看邮箱', | |
21 | + 'BLOCK_BAME.email.required': '请输入邮箱地址!', | |
22 | + 'BLOCK_BAME.email.wrong-format': '邮箱地址格式错误!', | |
23 | + 'BLOCK_BAME.userName.required': '请输入用户名!', | |
24 | + 'BLOCK_BAME.password.required': '请输入密码!', | |
25 | + 'BLOCK_BAME.password.twice': '两次输入的密码不匹配!', | |
26 | + 'BLOCK_BAME.strength.msg': '请至少输入 6 个字符。请不要使用容易被猜到的密码。', | |
27 | + 'BLOCK_BAME.strength.strong': '强度:强', | |
28 | + 'BLOCK_BAME.strength.medium': '强度:中', | |
29 | + 'BLOCK_BAME.strength.short': '强度:太短', | |
30 | + 'BLOCK_BAME.confirm-password.required': '请确认密码!', | |
31 | + 'BLOCK_BAME.phone-number.required': '请输入手机号!', | |
32 | + 'BLOCK_BAME.phone-number.wrong-format': '手机号格式错误!', | |
33 | + 'BLOCK_BAME.verification-code.required': '请输入验证码!', | |
34 | + 'BLOCK_BAME.title.required': '请输入标题', | |
35 | + 'BLOCK_BAME.date.required': '请选择起止日期', | |
36 | + 'BLOCK_BAME.goal.required': '请输入目标描述', | |
37 | + 'BLOCK_BAME.standard.required': '请输入衡量标准', | |
38 | + 'BLOCK_BAME.form.get-captcha': '获取验证码', | |
39 | + 'BLOCK_BAME.captcha.second': '秒', | |
40 | + 'BLOCK_BAME.form.optional': '(选填)', | |
41 | + 'BLOCK_BAME.form.submit': '提交', | |
42 | + 'BLOCK_BAME.form.save': '保存', | |
43 | + 'BLOCK_BAME.email.placeholder': '邮箱', | |
44 | + 'BLOCK_BAME.password.placeholder': '至少6位密码,区分大小写', | |
45 | + 'BLOCK_BAME.confirm-password.placeholder': '确认密码', | |
46 | + 'BLOCK_BAME.phone-number.placeholder': '手机号', | |
47 | + 'BLOCK_BAME.verification-code.placeholder': '验证码', | |
48 | + 'BLOCK_BAME.title.label': '标题', | |
49 | + 'BLOCK_BAME.title.placeholder': '给目标起个名字', | |
50 | + 'BLOCK_BAME.date.label': '起止日期', | |
51 | + 'BLOCK_BAME.placeholder.start': '开始日期', | |
52 | + 'BLOCK_BAME.placeholder.end': '结束日期', | |
53 | + 'BLOCK_BAME.goal.label': '目标描述', | |
54 | + 'BLOCK_BAME.goal.placeholder': '请输入你的阶段性工作目标', | |
55 | + 'BLOCK_BAME.standard.label': '衡量标准', | |
56 | + 'BLOCK_BAME.standard.placeholder': '请输入衡量标准', | |
57 | + 'BLOCK_BAME.client.label': '客户', | |
58 | + 'BLOCK_BAME.label.tooltip': '目标的服务对象', | |
59 | + 'BLOCK_BAME.client.placeholder': '请描述你服务的客户,内部客户直接 @姓名/工号', | |
60 | + 'BLOCK_BAME.invites.label': '邀评人', | |
61 | + 'BLOCK_BAME.invites.placeholder': '请直接 @姓名/工号,最多可邀请 5 人', | |
62 | + 'BLOCK_BAME.weight.label': '权重', | |
63 | + 'BLOCK_BAME.weight.placeholder': '请输入', | |
64 | + 'BLOCK_BAME.public.label': '目标公开', | |
65 | + 'BLOCK_BAME.label.help': '客户、邀评人默认被分享', | |
66 | + 'BLOCK_BAME.radio.public': '公开', | |
67 | + 'BLOCK_BAME.radio.partially-public': '部分公开', | |
68 | + 'BLOCK_BAME.radio.private': '不公开', | |
69 | + 'BLOCK_BAME.publicUsers.placeholder': '公开给', | |
70 | + 'BLOCK_BAME.option.A': '同事甲', | |
71 | + 'BLOCK_BAME.option.B': '同事乙', | |
72 | + 'BLOCK_BAME.option.C': '同事丙', | |
73 | + 'BLOCK_BAME.navBar.lang': '语言', | |
74 | 74 | }; | ... | ... |
请
注册
或
登录
后发表评论