Commit 19e3a13d authored by 2breakegg's avatar 2breakegg

i18n

parent e8fb82bd
......@@ -65,6 +65,8 @@
"Password-length-must-be-between-8-and-24-characters.":"Password length must be between 8 and 24 characters.",
"email_exists":"email exists",
"update_success": "Update Success!",
"A-verification-email-has-been-sent-to-you,please-check-the-mail-to-complete.":"A verification email has been sent to you, please check the mail to complete.",
"i_password_error": "Incorrect password. ",
"i_user_unexists":"User does not exisit.",
......@@ -74,8 +76,6 @@
"i_key_time_out":"url is time out",
"i_key_invalid":"url is invalid",
"A-verification-email-has-been-sent-to-you,please-check-the-mail-to-complete.":"A verification email has been sent to you, please check the mail to complete.",
"没毛用":"防逗号报错,上线删"
},
"zh": {
......@@ -146,6 +146,7 @@
"Password-length-must-be-between-8-and-24-characters.":"密码必须为8-24位",
"email_exists":"邮箱已存在",
"update_success": "修改成功",
"A-verification-email-has-been-sent-to-you,please-check-the-mail-to-complete.":"一封验证邮件已经发送给您,请查看邮件完成修改。",
"i_password_error": "密码错误",
"i_user_unexists":"用户不存在",
......@@ -155,12 +156,6 @@
"i_key_time_out":"此链接已过期",
"i_key_invalid":"此链接已失效",
"A-verification-email-has-been-sent-to-you,please-check-the-mail-to-complete.":"一封验证邮件已经发送给您,请查看邮件完成修改。",
"原_验证邮件已发送":"邮件已发送,验证邮箱后,完成修改邮箱",
"没毛用":"防逗号报错,上线删"
}
......
import { Button } from 'antd';
import React from 'react';
import styles from './SubmitButton.css';
import { FormattedMessage as Format } from 'react-intl';
function SubmitButton(props) {
return (
<div className={styles.wrapSubmit}>
<Button type="primary" htmlType="submit" size="large" {...props} >提交</Button>
<Button type="primary" htmlType="submit" size="large" {...props} ><Format id="save" /></Button>
</div>
);
}
......
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