Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}%`,
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}%`,
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/TransactionItemRowRBRTest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down Expand Up @@ -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 () => {
Expand Down
Loading