diff --git a/client/src/containers/Drawers/ExpenseDrawer/index.js b/client/src/containers/Drawers/ExpenseDrawer/index.js index 6e97a5d60..07031c210 100644 --- a/client/src/containers/Drawers/ExpenseDrawer/index.js +++ b/client/src/containers/Drawers/ExpenseDrawer/index.js @@ -1,6 +1,7 @@ import React, { lazy } from 'react'; import { Drawer, DrawerSuspense } from 'components'; import withDrawers from 'containers/Drawer/withDrawers'; +import intl from 'react-intl-universal'; import { compose } from 'utils'; @@ -17,7 +18,7 @@ function ExpenseDrawer({ payload: { expenseId, title }, }) { return ( - + diff --git a/client/src/containers/Drawers/ManualJournalDrawer/ManualJournalDrawerProvider.js b/client/src/containers/Drawers/ManualJournalDrawer/ManualJournalDrawerProvider.js index ebbf206cd..966971e19 100644 --- a/client/src/containers/Drawers/ManualJournalDrawer/ManualJournalDrawerProvider.js +++ b/client/src/containers/Drawers/ManualJournalDrawer/ManualJournalDrawerProvider.js @@ -1,6 +1,7 @@ import React from 'react'; import { useJournal } from 'hooks/query'; import { DashboardInsider, DrawerHeaderContent } from 'components'; +import intl from 'react-intl-universal'; const ManualJournalDrawerContext = React.createContext(); @@ -25,7 +26,9 @@ function ManualJournalDrawerProvider({ manualJournalId, ...props }) { diff --git a/client/src/containers/Drawers/PaperTemplate/PaperTemplateFooter.js b/client/src/containers/Drawers/PaperTemplate/PaperTemplateFooter.js index cedf261a2..5481982e3 100644 --- a/client/src/containers/Drawers/PaperTemplate/PaperTemplateFooter.js +++ b/client/src/containers/Drawers/PaperTemplate/PaperTemplateFooter.js @@ -1,5 +1,6 @@ import React from 'react'; import { If } from 'components'; +import intl from 'react-intl-universal'; export default function PaperTemplateFooter({ footerData: { terms_conditions }, @@ -8,7 +9,7 @@ export default function PaperTemplateFooter({
-

Conditions and terms

+

{intl.get('conditions_and_terms')}

    diff --git a/client/src/lang/en/index.json b/client/src/lang/en/index.json index 793b102b0..f4566c3d0 100644 --- a/client/src/lang/en/index.json +++ b/client/src/lang/en/index.json @@ -1102,7 +1102,7 @@ "mm_dd_yy_": "MM-DD-YY", "dd_mm_yy_": "DD-MM-YY", "yy_mm_dd_": "YY-MM-DD", - "plan_radio_name":"{name}", + "plan_radio_name": "{name}", "customers_payments": "Customers Payments", "receiving_customer_payments_is_one_pleasant_accounting_tasks": "Receiving payments is one of your more pleasant accounting tasks. The payments transactions will appear once receive payments to invoices.", "estimate_is_used_to_create_bid_proposal_or_quote": "An estimate is used to create a bid, proposal, or quote. The estimate can later be turned into a sales order or an invoice.", @@ -1122,5 +1122,7 @@ "please_refresh_the_page": "Please refresh the page", "waiting_to_redirect": "Waiting to redirect", "refresh_the_page_if_redirect_not_worked": "Refresh the page if redirect not worked.", - "payment_has_been_done_successfully":"Payment has been done successfully." -} \ No newline at end of file + "payment_has_been_done_successfully": "Payment has been done successfully.", + "manual_journal_number": "Manual journal {number}", +"conditions_and_terms":"Conditions and terms" +}