diff --git a/packages/desktop-client/src/components/budget/BudgetTotals.tsx b/packages/desktop-client/src/components/budget/BudgetTotals.tsx index 65c2dff9ab..fa3e348b28 100644 --- a/packages/desktop-client/src/components/budget/BudgetTotals.tsx +++ b/packages/desktop-client/src/components/budget/BudgetTotals.tsx @@ -1,4 +1,5 @@ import React, { type ComponentProps, memo, useRef, useState } from 'react'; +import { useTranslation, Trans } from 'react-i18next'; import { SvgDotsHorizontalTriple } from '../../icons/v1'; import { theme, styles } from '../../style'; @@ -23,6 +24,7 @@ export const BudgetTotals = memo(function BudgetTotals({ expandAllCategories, collapseAllCategories, }: BudgetTotalsProps) { + const { t } = useTranslation(); const [menuOpen, setMenuOpen] = useState(false); const triggerRef = useRef(null); @@ -54,11 +56,13 @@ export const BudgetTotals = memo(function BudgetTotals({ WebkitUserSelect: 'none', }} > - Category + + Category +