File tree Expand file tree Collapse file tree 12 files changed +41
-13
lines changed Expand file tree Collapse file tree 12 files changed +41
-13
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,13 @@ Understanding and learning this knowledge in advance will greatly help the use o
7070 - Page permission [expected]
7171 - Directive permission [expected]
7272 - Permission configuration page [expected]
73- - Two-step login
73+ - Two-step login [expected]
7474
7575- Multi-environment build
7676 - dev sit stage prod [expected]
7777
7878- Global Features
79- - I18n
79+ - I18n (supports en_US | zh_CN | ru_RU)
8080 - Multiple dynamic themes
8181 - Dynamic sidebar (supports multi-level routing)
8282 - Dynamic breadcrumb
@@ -87,9 +87,9 @@ Understanding and learning this knowledge in advance will greatly help the use o
8787 - Responsive Sidebar
8888
8989- Editor
90- - Rich Text Editor [expected]
91- - Markdown Editor [expected]
92- - JSON Editor [expected]
90+ - Rich Text Editor
91+ - Markdown Editor
92+ - JSON Editor
9393
9494- Excel
9595 - Export Excel [expected]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1+ export default {
2+ thisBaseOn : '这是基于' ,
3+ baseOnL18n : '该项目的国际化基于' ,
4+ baseOn : '是根据' ,
5+ documentation : '文献资料' ,
6+ palette : '您可以在上生成调色板' ,
7+ theme : '选择配色方案:' ,
8+ dropHere : '将文件拖放到此处进行上传' ,
9+ tinymceTips : '在线富文本编辑器作为LGPL下的开源软件发布。' ,
10+ imageUploadTips : '改性。 如果要使用它,最好使用正式版本。' ,
11+ dropzoneTips : '' ,
12+ stickyTips : '当页面滚动到预设位置时,将在顶部粘贴。' ,
13+ backToTop : '当页面滚动到指定位置时,“返回顶部”按钮将显示在右下角' ,
14+ draggable : '允许您在其中拖动面板和项目' ,
15+ } ;
Original file line number Diff line number Diff line change 11import route from './route' ;
2- import components from '@/demo/locale/en /components' ;
2+ import components from '@/demo/locale/en_US /components' ;
33
44export default {
55 route,
File renamed without changes.
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ import VueI18n from 'vue-i18n';
99
1010import { settings } from '@/config' ;
1111import vuetify from '@/locale/vuetify' ;
12- import en from './en' ;
13- import ru from './ru' ;
12+ import en from './en_US' ;
13+ import zh from './zh_CN' ;
14+ import ru from './ru_RU' ;
1415
1516Vue . use ( VueI18n ) ;
1617
@@ -19,6 +20,10 @@ const messages = {
1920 ...en ,
2021 $vuetify : vuetify . en ,
2122 } ,
23+ zh : {
24+ ...zh ,
25+ $vuetify : vuetify . zh ,
26+ } ,
2227 ru : {
2328 ...ru ,
2429 $vuetify : vuetify . ru ,
@@ -34,6 +39,11 @@ export const locales = [
3439 locale : 'en' ,
3540 abbr : 'ENG' ,
3641 } ,
42+ {
43+ title : '中文' ,
44+ locale : 'zh' ,
45+ abbr : 'CHN' ,
46+ } ,
3747 {
3848 title : 'Русский' ,
3949 locale : 'ru' ,
@@ -45,7 +55,7 @@ export const locales = [
4555 * VueI18n instance
4656 */
4757const i18n = new VueI18n ( {
48- // set locale options: en | ru
58+ // set locale options: en_US | zh_CN | ru_RU
4959 locale : settings . locale ,
5060 // set locale messages
5161 messages,
Original file line number Diff line number Diff line change 11import route from './route' ;
2- import components from '@/demo/locale/ru /components' ;
2+ import components from '@/demo/locale/ru_RU /components' ;
33
44export default {
55 route,
File renamed without changes.
Original file line number Diff line number Diff line change 11import en from 'vuetify/es5/locale/en' ;
22import ru from 'vuetify/es5/locale/ru' ;
3+ import zh from 'vuetify/es5/locale/zh-Hans' ;
34
4- const locales = { en, ru } ;
5+ const locales = { en, ru, zh } ;
56
67export default locales ;
You can’t perform that action at this time.
0 commit comments