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

@@ -2,31 +2,31 @@ import intl from 'react-intl-universal';
export const addMoneyIn = [
{
name: intl.get('cash_flow.option_owner_contribution'),
name: intl.get('cash_flow.owner_contribution'),
value: 'owner_contribution',
},
{
name: intl.get('cash_flow.option_other_income'),
name: intl.get('cash_flow.other_income'),
type: 'OTHER_INCOME',
value: 'other_income',
},
{
name: intl.get('cash_flow.option_transfer_form_account'),
name: intl.get('cash_flow.transfer_form_account'),
value: 'transfer_from_account',
},
];
export const addMoneyOut = [
{
name: intl.get('cash_flow.option_owner_drawings'),
name: intl.get('cash_flow.owner_drawings'),
value: 'onwers_drawing',
},
{
name: intl.get('cash_flow.option_expenses'),
name: intl.get('cash_flow.expenses'),
value: 'other_expense',
},
{
name: intl.get('cash_flow.option_transfer_to_account'),
name: intl.get('cash_flow.transfer_to_account'),
value: 'transfer_to_account',
},
];