|
1 | 1 | import antdEnUS from 'ant-design-vue/es/locale-provider/en_US'
|
2 | 2 | import momentEU from 'moment/locale/eu'
|
| 3 | +import menu from './en-US/menu' |
| 4 | +import setting from './en-US/setting' |
3 | 5 |
|
4 | 6 | const components = {
|
5 | 7 | antLocale: antdEnUS,
|
6 | 8 | momentName: 'eu',
|
7 | 9 | momentLocale: momentEU
|
8 | 10 | }
|
9 | 11 |
|
10 |
| -const locale = { |
| 12 | +export default { |
11 | 13 | 'message': '-',
|
12 |
| - 'menu.home': 'Home', |
13 |
| - 'menu.dashboard': 'Dashboard', |
14 |
| - 'menu.dashboard.analysis': 'Analysis', |
15 |
| - 'menu.dashboard.monitor': 'Monitor', |
16 |
| - 'menu.dashboard.workplace': 'Workplace', |
17 | 14 |
|
18 | 15 | 'layouts.usermenu.dialog.title': 'Message',
|
19 | 16 | 'layouts.usermenu.dialog.content': 'Do you really log-out.',
|
20 | 17 |
|
21 |
| - 'app.setting.pagestyle': 'Page style setting', |
22 |
| - 'app.setting.pagestyle.light': 'Light style', |
23 |
| - 'app.setting.pagestyle.dark': 'Dark style', |
24 |
| - 'app.setting.pagestyle.realdark': 'RealDark style', |
25 |
| - 'app.setting.themecolor': 'Theme Color', |
26 |
| - 'app.setting.navigationmode': 'Navigation Mode', |
27 |
| - 'app.setting.content-width': 'Content Width', |
28 |
| - 'app.setting.fixedheader': 'Fixed Header', |
29 |
| - 'app.setting.fixedsidebar': 'Fixed Sidebar', |
30 |
| - 'app.setting.sidemenu': 'Side Menu Layout', |
31 |
| - 'app.setting.topmenu': 'Top Menu Layout', |
32 |
| - 'app.setting.content-width.fixed': 'Fixed', |
33 |
| - 'app.setting.content-width.fluid': 'Fluid', |
34 |
| - 'app.setting.othersettings': 'Other Settings', |
35 |
| - 'app.setting.weakmode': 'Weak Mode', |
36 |
| - 'app.setting.copy': 'Copy Setting', |
37 |
| - 'app.setting.loading': 'Loading theme', |
38 |
| - 'app.setting.copyinfo': 'copy success,please replace defaultSettings in src/models/setting.js', |
39 |
| - 'app.setting.production.hint': 'Setting panel shows in development environment only, please manually modify' |
40 |
| -} |
41 |
| - |
42 |
| -export default { |
43 | 18 | ...components,
|
44 |
| - ...locale |
| 19 | + ...menu, |
| 20 | + ...setting |
45 | 21 | }
|
0 commit comments