diff --git a/src/components/ReportWelcomeText.js b/src/components/ReportWelcomeText.js index 7c0e8b8f254b..a03b8045feed 100644 --- a/src/components/ReportWelcomeText.js +++ b/src/components/ReportWelcomeText.js @@ -80,7 +80,8 @@ const ReportWelcomeText = (props) => { {isPolicyExpenseChat && ( <> - + {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */} + {props.translate('reportActionsView.beginningOfChatHistoryPolicyExpenseChatPartOne')} @@ -100,7 +101,8 @@ const ReportWelcomeText = (props) => { )} {isChatRoom && ( <> - + {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */} + {isResctrictedRoom ? `${props.translate('reportActionsView.beginningOfChatHistoryRestrictedPartOne')}` : `${props.translate('reportActionsView.beginningOfChatHistoryPrivatePartOne')}`} @@ -117,7 +119,8 @@ const ReportWelcomeText = (props) => { )} {isDefault && ( <> - + {/* Add align center style individually because of limited style inheritance in React Native https://reactnative.dev/docs/text#limited-style-inheritance */} + {props.translate('reportActionsView.beginningOfChatHistory')} {_.map(displayNamesWithTooltips, ({displayName, pronouns}, index) => (