Skip to content

Commit ee37988

Browse files
authored
Merge pull request Expensify#65373 from Expensify/jamesdeanexpensify-patch-1
[NO QA] Update en.ts
2 parents c71d38e + 117e372 commit ee37988

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/languages/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6340,7 +6340,7 @@ const translations = {
63406340
categoryOutOfPolicy: 'Category no longer valid',
63416341
conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `Applied ${surcharge}% conversion surcharge`,
63426342
customUnitOutOfPolicy: 'Rate not valid for this workspace',
6343-
duplicatedTransaction: 'Duplicate',
6343+
duplicatedTransaction: 'Potential duplicate',
63446344
fieldRequired: 'Report fields are required',
63456345
futureDate: 'Future date not allowed',
63466346
invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Marked up by ${invoiceMarkup}%`,

src/languages/es.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6826,7 +6826,7 @@ const translations = {
68266826
categoryOutOfPolicy: 'La categoría ya no es válida',
68276827
conversionSurcharge: ({surcharge}: ViolationsConversionSurchargeParams) => `${surcharge}% de recargo aplicado`,
68286828
customUnitOutOfPolicy: 'Tasa inválida para este espacio de trabajo',
6829-
duplicatedTransaction: 'Duplicado',
6829+
duplicatedTransaction: 'Posible duplicado',
68306830
fieldRequired: 'Los campos del informe son obligatorios',
68316831
futureDate: 'Fecha futura no permitida',
68326832
invoiceMarkup: ({invoiceMarkup}: ViolationsInvoiceMarkupParams) => `Incrementado un ${invoiceMarkup}%`,

tests/ui/TransactionItemRowRBRTest.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ describe('TransactionItemRowRBRWithOnyx', () => {
145145
await waitForBatchedUpdates();
146146

147147
// Then the RBR message should be displayed with both violations
148-
expect(screen.getByText('Missing category. Duplicate.')).toBeOnTheScreen();
148+
expect(screen.getByText('Missing category. Potential duplicate.')).toBeOnTheScreen();
149149
});
150150

151151
it('should display RBR message for transaction with report action errors', async () => {
@@ -320,7 +320,7 @@ describe('TransactionItemRowRBR', () => {
320320
await waitForBatchedUpdates();
321321

322322
// Then the RBR message should be displayed with both violations
323-
expect(screen.getByText('Missing category. Duplicate.')).toBeOnTheScreen();
323+
expect(screen.getByText('Missing category. Potential duplicate.')).toBeOnTheScreen();
324324
});
325325

326326
it('should display RBR message for transaction with violations, and missing merchant error', async () => {

0 commit comments

Comments
 (0)