Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
markliu2013 committed Jan 21, 2024
1 parent 7c7254b commit a1ad3df
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moneywhere-user-fe",
"version": "1.0.0",
"version": "1.0.34",
"private": true,
"scripts": {
"analyze": "cross-env ANALYZE=1 max build",
Expand Down
4 changes: 2 additions & 2 deletions src/components/Footer/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ModalContainer from "@/components/ModalContainer";
import {apiVersion} from "@/services/common";
import styles from './index.less';
import t from '@/utils/i18n';

import packageJson from '/package.json';

export default () => {

Expand All @@ -26,7 +26,7 @@ export default () => {
<Divider type="vertical" />
{/*<a target="_blank" href="https://beian.miit.gov.cn/" rel="noreferrer">{t('footer.no')}</a>*/}
{/*<Divider type="vertical" />*/}
v1.0.32
v{packageJson.version}
<Divider type="vertical" />
api-version: {version}
</div>
Expand Down
1 change: 1 addition & 0 deletions src/locales/en-US/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
'credit.account': 'Credit Account',
'debt.account': 'Debt Account',
'asset.account': 'Asset Account',
'account.rate': 'Rate',

'account.label.balance': 'Current Balance',
'account.label.currencyCode': 'Currency',
Expand Down
1 change: 1 addition & 0 deletions src/locales/zh-CN/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export default {
'credit.account': '信用账户',
'debt.account': '贷款账户',
'asset.account': '资产账户',
'account.rate': '汇率',

'account.label.balance': '当前余额',
'account.label.currencyCode': '币种',
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Account/DataTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ export default ({ type, actionRef }) => {
if (initialState.currentGroup.defaultCurrencyCode !== record.currencyCode) {
currencyItem = (
<span>
{t('convertCurrency') + initialState.currentGroup.defaultCurrencyCode}:{' '}
{record.convertedBalance}
{t('convertCurrency') + initialState.currentGroup.defaultCurrencyCode}: {record.convertedBalance},&nbsp;&nbsp;&nbsp;
{t('account.rate')}{record.rate}
</span>
);
}
Expand Down

0 comments on commit a1ad3df

Please sign in to comment.