From 5ceec73cb44df4a3ddf7dea964293d35fb93abfb Mon Sep 17 00:00:00 2001 From: Leandro Menezes Date: Fri, 13 Dec 2024 09:04:06 -0300 Subject: [PATCH] more translations --- .../src/components/reports/graphs/CalendarGraph.tsx | 5 +++-- .../src/components/reports/reports/Calendar.tsx | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/desktop-client/src/components/reports/graphs/CalendarGraph.tsx b/packages/desktop-client/src/components/reports/graphs/CalendarGraph.tsx index 1e4b5e40b04..c2985176829 100644 --- a/packages/desktop-client/src/components/reports/graphs/CalendarGraph.tsx +++ b/packages/desktop-client/src/components/reports/graphs/CalendarGraph.tsx @@ -1,4 +1,5 @@ import { type Ref, useEffect, useState } from 'react'; +import { Trans } from 'react-i18next'; import { addDays, @@ -126,7 +127,7 @@ export function CalendarGraph({ marginRight: 4, }} > - Income: + Income: - Expenses: + Expenses: {amountToCurrency(calendar.totalIncome)} @@ -822,7 +824,7 @@ function CalendarWithHeader({ flexGrow: 1, justifyContent: 'start', }} - aria-label="Expenses" + aria-label={t('Expenses')} > {amountToCurrency(calendar.totalExpense)} @@ -913,7 +915,7 @@ function CalendarCardHeader({ marginRight: 4, }} > - Income: + Income: {amountToCurrency(totalIncome)} @@ -925,7 +927,7 @@ function CalendarCardHeader({ marginRight: 4, }} > - Expenses: + Expenses: {amountToCurrency(totalExpense)}