From 546a4fbee50e6c5f3045302856070efdabaf109e Mon Sep 17 00:00:00 2001 From: Nicolay Arefyeu Date: Wed, 20 Nov 2024 15:45:42 +0200 Subject: [PATCH 1/2] Add amex custom feed new option --- src/CONST.ts | 1 + src/languages/en.ts | 1 + src/languages/es.ts | 1 + src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx | 7 +++++++ 4 files changed, 10 insertions(+) diff --git a/src/CONST.ts b/src/CONST.ts index faa3d35a5e06..9d901da5f879 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -2815,6 +2815,7 @@ const CONST = { AMEX_CUSTOM_FEED: { CORPORATE: 'American Express Corporate Cards', BUSINESS: 'American Express Business Cards', + PERSONAL: 'American Express Personal Cards', }, DELETE_TRANSACTIONS: { RESTRICT: 'corporate', diff --git a/src/languages/en.ts b/src/languages/en.ts index e64fafd008b0..145c2455e6f7 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -3227,6 +3227,7 @@ const translations = { }, amexCorporate: 'Select this if the front of your cards say “Corporate”', amexBusiness: 'Select this if the front of your cards say “Business”', + amexPersonal: 'Select this if your cards are personal', error: { pleaseSelectProvider: 'Please select a card provider before continuing.', pleaseSelectBankAccount: 'Please select a bank account before continuing.', diff --git a/src/languages/es.ts b/src/languages/es.ts index c4664386a19e..85d651b00af6 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -3268,6 +3268,7 @@ const translations = { }, amexCorporate: 'Seleccione esto si el frente de sus tarjetas dice “Corporativa”', amexBusiness: 'Seleccione esta opción si el frente de sus tarjetas dice “Negocios”', + amexPersonal: 'Seleccione esta opción si sus tarjetas son personales.', error: { pleaseSelectProvider: 'Seleccione un proveedor de tarjetas antes de continuar.', pleaseSelectBankAccount: 'Seleccione una cuenta bancaria antes de continuar.', diff --git a/src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx b/src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx index 765b42997573..3457da78fc41 100644 --- a/src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx +++ b/src/pages/workspace/companyCards/addNew/AmexCustomFeed.tsx @@ -59,6 +59,13 @@ function AmexCustomFeed() { keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS, isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.BUSINESS, }, + { + value: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL, + text: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL, + alternateText: translate('workspace.companyCards.addNewCard.amexPersonal'), + keyForList: CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL, + isSelected: typeSelected === CONST.COMPANY_CARDS.AMEX_CUSTOM_FEED.PERSONAL, + }, ]; return ( From a5f1064d1b7f3b66908c824e7a58ce20d1e74560 Mon Sep 17 00:00:00 2001 From: narefyev91 Date: Thu, 21 Nov 2024 14:06:33 +0100 Subject: [PATCH 2/2] Update src/languages/es.ts Co-authored-by: Gandalf --- 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 85d651b00af6..02581b9d1179 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -3268,7 +3268,7 @@ const translations = { }, amexCorporate: 'Seleccione esto si el frente de sus tarjetas dice “Corporativa”', amexBusiness: 'Seleccione esta opción si el frente de sus tarjetas dice “Negocios”', - amexPersonal: 'Seleccione esta opción si sus tarjetas son personales.', + amexPersonal: 'Selecciona esta opción si tus tarjetas son personales', error: { pleaseSelectProvider: 'Seleccione un proveedor de tarjetas antes de continuar.', pleaseSelectBankAccount: 'Seleccione una cuenta bancaria antes de continuar.',