Skip to content

Commit

Permalink
feat: localize the preferences menu
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Dec 16, 2023
1 parent 6953f7c commit a862ee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/webapp/src/constants/preferencesMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ export default [
href: '/preferences/users',
},
{
text: 'Estimates',
text: <T id={'preferences.estimates'} />,
href: '/preferences/estimates',
},
{
text: 'Invoices',
text: <T id={'preferences.invoices'} />,
href: '/preferences/invoices',
},
{
text: 'Receipts',
text: <T id={'preferences.receipts'} />,
href: '/preferences/receipts',
},
{
text: 'Credit Notes',
text: <T id={'preferences.creditNotes'} />,
href: '/preferences/credit-notes',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { AppToaster } from '@/components';
import { PreferencesEstimatesFormSchema } from './PreferencesEstimatesForm.schema';
import { PreferencesEstimatesForm } from './PreferencesEstimatesForm';
import withDashboardActions from '@/containers/Dashboard/withDashboardActions';
import withSettings from '@/containers/Settings/withSettings';

import { transferObjectOptionsToArray } from '../Accountant/utils';
import { compose, transformToForm, transfromToSnakeCase } from '@/utils';
Expand Down

0 comments on commit a862ee9

Please sign in to comment.