From 412f97430a3c12d55c4d112d1d22e761e47fb12d Mon Sep 17 00:00:00 2001 From: James Dean Date: Wed, 2 Jul 2025 11:11:32 -0700 Subject: [PATCH 1/4] Update en.ts Slack convo: https://expensify.slack.com/archives/C03U7DCU4/p1751413340464589 --- src/languages/en.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index f4797d79e05e..0399aa65335e 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -6339,7 +6339,7 @@ const translations = { categoryOutOfPolicy: 'Category no longer valid', conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Applied ${surcharge}% conversion surcharge`, customUnitOutOfPolicy: 'Rate not valid for this workspace', - duplicatedTransaction: 'Duplicate', + duplicatedTransaction: 'Potential duplicate', fieldRequired: 'Report fields are required', futureDate: 'Future date not allowed', invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Marked up by ${invoiceMarkup}%`, From a66408bca9ab0bcde3379093b3d2847932a23e12 Mon Sep 17 00:00:00 2001 From: James Dean Date: Wed, 2 Jul 2025 11:16:34 -0700 Subject: [PATCH 2/4] Update es.ts --- src/languages/es.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/es.ts b/src/languages/es.ts index 888858130983..5d98776909ef 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -6825,7 +6825,7 @@ const translations = { categoryOutOfPolicy: 'La categoría ya no es válida', conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `${surcharge}% de recargo aplicado`, customUnitOutOfPolicy: 'Tasa inválida para este espacio de trabajo', - duplicatedTransaction: 'Duplicado', + duplicatedTransaction: 'Posible duplicado', fieldRequired: 'Los campos del informe son obligatorios', futureDate: 'Fecha futura no permitida', invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Incrementado un ${invoiceMarkup}%`, From bd30bf9d49da3a0cc226238ee0da9de6fc83a4ba Mon Sep 17 00:00:00 2001 From: Scott Deeter Date: Thu, 3 Jul 2025 11:22:06 -0700 Subject: [PATCH 3/4] Testing something for James --- tests/ui/TransactionItemRowRBRTest.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ui/TransactionItemRowRBRTest.tsx b/tests/ui/TransactionItemRowRBRTest.tsx index 4219d80ce644..9d42d97caeff 100644 --- a/tests/ui/TransactionItemRowRBRTest.tsx +++ b/tests/ui/TransactionItemRowRBRTest.tsx @@ -11,7 +11,7 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {TransactionViolations} from '@src/types/onyx'; import createRandomReportAction from '../utils/collections/reportActions'; -import {createRandomReport} from '../utils/collections/reports'; +import createRandomReport from '../utils/collections/reports'; import createRandomTransaction from '../utils/collections/transaction'; import waitForBatchedUpdates from '../utils/waitForBatchedUpdates'; @@ -145,7 +145,7 @@ describe('TransactionItemRowRBRWithOnyx', () => { await waitForBatchedUpdates(); // Then the RBR message should be displayed with both violations - expect(screen.getByText('Missing category. Duplicate.')).toBeOnTheScreen(); + expect(screen.getByText('Missing category. Potential duplicate.')).toBeOnTheScreen(); }); it('should display RBR message for transaction with report action errors', async () => { @@ -320,7 +320,7 @@ describe('TransactionItemRowRBR', () => { await waitForBatchedUpdates(); // Then the RBR message should be displayed with both violations - expect(screen.getByText('Missing category. Duplicate.')).toBeOnTheScreen(); + expect(screen.getByText('Missing category. Potential duplicate.')).toBeOnTheScreen(); }); it('should display RBR message for transaction with violations, and missing merchant error', async () => { From 05b5e366a0c93e29f10e2329ee085b6071750791 Mon Sep 17 00:00:00 2001 From: Scott Deeter Date: Thu, 3 Jul 2025 11:40:51 -0700 Subject: [PATCH 4/4] Undo change --- tests/ui/TransactionItemRowRBRTest.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/TransactionItemRowRBRTest.tsx b/tests/ui/TransactionItemRowRBRTest.tsx index 9d42d97caeff..7cf82ef59ea9 100644 --- a/tests/ui/TransactionItemRowRBRTest.tsx +++ b/tests/ui/TransactionItemRowRBRTest.tsx @@ -11,7 +11,7 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {TransactionViolations} from '@src/types/onyx'; import createRandomReportAction from '../utils/collections/reportActions'; -import createRandomReport from '../utils/collections/reports'; +import {createRandomReport} from '../utils/collections/reports'; import createRandomTransaction from '../utils/collections/transaction'; import waitForBatchedUpdates from '../utils/waitForBatchedUpdates';