diff --git a/src/components/SelectLang/index.js b/src/components/SelectLang/index.js index c562f99c16e0b870df69f9ecf8b4da548aa66994..ee91cd64d09e613af36e955aa45a88820324b52e 100644 --- a/src/components/SelectLang/index.js +++ b/src/components/SelectLang/index.js @@ -5,7 +5,7 @@ import classNames from 'classnames'; import styles from './index.less'; export default class SelectLang extends PureComponent { - changLang = ({ key }) => { + changeLang = ({ key }) => { setLocale(key); }; @@ -13,7 +13,7 @@ export default class SelectLang extends PureComponent { const { className } = this.props; const selectedLang = getLocale(); const langMenu = ( - + 🇨🇳 diff --git a/src/locales/en-US.js b/src/locales/en-US.js index 3bb7a89bbfcf53433c43ab1717676953e0ff5944..9e4eb346841c7ea3f852fb093b1196e9acbf201d 100644 --- a/src/locales/en-US.js +++ b/src/locales/en-US.js @@ -115,7 +115,7 @@ export default { 'app.login.login': 'Login', 'app.register.register': 'Register', 'app.register.get-verification-code': 'Get code', - 'app.register.sing-in': 'Already have an account?', + 'app.register.sign-in': 'Already have an account?', 'app.register-result.msg': 'Account:registered at {email}', 'app.register-result.activation-email': 'The activation email has been sent to your email address and is valid for 24 hours. Please log in to the email in time and click on the link in the email to activate the account.', @@ -125,13 +125,13 @@ export default { 'app.analysis.test': 'Gongzhuan No.{no} shop', 'app.analysis.introduce': 'Introduce', 'app.analysis.total-sales': 'Total Sales', - 'app.analysis.day-sales': 'Day Sales', + 'app.analysis.day-sales': 'Daily Sales', 'app.analysis.visits': 'Visits', 'app.analysis.visits-trend': 'Visits Trend', 'app.analysis.visits-ranking': 'Visits Ranking', - 'app.analysis.day-visits': 'Day Visits', - 'app.analysis.week': 'Week Ratio', - 'app.analysis.day': 'Day Ratio', + 'app.analysis.day-visits': 'Daily Visits', + 'app.analysis.week': 'WoW Change', + 'app.analysis.day': 'DoD Change', 'app.analysis.payments': 'Payments', 'app.analysis.conversion-rate': 'Conversion Rate', 'app.analysis.operational-effect': 'Operational Effect', diff --git a/src/locales/pt-BR.js b/src/locales/pt-BR.js index 241600f53d47687124905b254901ce70afc65f91..8e6627ca67ebad651c3d91afae7d369e567f7a06 100644 --- a/src/locales/pt-BR.js +++ b/src/locales/pt-BR.js @@ -71,7 +71,8 @@ export default { 'menu.account.settings': 'Configurar Conta', 'menu.account.trigger': 'Disparar Erro', 'menu.account.logout': 'Sair', - 'app.login.message-invalid-credentials': 'Nome de usuário ou senha inválidosd(admin/ant.design)', + 'app.login.message-invalid-credentials': + 'Nome de usuário ou senha inválidosd(admin/ant.design)', 'app.login.message-invalid-verification-code': 'Código de verificação inválido', 'app.login.tab-login-credentials': 'Credenciais', 'app.login.tab-login-mobile': 'Telefone', @@ -82,7 +83,7 @@ export default { 'app.login.login': 'Login', 'app.register.register': 'Cadastro', 'app.register.get-verification-code': 'Recuperar código', - 'app.register.sing-in': 'Já tem uma conta?', + 'app.register.sign-in': 'Já tem uma conta?', 'app.register-result.msg': 'Conta:registrada em {email}', 'app.register-result.activation-email': 'Um email de ativação foi enviado para o seu email e é válido por 24 horas. Por favor entre no seu email e clique no link de ativação da conta.', diff --git a/src/locales/zh-CN.js b/src/locales/zh-CN.js index 376d3cb9a853c19fff4f400d30eeb9c77fdff5d7..1b16e5ffbb714681338195bf166a7e72464772c3 100644 --- a/src/locales/zh-CN.js +++ b/src/locales/zh-CN.js @@ -113,7 +113,7 @@ export default { 'app.login.login': '登录', 'app.register.register': '注册', 'app.register.get-verification-code': '获取验证码', - 'app.register.sing-in': '使用已有账户登录', + 'app.register.sign-in': '使用已有账户登录', 'app.register-result.msg': '你的账户:{email} 注册成功', 'app.register-result.activation-email': '激活邮件已发送到你的邮箱中,邮件有效期为24小时。请及时登录邮箱,点击邮件中的链接激活帐户。', diff --git a/src/locales/zh-TW.js b/src/locales/zh-TW.js index 56cef40de4087e6ca5c5079615ebb524f0adba0f..b919c44c540c2c35a1bb4cfc644b96397aeaef65 100644 --- a/src/locales/zh-TW.js +++ b/src/locales/zh-TW.js @@ -113,7 +113,7 @@ export default { 'app.login.login': '登錄', 'app.register.register': '註冊', 'app.register.get-verification-code': '獲取驗證碼', - 'app.register.sing-in': '使用已有賬戶登錄', + 'app.register.sign-in': '使用已有賬戶登錄', 'app.register-result.msg': '妳的賬戶:{email} 註冊成功', 'app.register-result.activation-email': '激活郵件已發送到妳的郵箱中,郵件有效期為24小時。請及時登錄郵箱,點擊郵件中的鏈接激活帳戶。', diff --git a/src/pages/Dashboard/Analysis.js b/src/pages/Dashboard/Analysis.js index 03944e5c3f82f18cce4c8fccc5a1dd7fe202e12f..0c4a549afaa29808b990bb2c1c21408499be332d 100644 --- a/src/pages/Dashboard/Analysis.js +++ b/src/pages/Dashboard/Analysis.js @@ -292,7 +292,7 @@ class Analysis extends Component { action={ + } > @@ -303,7 +303,7 @@ class Analysis extends Component { footer={ + } value={`¥${numeral(12423).format('0,0')}`} /> @@ -320,15 +320,16 @@ class Analysis extends Component { + } + title={} action={ + } > @@ -338,7 +339,7 @@ class Analysis extends Component { footer={ + } value={numeral(1234).format('0,0')} /> @@ -392,7 +393,7 @@ class Analysis extends Component { action={ + } > @@ -402,11 +403,11 @@ class Analysis extends Component { footer={
- + 12% - + 11%
diff --git a/src/pages/User/Register.js b/src/pages/User/Register.js index 15ef53f660ef9cf142a486146ee56aab5981a1e3..ea4565c28bac77692a0f520ef372b7f4b8e5dc0a 100644 --- a/src/pages/User/Register.js +++ b/src/pages/User/Register.js @@ -322,7 +322,7 @@ class Register extends Component { - +