diff --git a/src/lang/en.js b/src/lang/en.js index a5e31a96..1ba7c112 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -45,6 +45,13 @@ export default { clipboardDemo: 'Clipboard', i18n: 'I18n' }, + navbar: { + logOut: 'Log Out', + dashboard: 'Dashboard', + github: 'Github', + screenfull: 'screenfull', + theme: 'theme' + }, login: { title: 'Login Form', logIn: 'Log in', @@ -52,6 +59,14 @@ export default { password: 'Password', any: 'any', thirdparty: 'Or connect with', - thirdpartyTips: 'Local can not be simulated, please combine their own business simulation! ! !' + thirdpartyTips: 'Can not be simulated on local, so please combine you own business simulation! ! !' + }, + documentation: { + documentation: 'Documentation', + github: 'Github Repository' + }, + permission: { + permissions: 'Your permissions', + switchPermissions: 'Switch permissions' } } diff --git a/src/lang/zh.js b/src/lang/zh.js index 61e3d13b..b2899f8a 100644 --- a/src/lang/zh.js +++ b/src/lang/zh.js @@ -45,6 +45,13 @@ export default { clipboardDemo: 'clipboard', i18n: '国际化' }, + navbar: { + logOut: '退出登录', + dashboard: '首页', + github: '项目地址', + screenfull: '全屏', + theme: '换肤' + }, login: { title: '系统登录', logIn: '登录', @@ -53,5 +60,13 @@ export default { any: '随便填', thirdparty: '第三方登录', thirdpartyTips: '本地不能模拟,请结合自己业务进行模拟!!!' + }, + documentation: { + documentation: '文档', + github: 'Github 地址' + }, + permission: { + permissions: '你的权限', + switchPermissions: '切换权限' } } diff --git a/src/utils/clipboard.js b/src/utils/clipboard.js index 25295900..e916a44d 100644 --- a/src/utils/clipboard.js +++ b/src/utils/clipboard.js @@ -3,7 +3,7 @@ import Clipboard from 'clipboard' function clipboardSuccess() { Vue.prototype.$message({ - message: '复制成功', + message: 'Copy successfully', type: 'success', duration: 1500 }) @@ -11,7 +11,7 @@ function clipboardSuccess() { function clipboardError() { Vue.prototype.$message({ - message: '复制失败', + message: 'Copy failed', type: 'error' }) } diff --git a/src/views/dashboard/admin/components/BarChart.vue b/src/views/dashboard/admin/components/BarChart.vue index 78e71a93..e0606b2d 100644 --- a/src/views/dashboard/admin/components/BarChart.vue +++ b/src/views/dashboard/admin/components/BarChart.vue @@ -4,7 +4,7 @@ diff --git a/src/views/dashboard/editor/index.vue b/src/views/dashboard/editor/index.vue index 531c8067..ae1f7995 100644 --- a/src/views/dashboard/editor/index.vue +++ b/src/views/dashboard/editor/index.vue @@ -1,13 +1,13 @@