feat: add localiztion.

This commit is contained in:
elforjani13
2021-11-27 11:50:21 +02:00
parent 012f204c5c
commit f98b429fcc
4 changed files with 23 additions and 9 deletions

View File

@@ -67,7 +67,7 @@ export function useCurrenciesTableColumns() {
width: 120,
},
{
Header: 'Currency sign',
Header: intl.get('currency_sign'),
width: 120,
accessor: 'currency_sign'
},

View File

@@ -131,7 +131,7 @@ export const useUsersListColumns = () => {
},
{
id: 'role_name',
Header: intl.get('roles.column.role_name'),
Header: intl.get('users.column.role_name'),
accessor: 'role.name',
width: 120,
},
@@ -143,7 +143,7 @@ export const useUsersListColumns = () => {
// },
{
id: 'status',
Header: 'Status',
Header: intl.get('status'),
accessor: StatusAccessor,
width: 80,
className: 'status',