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

@@ -3,30 +3,30 @@ import intl from 'react-intl-universal';
export const getAddMoneyInOptions = () => [
{
name: intl.get('cash_flow.owner_contribution'),
name: intl.get('banking.owner_contribution'),
value: 'owner_contribution',
},
{
name: intl.get('cash_flow.other_income'),
name: intl.get('banking.other_income'),
value: 'other_income',
},
{
name: intl.get('cash_flow.transfer_form_account'),
name: intl.get('banking.transfer_form_account'),
value: 'transfer_from_account',
},
];
export const getAddMoneyOutOptions = () => [
{
name: intl.get('cash_flow.owner_drawings'),
name: intl.get('banking.owner_drawings'),
value: 'OwnerDrawing',
},
{
name: intl.get('cash_flow.expenses'),
name: intl.get('banking.expenses'),
value: 'other_expense',
},
{
name: intl.get('cash_flow.transfer_to_account'),
name: intl.get('banking.transfer_to_account'),
value: 'transfer_to_account',
},
];

View File

@@ -441,12 +441,12 @@ export const SidebarMenu = [
// # Cashflow
// ---------------
{
text: <T id={'siebar.cashflow'} />,
text: <T id={'sidebar.banking'} />,
type: ISidebarMenuItemType.Overlay,
overlayId: ISidebarMenuOverlayIds.Cashflow,
children: [
{
text: <T id={'siebar.cashflow'} />,
text: <T id={'sidebar.banking'} />,
type: ISidebarMenuItemType.Group,
children: [
{