diff --git a/src/components/upload/index.vue b/src/components/upload/index.vue index 55368c410f212b5c626aa5de2c4f2005f358f0fa..2b9f80586fad616e4b1879181deeb0153e631c50 100644 --- a/src/components/upload/index.vue +++ b/src/components/upload/index.vue @@ -1,7 +1,7 @@ diff --git a/src/local/index.js b/src/local/index.js index 5cd2aea8a5c3e12acb13f00fe01c87e7427ebb06..14d8a5241201181013e74d7446ac1f605ac590ad 100644 --- a/src/local/index.js +++ b/src/local/index.js @@ -1,5 +1,6 @@ import selectLang from './select'; import TableLang from './table'; +import UserLang from './user'; const zh_CN = {}; const en_US = {}; @@ -14,5 +15,6 @@ function formatLang(langObject) { formatLang(selectLang); formatLang(TableLang); +formatLang(UserLang); export { en_US, zh_CN }; diff --git a/src/local/table.js b/src/local/table.js index ac6eb36c1f489376c8f83952ee84f37715c7d07b..8b5e3245d15a6c54804e459a6f574551745445ed 100644 --- a/src/local/table.js +++ b/src/local/table.js @@ -14,4 +14,8 @@ export default { 'table.pleaseSelect': ['请选择需要导出的数据', 'Please select the data to export'], 'table.taskDetail': ['任务明细', 'Task Detail'], 'table.taskProgress': ['任务进度', 'Task Progress'], + title: ['标题', 'Title'], + content: ['内容', 'Content'], + sender: ['发送者', 'Sender'], + recipient: ['接受者', 'Recipient'], }; diff --git a/src/local/user.js b/src/local/user.js new file mode 100644 index 0000000000000000000000000000000000000000..5e5742279dbfdd3a9cc0ff3fc558934e9afda020 --- /dev/null +++ b/src/local/user.js @@ -0,0 +1,21 @@ +export default { + profile: ['个人中心', 'Profile'], + setting: ['个人设置', 'Setting'], + loginOut: ['退出登录', 'Login Out'], + tabNotice: ['通知', 'Notice'], + tabTodo: ['待办', 'Todo'], + 'user.modifyPassword': ['修改密码', 'ModifyPassword'], + 'user.account': ['用户账户', 'Account'], + 'user.name': ['姓名', 'Name'], + 'user.email': ['电子邮箱', 'Email'], + 'user.fixedPhone': ['固定电话', 'Fixed Telephone'], + 'user.mobilePhone': ['移动电话', 'Mobile Phone'], + 'user.updateInfo': ['更新信息', 'Update Info'], + 'user.avator': ['头像', 'Avator'], + 'user.upload': ['上传', 'Upload'], + 'table.createTime': ['创建时间', 'Create Time'], + 'table.hasRead': ['是否已读', 'hasRead'], + 'table.read': ['已读', 'Read'], + 'table.unread': ['未读', 'Unread'], + 'user.readTime': ['已读时间', 'Read Time'], +}; diff --git a/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue b/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue index ac2d6901452eb3ad65ffff0f845f9fcaeef57e67..a2c445a462c83bfa3ccdb4576441af79f487b7c0 100644 --- a/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue +++ b/src/pages/frame/components/header/LayoutTopHeaderAvatar.vue @@ -20,12 +20,10 @@ \ No newline at end of file diff --git a/src/pages/user/components/page_todo.vue b/src/pages/user/components/page_todo.vue new file mode 100644 index 0000000000000000000000000000000000000000..2f82f8577a097d2edd010782e0d69a921650d8a0 --- /dev/null +++ b/src/pages/user/components/page_todo.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/pages/user/components/todo.vue b/src/pages/user/components/todo.vue deleted file mode 100644 index e29d93ff5fc182411c3d5bae5b06ef566f357624..0000000000000000000000000000000000000000 --- a/src/pages/user/components/todo.vue +++ /dev/null @@ -1,3 +0,0 @@ - diff --git a/src/pages/user/index.vue b/src/pages/user/index.vue index 89f7aa684d0c629bccb242740af9c0cd7dde1e19..73978757075a56ec1624ed7e67e6c8ecfed5db27 100644 --- a/src/pages/user/index.vue +++ b/src/pages/user/index.vue @@ -1,10 +1,10 @@