feat: add lang.

This commit is contained in:
elforjani13
2021-10-27 18:08:11 +02:00
parent f1fec69d52
commit f378275673
7 changed files with 68 additions and 32 deletions

View File

@@ -62,7 +62,7 @@ function AccountBalanceItem() {
return (
<AccountBalanceItemWrap>
{intl.get('cash_flow_balance_in', { name: 'Bigcapital' })}
Balance in Bigcapital {''}
<AccountBalanceAmount>
{currentAccount.formatted_amount}
</AccountBalanceAmount>
@@ -119,12 +119,10 @@ function AccountSwitchMenuItem({
<React.Fragment>
<AccountSwitchItemName>{name}</AccountSwitchItemName>
<AccountSwitchItemTranscations>
25 Transactions
{intl.get('cash_flow_transaction.switch_item', { value: '25' })}
</AccountSwitchItemTranscations>
<AccountSwitchItemUpdatedAt>
Updated before 2 days
</AccountSwitchItemUpdatedAt>
<AccountSwitchItemUpdatedAt></AccountSwitchItemUpdatedAt>
</React.Fragment>
}
{...restProps}

View File

@@ -151,7 +151,7 @@ const CashflowBankAccountEnhanced = compose(
)(CashflowBankAccount);
function getUpdatedBeforeText(createdAt) {
return 'Updated before 2 years.';
return ''
}
/**