From 390e0e0067d774d7b9c087024d820e6524107299 Mon Sep 17 00:00:00 2001 From: jeet-dhandha Date: Thu, 13 Jul 2023 21:20:32 +0530 Subject: [PATCH] update money request titles --- src/components/MoneyRequestConfirmationList.js | 10 +++++----- src/languages/en.js | 4 ++-- src/languages/es.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/MoneyRequestConfirmationList.js b/src/components/MoneyRequestConfirmationList.js index 895dfe756489..3a2e6be34e6e 100755 --- a/src/components/MoneyRequestConfirmationList.js +++ b/src/components/MoneyRequestConfirmationList.js @@ -133,7 +133,7 @@ function MoneyRequestConfirmationList(props) { const selectedParticipants = useMemo(() => _.filter(props.participants, (participant) => participant.selected), [props.participants]); const payeePersonalDetails = useMemo(() => props.payeePersonalDetails || props.currentUserPersonalDetails, [props.payeePersonalDetails, props.currentUserPersonalDetails]); const canModifyParticipants = !props.isReadOnly && props.canModifyParticipants && props.hasMultipleParticipants; - const shouldDisableWhoPaidSection = canModifyParticipants; + const shouldDisablePaidBySection = canModifyParticipants; const optionSelectorSections = useMemo(() => { const sections = []; @@ -150,14 +150,14 @@ function MoneyRequestConfirmationList(props) { sections.push( { - title: translate('moneyRequestConfirmationList.whoPaid'), + title: translate('moneyRequestConfirmationList.paidBy'), data: [formattedPayeeOption], shouldShow: true, indexOffset: 0, - isDisabled: shouldDisableWhoPaidSection, + isDisabled: shouldDisablePaidBySection, }, { - title: translate('moneyRequestConfirmationList.whoWasThere'), + title: translate('moneyRequestConfirmationList.splitWith'), data: formattedParticipantsList, shouldShow: true, indexOffset: 1, @@ -181,7 +181,7 @@ function MoneyRequestConfirmationList(props) { selectedParticipants, payeePersonalDetails, translate, - shouldDisableWhoPaidSection, + shouldDisablePaidBySection, ]); const selectedOptions = useMemo(() => { diff --git a/src/languages/en.js b/src/languages/en.js index 29e1523bf3b1..d7cfc91399cc 100755 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -201,8 +201,8 @@ export default { tfaRequiredDescription: 'Please enter the two-factor authentication code\nwhere you are trying to sign in.', }, moneyRequestConfirmationList: { - whoPaid: 'Who paid?', - whoWasThere: 'Who was there?', + paidBy: 'Paid by', + splitWith: 'Split with', whatsItFor: "What's it for?", }, iOUCurrencySelection: { diff --git a/src/languages/es.js b/src/languages/es.js index 4b81e0ceb61b..79dfcc683d6a 100644 --- a/src/languages/es.js +++ b/src/languages/es.js @@ -200,8 +200,8 @@ export default { tfaRequiredDescription: 'Por favor, introduce el código de autenticación de dos factores\ndonde estás intentando iniciar sesión.', }, moneyRequestConfirmationList: { - whoPaid: '¿Quién pago?', - whoWasThere: '¿Quién asistió?', + paidBy: 'Pagado por', + splitWith: 'Dividir con', whatsItFor: '¿Para qué es?', }, iOUCurrencySelection: {