feat: localization.

This commit is contained in:
elforjani13
2021-12-23 13:33:02 +02:00
parent 7eea202f9d
commit 789c8db693
3 changed files with 47 additions and 43 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react';
import intl from 'react-intl-universal';
import { DataTable } from 'components';
import styled from 'styled-components';
@@ -37,7 +38,7 @@ export function AmountDisplayedBaseCurrencyMessageJSX({
}) {
return (
<Message>
Amount is displayed in your base currency{' '}
{intl.get('journal_entries.amount_displayed_base_currency')}
<CurrencyTag>{baseCurrency}</CurrencyTag>
</Message>
);