Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 4 additions & 25 deletions src/components/SubStepForms/ConfirmationStep.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ import {View} from 'react-native';
import Button from '@components/Button';
import DotIndicatorMessage from '@components/DotIndicatorMessage';
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
import RenderHTML from '@components/RenderHTML';
import ScrollView from '@components/ScrollView';
import Text from '@components/Text';
import TextLink from '@components/TextLink';
import useLocalize from '@hooks/useLocalize';
import useNetwork from '@hooks/useNetwork';
import useSafeAreaPaddings from '@hooks/useSafeAreaPaddings';
import type {SubStepProps} from '@hooks/useSubStep/types';
import useThemeStyles from '@hooks/useThemeStyles';
import type {ForwardedFSClassProps} from '@libs/Fullstory/types';
import CONST from '@src/CONST';

type SummaryItem = {
description: string;
Expand Down Expand Up @@ -80,29 +79,9 @@ function ConfirmationStep({
))}

{showOnfidoLinks && (
<Text style={[styles.mt3, styles.ph5, styles.textMicroSupporting]}>
{onfidoLinksTitle}
<TextLink
href={CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}
style={[styles.textMicro]}
>
{translate('onfidoStep.facialScan')}
</TextLink>
{', '}
<TextLink
href={CONST.ONFIDO_PRIVACY_POLICY_URL}
style={[styles.textMicro]}
>
{translate('common.privacy')}
</TextLink>
{` ${translate('common.and')} `}
<TextLink
href={CONST.ONFIDO_TERMS_OF_SERVICE_URL}
style={[styles.textMicro]}
>
{translate('common.termsOfService')}
</TextLink>
</Text>
<View style={[styles.renderHTML, styles.ph5, styles.mt3]}>
<RenderHTML html={translate('onfidoStep.onfidoLinks', onfidoLinksTitle ?? '')} />
</View>
)}

