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
44 changes: 27 additions & 17 deletions src/screens/kyc.screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ export default function KycScreen(): JSX.Element {
stepType?.toLowerCase() === KycStepType.VIDEO.toLowerCase()
? KycStepType.SUMSUB_VIDEO
: stepType?.toLowerCase() === KycStepType.AUTO.toLowerCase()
? KycStepType.SUMSUB_AUTO
: (stepType as KycStepType),
? KycStepType.SUMSUB_AUTO
: (stepType as KycStepType),
stepSequence ? +stepSequence : undefined,
),
)
Expand Down Expand Up @@ -1941,22 +1941,32 @@ function FinancialData({ rootRef, code, step, onDone, onBack }: EditProps): JSX.
</div>

{currentQuestion.type === QuestionType.CONFIRMATION ? (
<StyledCheckboxRow
isChecked={currentSelection === currentOptions[0].key}
onChange={(checked) => setValue(checked ? currentOptions[0].key : undefined)}
>
{currentQuestion.key === 'tnc' ? (
<StyledLink label={currentQuestion.description} url={Urls.termsAndConditions} dark />
) : currentQuestion.key === 'notification_of_changes' ? (
<div>
{currentQuestion.description.split(nocLinkText)[0]}
<StyledLink label={nocLinkText} onClick={() => window.open(nocSupportLink, '_blank')} dark />
{currentQuestion.description.split(nocLinkText)[1]}
</div>
) : (
currentQuestion.description
<>
<StyledCheckboxRow
isChecked={currentSelection === currentOptions[0].key}
onChange={(checked) => setValue(checked ? currentOptions[0].key : undefined)}
>
{currentQuestion.key === 'tnc' ? (
<StyledLink label={currentQuestion.description} url={Urls.termsAndConditions} dark />
) : currentQuestion.key === 'notification_of_changes' ? (
<div>
{currentQuestion.description.split(nocLinkText)[0]}
<StyledLink label={nocLinkText} onClick={() => window.open(nocSupportLink, '_blank')} dark />
{currentQuestion.description.split(nocLinkText)[1]}
</div>
) : (
currentQuestion.description
)}
</StyledCheckboxRow>
{currentQuestion.key === 'own_funds' && (
<p className="text-dfxGray-700 text-xs">
<Trans i18nKey="screens/kyc.ownFundsWarning">
The <strong>deliberate</strong> provision of false information in this form is a criminal offense
(forgery of documents pursuant to Article 251 of the Swiss Criminal Code).
</Trans>
</p>
)}
</StyledCheckboxRow>
</>
) : currentQuestion.type === QuestionType.SINGLE_CHOICE ? (
<>
<StyledDropdown
Expand Down
2 changes: 2 additions & 0 deletions src/translations/languages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@

"Recall agreement": "Rückrufvereinbarung",

"ownFundsWarning": "Die <1>vorsätzliche</1> Angabe falscher Informationen in diesem Formular ist eine strafbare Handlung (Urkundenfälschung gemäss Artikel 251 des Schweizerischen Strafgesetzbuchs).",

"Recommendation": "Empfehlung",
"Please enter the email address or referral code of your contact person. This lets us know you have a trusted contact to guide you into the crypto space.": "Gib bitte die E-Mail-Adresse oder den Empfehlungs-/Referenzcode Deiner Ansprechperson ein. Damit wissen wir, dass Du einen vertrauenswürdigen Kontakt hast, der Dich beim Einstieg ins Kryptoumfeld begleitet.",
"Invitation/referral code or email": "Einladungs-/Referral-Code oder E-Mail",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/languages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@

"Recall agreement": "Contrat de rappel",

"ownFundsWarning": "L'indication <1>délibérée</1> de fausses informations dans ce formulaire constitue une infraction pénale (faux dans les titres selon l'article 251 du Code pénal suisse).",

"Recommendation": "Recommandation",
"Please enter the email address or referral code of your contact person. This lets us know you have a trusted contact to guide you into the crypto space.": "Veuillez saisir l'adresse e-mail ou le code de parrainage de votre personne de contact. Cela nous permet de savoir que vous avez un contact de confiance pour vous accompagner dans l'univers des cryptomonnaies.",
"Invitation/referral code or email": "Code d'invitation/parrainage ou e-mail",
Expand Down
2 changes: 2 additions & 0 deletions src/translations/languages/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@

"Recall agreement": "Accordo di richiamo",

"ownFundsWarning": "L'indicazione <1>deliberata</1> di false informazioni in questo modulo costituisce un reato penale (falsità in documenti ai sensi dell'articolo 251 del Codice penale svizzero).",

"Recommendation": "Raccomandazione",
"Please enter the email address or referral code of your contact person. This lets us know you have a trusted contact to guide you into the crypto space.": "Inserisci l'indirizzo e-mail o il codice di riferimento della tua persona di contatto. In questo modo sapremo che hai un contatto fidato che ti accompagna nel mondo delle criptovalute.",
"Invitation/referral code or email": "Codice invito/referral o e-mail",
Expand Down
Loading