index.js
1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 全局公用模块
import button from './button/index'
import toast from './toast/index'
// 单独页面模块
import title from './title/index'
import setting from './user/setting'
import center from './user/center'
import person from './user/person'
import feedback from './feedback/index'
import question from './question/index'
import member from './member/index'
import home from './home/index'
import agreement from './qulification/agreement'
import qulification from './qulification/index'
const messages = {
en: {
lang: 'English',
...button.buttonEn,
...toast.toastEn,
...title.titleEn,
...setting.settingEn,
...center.centerEn,
...person.personEn,
...feedback.feedbackEn,
...question.questionEn,
...member.memberEn,
...home.En,
...agreement.agreementEn,
...qulification.qulificationEn
},
zh: {
lang: "中文",
...button.buttonZh,
...toast.toastZh,
...title.titleZh,
...setting.settingZh,
...center.centerZh,
...person.personZh,
...feedback.feedbackZh,
...question.questionZh,
...member.memberZh,
...home.Zh,
...agreement.agreementZh,
...qulification.qulificationZh
}
}
export default messages