Skip to content
Prev Previous commit
Next Next commit
Substitute no_other_id_help_bold with no_other_id_help_bold_html
  • Loading branch information
aduth committed Sep 24, 2020
commit 56a814b0d465d0a8bfdd930269787bd673dd5b49
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ function MobileIntroStep() {
</p>
{serviceProvider && (
<p>
{formatHTML(t('doc_auth.info.no_other_id_help_bold', { sp_name: serviceProvider.name }), {
'lg-strong': 'strong',
'lg-get-help-link': ({ children }) => (
<a href={serviceProvider.failureToProofURL}>{children}</a>
),
})}
{formatHTML(
t('doc_auth.info.no_other_id_help_bold_html', { sp_name: serviceProvider.name }),
{
strong: 'strong',
a: ({ children }) => <a href={serviceProvider.failureToProofURL}>{children}</a>,
},
)}
</p>
)}
<p className="margin-top-4 margin-bottom-0">
Expand Down
2 changes: 1 addition & 1 deletion config/js_locale_strings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- doc_auth.info.id_worn_html
- doc_auth.info.interstitial_eta
- doc_auth.info.interstitial_thanks
- doc_auth.info.no_other_id_help_bold
- doc_auth.info.no_other_id_help_bold_html
- doc_auth.instructions.document_capture_selfie_consent_banner
- doc_auth.instructions.document_capture_selfie_consent_blocked
- doc_auth.instructions.document_capture_selfie_consent_reason
Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ en:
- Please check your phone and follow instructions to take a photo of your state
issued ID.
- When you are done click continue here to finish verifying your identity.
no_other_id_help_bold: "<lg-strong>If you do not have another state-issued ID</lg-strong>,
<lg-get-help-link>get help at %{sp_name}.</lg-get-help-link>"
no_other_id_help_bold_html: "<strong>If you do not have another state-issued
ID</strong>, <a href=%{failure_to_proof_url}>get help at %{sp_name}.</a>"
tag: Recommended
Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ es:
la identificación emitida por su estado.
- Cuando haya terminado, haga clic en continuar aquí para terminar de verificar
su identidad.
no_other_id_help_bold: "<lg-strong>Si no tiene otra identificación emitida por
el estado</lg-strong>, <lg-get-help-link>obtenga ayuda en %{sp_name}.</lg-get-help-link>"
no_other_id_help_bold_html: "<strong>Si no tiene otra identificación emitida
por el estado</strong>, <a href=%{failure_to_proof_url}>obtenga ayuda en %{sp_name}.</a>"
tag: Recomendar
Expand Down
2 changes: 0 additions & 2 deletions config/locales/doc_auth/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ fr:
- Veuillez vérifier votre téléphone et suivre les instructions pour prendre
une photo de votre identité émise par l'État.
- Lorsque vous avez terminé, cliquez ici pour continuer à vérifier votre identité.
no_other_id_help_bold: "<lg-strong>Si vous n'avez pas d'autre identifiant émis
par l'État</lg-strong>, <lg-get-help-link>obtenez de l'aide auprès de %{sp_name}.</lg-get-help-link>"
no_other_id_help_bold_html: "<strong>Si vous n'avez pas d'autre identifiant
émis par l'État</strong>, <a href=%{failure_to_proof_url}>obtenez de l'aide
auprès de %{sp_name}.</a>"
Expand Down