Skip to content

Commit

Permalink
Merge pull request #5417 from Expensify/cmartins-formatPersonalInfo
Browse files Browse the repository at this point in the history
Tidy Personal Information Step Terms & Regulations
  • Loading branch information
johnmlee101 authored Sep 28, 2021
2 parents b37e87e + 20d45b4 commit 8db0dd0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
1 change: 0 additions & 1 deletion src/languages/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,6 @@ export default {
requestorStep: {
headerTitle: 'Personal information',
subtitle: 'Please provide your personal information.',
financialRegulations: 'Financial regulation and bank rules require us to validate the identity of any individual setting up bank accounts on behalf of a company. ',
learnMore: 'Learn more',
isMyDataSafe: 'Is my data safe?',
onFidoConditions: 'By continuing with the request to add this bank account, you confirm that you have read, understand and accept ',
Expand Down
1 change: 0 additions & 1 deletion src/languages/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,6 @@ export default {
requestorStep: {
headerTitle: 'Información personal',
subtitle: 'Dé más información sobre tí.',
financialRegulations: 'Las leyes fiscales y el reglamento bancario nos obliga a verificar la identidad de todo individuo que desee añadir una cuenta bancaria representando a una compañía. ',
learnMore: 'Más información',
isMyDataSafe: '¿Están seguros mis datos?',
onFidoConditions: 'Al continuar con la solicitud de añadir esta cuenta bancaria, confirma que ha leído, entiende y acepta ',
Expand Down
32 changes: 16 additions & 16 deletions src/pages/ReimbursementAccount/RequestorStep.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import lodashGet from 'lodash/get';
import {View} from 'react-native';
import {View, Linking} from 'react-native';
import {withOnyx} from 'react-native-onyx';
import styles from '../../styles/styles';
import withLocalize, {withLocalizePropTypes} from '../../components/withLocalize';
Expand Down Expand Up @@ -215,31 +215,31 @@ class RequestorStep extends React.Component {
errorText={this.props.reimbursementAccount.error === this.props.translate('requestorStep.isControllingOfficerError')
? this.props.translate('requestorStep.isControllingOfficerError') : ''}
/>
<Text style={[styles.textMicroSupporting, styles.mt5]}>
{this.props.translate('requestorStep.financialRegulations')}
</Text>
<Text style={[styles.mt3, styles.textMicroSupporting]}>
{this.props.translate('requestorStep.onFidoConditions')}
<TextLink
style={styles.textMicro}
href="https://onfido.com/facial-scan-policy-and-release/"
<Text
onPress={() => Linking.openURL('https://onfido.com/facial-scan-policy-and-release/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('requestorStep.onFidoFacialScan')}`}
</TextLink>
</Text>
{', '}
<TextLink
style={styles.textMicro}
href="https://onfido.com/privacy/"
<Text
onPress={() => Linking.openURL('https://onfido.com/privacy/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('common.privacyPolicy')}`}
</TextLink>
</Text>
{` ${this.props.translate('common.and')} `}
<TextLink
style={styles.textMicro}
href="https://onfido.com/terms-of-service/"
<Text
onPress={() => Linking.openURL('https://onfido.com/terms-of-service/')}
style={[styles.textMicro, styles.link]}
accessibilityRole="link"
>
{`${this.props.translate('common.termsOfService')}`}
</TextLink>
</Text>
</Text>
</ReimbursementAccountForm>
)}
Expand Down

0 comments on commit 8db0dd0

Please sign in to comment.