From 7db9414f1222f5371935a358efc8625af10c2e7d Mon Sep 17 00:00:00 2001 From: Jose Selesan Date: Tue, 3 Nov 2026 13:53:40 -0300 Subject: [PATCH] feat(i18n): traducir Cobros Co-Authored-By: Claude Opus 5.5 --- .../src/features/payments/CreateGroupLink.tsx | 4 +- .../web/src/features/payments/GroupFilter.tsx | 10 +-- .../src/features/payments/GroupOptionList.tsx | 24 ++++--- apps/web/src/features/payments/PaymentRow.tsx | 8 ++- .../features/payments/PaymentsProvider.tsx | 8 +-- .../src/features/payments/PaymentsView.tsx | 41 ++++++------ .../src/features/payments/ReceiptViewer.tsx | 14 ++-- .../features/payments/ReportedPaymentCard.tsx | 32 ++++++---- .../payments/ReportedPaymentsSection.tsx | 4 +- apps/web/src/features/payments/copy.ts | 7 +- apps/web/src/i18n/i18next.d.ts | 2 + apps/web/src/i18n/locales/en/payments.json | 64 +++++++++++++++++++ .../web/src/i18n/locales/es-419/payments.json | 64 +++++++++++++++++++ apps/web/src/i18n/locales/es-AR/payments.json | 64 +++++++++++++++++++ apps/web/src/i18n/locales/pt-BR/payments.json | 64 +++++++++++++++++++ 15 files changed, 344 insertions(+), 66 deletions(-) create mode 100644 apps/web/src/i18n/locales/en/payments.json create mode 100644 apps/web/src/i18n/locales/es-419/payments.json create mode 100644 apps/web/src/i18n/locales/es-AR/payments.json create mode 100644 apps/web/src/i18n/locales/pt-BR/payments.json diff --git a/apps/web/src/features/payments/CreateGroupLink.tsx b/apps/web/src/features/payments/CreateGroupLink.tsx index 12715b3..231abdb 100644 --- a/apps/web/src/features/payments/CreateGroupLink.tsx +++ b/apps/web/src/features/payments/CreateGroupLink.tsx @@ -1,9 +1,11 @@ import { Link } from '@tanstack/react-router' import { Plus } from 'lucide-react' import { cn } from '../../lib/utils' +import { useTranslation } from 'react-i18next' /* Pie del selector de grupos de Cobros: lleva al alta de grupo. */ export function CreateGroupLink({ compact = false }: { compact?: boolean }) { + const { t } = useTranslation('payments') return (