feat: change banking service language

This commit is contained in:
Ahmed Bouhuolia
2024-08-22 20:49:15 +02:00
parent 07740a51ef
commit 820b363f79
11 changed files with 58 additions and 58 deletions

View File

@@ -227,7 +227,7 @@ function AccountTransactionsActionsBar({
<CashFlowMenuItems
items={addMoneyInOptions}
onItemSelect={handleMoneyInFormTransaction}
text={<T id={'cash_flow.label.add_money_in'} />}
text={<T id={'banking.label.add_money_in'} />}
buttonProps={{
icon: <Icon icon={'arrow-downward'} iconSize={20} />,
}}
@@ -235,7 +235,7 @@ function AccountTransactionsActionsBar({
<CashFlowMenuItems
items={addMoneyOutOptions}
onItemSelect={handlMoneyOutFormTransaction}
text={<T id={'cash_flow.label.add_money_out'} />}
text={<T id={'banking.label.add_money_out'} />}
buttonProps={{
icon: <Icon icon={'arrow-upward'} iconSize={20} />,
}}

View File

@@ -41,7 +41,7 @@ export function usePendingTransactionsTableColumns() {
},
{
id: 'deposit',
Header: intl.get('cash_flow.label.deposit'),
Header: intl.get('banking.label.deposit'),
accessor: 'formatted_deposit_amount',
width: 40,
className: 'deposit',
@@ -51,7 +51,7 @@ export function usePendingTransactionsTableColumns() {
},
{
id: 'withdrawal',
Header: intl.get('cash_flow.label.withdrawal'),
Header: intl.get('banking.label.withdrawal'),
accessor: 'formatted_withdrawal_amount',
className: 'withdrawal',
width: 40,

View File

@@ -121,7 +121,7 @@ export function useAccountUncategorizedTransactionsColumns() {
},
{
id: 'deposit',
Header: intl.get('cash_flow.label.deposit'),
Header: intl.get('banking.label.deposit'),
accessor: 'formatted_deposit_amount',
width: 40,
className: 'deposit',
@@ -131,7 +131,7 @@ export function useAccountUncategorizedTransactionsColumns() {
},
{
id: 'withdrawal',
Header: intl.get('cash_flow.label.withdrawal'),
Header: intl.get('banking.label.withdrawal'),
accessor: 'formatted_withdrawal_amount',
className: 'withdrawal',
width: 40,

View File

@@ -116,7 +116,7 @@ export function useAccountTransactionsColumns() {
},
{
id: 'deposit',
Header: intl.get('cash_flow.label.deposit'),
Header: intl.get('banking.label.deposit'),
accessor: 'formatted_deposit',
width: 110,
className: 'deposit',
@@ -126,7 +126,7 @@ export function useAccountTransactionsColumns() {
},
{
id: 'withdrawal',
Header: intl.get('cash_flow.label.withdrawal'),
Header: intl.get('banking.label.withdrawal'),
accessor: 'formatted_withdrawal',
className: 'withdrawal',
width: 150,
@@ -136,7 +136,7 @@ export function useAccountTransactionsColumns() {
},
{
id: 'running_balance',
Header: intl.get('cash_flow.label.running_balance'),
Header: intl.get('banking.label.running_balance'),
accessor: 'formatted_running_balance',
className: 'running_balance',
width: 150,

View File

@@ -78,13 +78,13 @@ function CashFlowAccountsActionsBar({
<Button
className={Classes.MINIMAL}
icon={<Icon icon={'plus-24'} iconSize={20} />}
text={<T id={'cash_flow.label.add_cash_account'} />}
text={<T id={'banking.label.add_cash_account'} />}
onClick={handleAddBankAccount}
/>
<Button
className={Classes.MINIMAL}
icon={<Icon icon={'plus-24'} iconSize={20} />}
text={<T id={'cash_flow.label.add_bank_account'} />}
text={<T id={'banking.label.add_bank_account'} />}
onClick={handleAddCashAccount}
/>
<NavbarDivider />