Skip to content

Commit

Permalink
i18 translation
Browse files Browse the repository at this point in the history
  • Loading branch information
nmathey committed Sep 4, 2024
1 parent bc04a8c commit afd99c5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { type ComponentProps, memo, useRef, useState } from 'react';
import { useTranslation } from 'react-i18next';

import { SvgDotsHorizontalTriple } from '../../icons/v1';
import { theme, styles } from '../../style';
Expand All @@ -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);

Expand Down Expand Up @@ -54,7 +56,7 @@ export const BudgetTotals = memo(function BudgetTotals({
WebkitUserSelect: 'none',
}}
>
<View style={{ flexGrow: '1' }}>Category</View>
<View style={{ flexGrow: '1' }}>{t('Category')}</View>
<Button
ref={triggerRef}
variant="bare"
Expand Down

0 comments on commit afd99c5

Please sign in to comment.