Browse Source

修改文字

main
mac 2 weeks ago
parent
commit
257ca629b2
  1. 12
      src/language/zh.json
  2. 2
      src/pages/home/index.tsx

12
src/language/zh.json

@ -44,7 +44,7 @@
"Bonus details": "奖金明细", "Bonus details": "奖金明细",
"Hello": "您好", "Hello": "您好",
"Log out": "退出登录", "Log out": "退出登录",
"Total revenue": "总收益",
"Weekly income": "周收益",
"My earnings trend": "我的收益走势", "My earnings trend": "我的收益走势",
"Profit": "收益", "Profit": "收益",
"Account": "账户", "Account": "账户",
@ -146,9 +146,9 @@
"Change login password": "修改登录密码", "Change login password": "修改登录密码",
"1. Please make sure the device is safe during use to prevent data from being tampered with or leaked.": "1.在使用过程中请务必确认设备安全,防止数据被篡改或泄露。", "1. Please make sure the device is safe during use to prevent data from being tampered with or leaked.": "1.在使用过程中请务必确认设备安全,防止数据被篡改或泄露。",
"2. The email verification code may be delayed, please wait patiently.": "2.邮箱验证码可能会延时送达,请您耐心等待。", "2. The email verification code may be delayed, please wait patiently.": "2.邮箱验证码可能会延时送达,请您耐心等待。",
"Password must be a combination of letters and numbers":"密码必须是字母加数字的组合",
"New password":"新密码",
"Please enter a account":"请输入账号",
"Please enter a password":"请输入密码",
"Transfer account":"转出账号"
"Password must be a combination of letters and numbers": "密码必须是字母加数字的组合",
"New password": "新密码",
"Please enter a account": "请输入账号",
"Please enter a password": "请输入密码",
"Transfer account": "转出账号"
} }

2
src/pages/home/index.tsx

@ -52,7 +52,7 @@ const Home = () => {
</div> </div>
<div className="total-income row-center"> <div className="total-income row-center">
<div> <div>
<div className='tac fz-22 mb-1'>{t('Total revenue')}</div>
<div className='tac fz-22 mb-1'>{t('Weekly income')}</div>
<Progress type="circle" percent={50} size={150} strokeColor="#f7b93f" format={() => `$${userInfo.total_income || 0}`} /> <Progress type="circle" percent={50} size={150} strokeColor="#f7b93f" format={() => `$${userInfo.total_income || 0}`} />
</div> </div>
</div> </div>

Loading…
Cancel
Save