From 08ea6c48f1d12b28cb8cf346968caadbe3192458 Mon Sep 17 00:00:00 2001 From: Ishpaul Singh <104348397+ishpaul777@users.noreply.github.com> Date: Thu, 20 Jul 2023 09:48:26 +0000 Subject: [PATCH] changes for wording for use plus button --- src/components/ReportWelcomeText.js | 10 +++++----- src/languages/en.js | 2 +- src/languages/es.js | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/ReportWelcomeText.js b/src/components/ReportWelcomeText.js index 86c220400267..844b252dd3e7 100644 --- a/src/components/ReportWelcomeText.js +++ b/src/components/ReportWelcomeText.js @@ -1,13 +1,13 @@ import React from 'react'; import PropTypes from 'prop-types'; import lodashGet from 'lodash/get'; -import {View} from 'react-native'; -import {withOnyx} from 'react-native-onyx'; +import { View } from 'react-native'; +import { withOnyx } from 'react-native-onyx'; import _ from 'underscore'; import UserDetailsTooltip from './UserDetailsTooltip'; import styles from '../styles/styles'; import Text from './Text'; -import withLocalize, {withLocalizePropTypes} from './withLocalize'; +import withLocalize, { withLocalizePropTypes } from './withLocalize'; import compose from '../libs/compose'; import * as ReportUtils from '../libs/ReportUtils'; import * as OptionsListUtils from '../libs/OptionsListUtils'; @@ -96,7 +96,7 @@ function ReportWelcomeText(props) { {isDefault && ( {props.translate('reportActionsView.beginningOfChatHistory')} - {_.map(displayNamesWithTooltips, ({displayName, pronouns, accountID}, index) => ( + {_.map(displayNamesWithTooltips, ({ displayName, pronouns, accountID }, index) => ( )} - {(moneyRequestOptions.includes(CONST.IOU.MONEY_REQUEST_TYPE.SEND) || moneyRequestOptions.includes(CONST.IOU.MONEY_REQUEST_TYPE.REQUEST)) && ( + {(moneyRequestOptions.includes(CONST.IOU.MONEY_REQUEST_TYPE.REQUEST)) && ( {props.translate('reportActionsView.usePlusButton')} )} diff --git a/src/languages/en.js b/src/languages/en.js index 4cf79bbcd097..8d2d2266283f 100755 --- a/src/languages/en.js +++ b/src/languages/en.js @@ -310,7 +310,7 @@ export default { beginningOfChatHistoryPolicyExpenseChatPartThree: ' starts here! 🎉 This is the place to chat, request money and settle up.', chatWithAccountManager: 'Chat with your account manager here', sayHello: 'Say hello!', - usePlusButton: '\n\nYou can also use the + button below to send or request money!', + usePlusButton: '\n\nYou can also use the + button below to request money or assign a task!', }, reportAction: { asCopilot: 'as copilot for', diff --git a/src/languages/es.js b/src/languages/es.js index 27fde8e602ad..e7b0918b0fb4 100644 --- a/src/languages/es.js +++ b/src/languages/es.js @@ -309,7 +309,7 @@ export default { beginningOfChatHistoryPolicyExpenseChatPartThree: ' empieza aquí! 🎉 Este es el lugar donde chatear, pedir dinero y pagar.', chatWithAccountManager: 'Chatea con tu gestor de cuenta aquí', sayHello: '¡Saluda!', - usePlusButton: '\n\n¡También puedes usar el botón + de abajo para enviar o pedir dinero!', + usePlusButton: '\n\n¡También puedes usar el botón + de abajo para pedir dinero o asignar una tarea!', }, reportAction: { asCopilot: 'como copiloto de',