refactor, fix bug and update i18n(user center), to be continue

This commit is contained in:
shiqstone
2021-04-19 14:32:55 +08:00
parent 93d377f3b9
commit d9e2b0bc8b
5 changed files with 108 additions and 53 deletions

View File

@@ -3,7 +3,7 @@ title = mindoc
home = Home
blog = Blog
project_space = Project Space
person_center = Persona Center
person_center = Personal Center
my_project = My Project
my_blog = My Article
manage = Management
@@ -185,6 +185,15 @@ ref_doc_not_exist_or_no_permit = reference document does not exist or has insuff
blog_id_existed = blog id already existed
query_failed = query failed
blog_has_modified = The article has been modified
cur_user_cannot_change_pwd = The current user does not support changing the password
origin_pwd_empty = The origin password cannot be empty
new_pwd_empty = The new password cannot be empty
confirm_pwd_empty = The confirm password cannot be empty
pwd_length = Password must be between 6-18 characters
wrong_origin_pwd = The origin password incorrect
wrong_confirm_pwd = The confirm passwrod incorrect
same_pwd = The new password must different from the origin
pwd_encrypt_failed = Password encryption failed
[blog]
author = Author
@@ -420,4 +429,21 @@ no_result = No search result
first = first
last = last
prev = prev
next = next
next =
[uc]
user_center = User Center
base_info = Basic Info
change_pwd = Change Password
username = Username
nickname = Nickname
realname = Real name
email = Email
mobile = Mobile
description = Description
description_tips = Description cannot exceed 500 characters
avatar = Avatar
change_avatar = Change avatar
origin_pwd = Origin password
new_pwd = New password
confirm_pwd = Confirm password

View File

@@ -185,6 +185,15 @@ ref_doc_not_exist_or_no_permit = 关联文档不存在或权限不足
blog_id_existed = 文章标识已存在
query_failed = 查询失败
blog_has_modified = 文章已被修改
cur_user_cannot_change_pwd = 当前用户不支持修改密码
origin_pwd_empty = 原密码不能为空
new_pwd_empty = 新密码不能为空
confirm_pwd_empty = 确认密码不能为空
pwd_length = 密码必须在6-18字之间
wrong_origin_pwd = 原始密码不正确
wrong_confirm_pwd = 确认密码不正确
same_pwd = 新密码不能和原始密码相同
pwd_encrypt_failed = 密码加密失败
[blog]
author = 作者
@@ -420,4 +429,21 @@ no_result = 暂无相关搜索结果
first = 首页
last = 末页
prev = 上一页
next = 下一页
next = 下一页
[uc]
user_center = 用户中心
base_info = 基本信息
change_pwd = 修改密码
username = 用户名
nickname = 昵称
realname = 真实姓名
email = 邮箱
mobile = 手机号
description = 描述
description_tips = 描述不能超过500字
avatar = 头像
change_avatar = 修改头像
origin_pwd = 原始密码
new_pwd = 新密码
confirm_pwd = 确认密码