<View style={[styles.ph5, styles.mt5, styles.flexGrow1, styles.justifyContentEnd]}>
Expand Down
2 changes: 2 additions & 0 deletions src/languages/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3176,6 +3176,8 @@ ${
onfidoStep: {
acceptTerms: 'Indem Sie mit der Anfrage zur Aktivierung Ihres Expensify Wallets fortfahren, bestätigen Sie, dass Sie gelesen, verstanden und akzeptiert haben',
facialScan: 'Onfidos Richtlinie und Einverständniserklärung zur Gesichtserfassung',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Onfidos Richtlinie und Einverständniserklärung zur Gesichtserfassung</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Datenschutz</a> und <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Nutzungsbedingungen</a>.</muted-text-micro>`,
tryAgain: 'Erneut versuchen',
verifyIdentity: 'Identität bestätigen',
letsVerifyIdentity: 'Lass uns deine Identität bestätigen',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3160,6 +3160,8 @@ const translations = {
onfidoStep: {
acceptTerms: 'By continuing with the request to activate your Expensify Wallet, you confirm that you have read, understand, and accept',
facialScan: 'Onfido’s Facial Scan Policy and Release',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Onfido’s Facial Scan Policy and Release</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Privacy</a> and <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Terms of Service</a>.</muted-text-micro>`,
tryAgain: 'Try again',
verifyIdentity: 'Verify identity',
letsVerifyIdentity: "Let's verify your identity",
Expand Down
2 changes: 2 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2879,6 +2879,8 @@ ${amount} para ${merchant} - ${date}`,
onfidoStep: {
acceptTerms: 'Al continuar con la solicitud para activar tu Billetera Expensify, confirma que ha leído, comprende y acepta ',
facialScan: 'Política y lanzamiento de la exploración facial de Onfido',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Política y lanzamiento de la exploración facial de Onfido</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Privacidad</a> y <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Términos de Servicio</a>.</muted-text-micro>`,
tryAgain: 'Intentar otra vez',
verifyIdentity: 'Verificar identidad',
letsVerifyIdentity: '¡Vamos a verificar tu identidad!',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3182,6 +3182,8 @@ ${
onfidoStep: {
acceptTerms: 'En poursuivant la demande d’activation de votre Expensify Wallet, vous confirmez que vous avez lu, compris et accepté',
facialScan: 'Politique et autorisation de scan facial d’Onfido',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Politique et autorisation de scan facial d’Onfido</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Confidentialité</a> et <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Conditions d’utilisation</a>.</muted-text-micro>`,
tryAgain: 'Réessayer',
verifyIdentity: 'Vérifier l’identité',
letsVerifyIdentity: 'Vérifions votre identité',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3165,6 +3165,8 @@ ${
onfidoStep: {
acceptTerms: 'Continuando con la richiesta di attivare il tuo Expensify Wallet, confermi di aver letto, compreso e accettato',
facialScan: 'Informativa e liberatoria di Onfido per la scansione facciale',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Informativa e liberatoria di Onfido per la scansione facciale</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Privacy</a> e <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Termini di servizio</a>.</muted-text-micro>`,
tryAgain: 'Riprova',
verifyIdentity: 'Verifica identità',
letsVerifyIdentity: 'Verifichiamo la tua identità',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3156,6 +3156,8 @@ ${
onfidoStep: {
acceptTerms: 'Expensifyウォレットの有効化リクエストを続行することにより、あなたは次の内容を読み、理解し、承諾したことを確認します',
facialScan: 'Onfido 顔認証ポリシーおよび同意書',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Onfido 顔認証ポリシーおよび同意書</a>、<a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>プライバシー</a> と <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>利用規約</a>。</muted-text-micro>`,
tryAgain: '再試行',
verifyIdentity: '本人確認',
letsVerifyIdentity: '本人確認を行いましょう',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3163,6 +3163,8 @@ ${
onfidoStep: {
acceptTerms: 'Door door te gaan met het verzoek om uw Expensify Wallet te activeren, bevestigt u dat u hebt gelezen, begrijpt en accepteert',
facialScan: 'Onfido’s beleid en vrijgave voor gelaatscan',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Onfido’s beleid en vrijgave voor gelaatscan</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Privacy</a> en <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Servicevoorwaarden</a>.</muted-text-micro>`,
tryAgain: 'Opnieuw proberen',
verifyIdentity: 'Identiteit verifiëren',
letsVerifyIdentity: 'Laten we je identiteit verifiëren',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3156,6 +3156,8 @@ ${
onfidoStep: {
acceptTerms: 'Kontynuując żądanie aktywacji portfela Expensify, potwierdzasz, że przeczytałeś, rozumiesz i akceptujesz',
facialScan: 'Polityka i zgoda na skan twarzy Onfido',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Polityka i zgoda na skan twarzy Onfido</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Prywatność</a> i <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Warunki korzystania z usługi</a>.</muted-text-micro>`,
tryAgain: 'Spróbuj ponownie',
verifyIdentity: 'Zweryfikuj tożsamość',
letsVerifyIdentity: 'Zweryfikujmy Twoją tożsamość',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/pt-BR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3157,6 +3157,8 @@ ${
onfidoStep: {
acceptTerms: 'Ao prosseguir com o pedido para ativar sua Carteira Expensify, você confirma que leu, compreende e aceita',
facialScan: 'Política e Autorização de Varredura Facial da Onfido',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Política e Autorização de Varredura Facial da Onfido</a>, <a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>Privacidade</a> e <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>Termos de Serviço</a>.</muted-text-micro>`,
tryAgain: 'Tentar novamente',
verifyIdentity: 'Verificar identidade',
letsVerifyIdentity: 'Vamos verificar sua identidade',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/zh-hans.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3115,6 +3115,8 @@ ${
onfidoStep: {
acceptTerms: '通过继续申请激活您的 Expensify Wallet,即表示您确认已阅读、理解并接受',
facialScan: 'Onfido 面部扫描政策与授权',
onfidoLinks: (onfidoTitle: string) =>
`<muted-text-micro>${onfidoTitle} <a href='${CONST.ONFIDO_FACIAL_SCAN_POLICY_URL}'>Onfido 面部扫描政策与授权</a>,<a href='${CONST.ONFIDO_PRIVACY_POLICY_URL}'>隐私</a> 和 <a href='${CONST.ONFIDO_TERMS_OF_SERVICE_URL}'>服务条款</a>。</muted-text-micro>`,
tryAgain: '重试',
verifyIdentity: '验证身份',
letsVerifyIdentity: '让我们验证您的身份',
Expand Down
Loading