Commit 7be40e0d authored by mercury233's avatar mercury233

nickname hint

parent 33ae1cbd
Pipeline #19630 passed with stages
in 2 minutes and 59 seconds
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"upload":"upload", "upload":"upload",
"avatar": "Avatar", "avatar": "Avatar",
"nickname": "Nickname", "nickname": "Nickname",
"Nickname-Hint": "This nickname is only used in the forum.",
"reset-account-info": "Reset Account info", "reset-account-info": "Reset Account info",
"current_password": "Current Password", "current_password": "Current Password",
"password-again": "Input Password Again", "password-again": "Input Password Again",
...@@ -108,6 +109,7 @@ ...@@ -108,6 +109,7 @@
"upload":"上传", "upload":"上传",
"avatar": "头像", "avatar": "头像",
"nickname": "昵称", "nickname": "昵称",
"Nickname-Hint": "昵称只在论坛显示,如需修改游戏和聊天室里显示的名字,请修改用户名",
"reset-account-info": "修改账户信息", "reset-account-info": "修改账户信息",
"current_password": "原密码", "current_password": "原密码",
"password-again": "再次输入密码", "password-again": "再次输入密码",
......
...@@ -144,6 +144,9 @@ class Profiles extends React.Component { ...@@ -144,6 +144,9 @@ class Profiles extends React.Component {
{getFieldDecorator('name', { ...nameProps.decorator })( {getFieldDecorator('name', { ...nameProps.decorator })(
<Input {...nameProps.input} />, <Input {...nameProps.input} />,
)} )}
{
<div class="alert alert-warning" role="alert"><Format id="Nickname-Hint"/></div>
}
</FormItem> </FormItem>
<FormItem> <FormItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment