Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
5 changes: 3 additions & 2 deletions app/views/account_reset/recovery_options/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
<%= c.with_item(heading: t('account_reset.recovery_options.use_device')) do %>
<p><%= t('account_reset.recovery_options.try_another_device') %></p>
<% end %>
<%= c.with_item(heading: t('account_reset.recovery_options.check_webauthn_platform')) do %>
<p><%= t('account_reset.recovery_options.check_webauthn_platform_info', app_name: APP_NAME) %></p>
<%= c.with_item(heading: t('account_reset.recovery_options.check_saved_credential')) do %>
<p><%= t('account_reset.recovery_options.check_webauthn_platform_info') %></p>
<p><%= t('account_reset.recovery_options.use_same_device') %></p>
Comment on lines +14 to +15

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really have a strong preference one way or the other, but another way we've done multiple paragraphs of text is by using an array in the YAML file and looping over it in the template.

<% t('account_reset.request.info').each do |info_p| %>
<p><%= info_p %></p>
<% end %>

The main upside would be to keep the related content together in the YAML files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh interesting will take a look

<% end %>
<% end %>

Expand Down
11 changes: 7 additions & 4 deletions config/locales/account_reset/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,20 @@ en:
<strong>%{interval}</strong>, you will receive an email with
instructions to complete the deletion.
recovery_options:
check_webauthn_platform: Use the same device you first set up face or touch unlock with
check_webauthn_platform_info: If you set up face or touch unlock when you
created your account make sure to use the same device you created your
%{app_name} account on.
check_saved_credential: See if you have a saved credential
check_webauthn_platform_info: If you set up face or touch unlock, you may have
saved your credentials to a password manager, like iCloud Keychain or
Google Password Manager. Try using face or touch unlock on a browser
using that password manager.
header: Are you sure you want to delete your account?
help_text: If you’re locked out and still need access to %{app_name}, try these
steps instead.
try_another_device: Try another device where you might have selected the
“remember device” option.
try_method_again: Try your authentication method again
use_device: Use another device
use_same_device: Otherwise, try using the same device where you set up face or
touch unlock.
request:
are_you_sure: Are you sure you don’t have access to any of your authentication methods?
delete_account: Delete your account
Expand Down
13 changes: 8 additions & 5 deletions config/locales/account_reset/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,21 @@ es:
<strong>%{interval}</strong>, recibirá un correo electrónico con
instrucciones para completar la eliminación.
recovery_options:
check_webauthn_platform: Utilice el mismo dispositivo con el que configuró el
desbloqueo facial o táctil por primera vez.
check_webauthn_platform_info: Si configuró el desbloqueo facial o táctil cuando
creó su cuenta, asegúrese de utilizar el mismo dispositivo con el que
creó su cuenta de %{app_name}.
check_saved_credential: Verifica si tienes una credencial almacenada
check_webauthn_platform_info: Si has habilitado el desbloqueo facial o táctil,
es probable que hayas guardado tus credenciales en una herramienta de
gestión de contraseñas, como iCloud Keychain o Google Password Manager.
Intenta realizar el desbloqueo facial o táctil en un navegador que
utilice ese gestor de contraseñas.
header: '¿Seguro que desea eliminar su cuenta?'
help_text: Si sigue sin poder acceder a %{app_name}, pruebe con estos pasos en
su lugar.
try_another_device: Pruebe otro dispositivo donde pueda haber seleccionado la
opción “Recordar dispositivo”.
try_method_again: Pruebe nuevamente su método de autenticación.
use_device: Utilice otro dispositivo.
use_same_device: De lo contrario, inténtalo con el mismo dispositivo en el que
configuraste el desbloqueo facial o táctil.
request:
are_you_sure: '¿Estás seguro de que no tienes acceso a ninguno de tus métodos de
seguridad?'
Expand Down
13 changes: 8 additions & 5 deletions config/locales/account_reset/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,22 @@ fr:
Dans <strong>%{interval}</strong>, vous recevrez un e-mail avec des
instructions pour terminer la suppression.
recovery_options:
check_webauthn_platform: Utilisez le même appareil que celui avec lequel vous
avez configuré le déverrouillage facial ou tactile
check_saved_credential: Vérifiez si vous avez des informations d’identification sauvegardées
check_webauthn_platform_info: Si vous avez configuré le déverrouillage facial ou
tactile lorsque vous avez créé votre compte, assurez-vous d’utiliser le
même appareil que celui avec lequel vous avez créé votre compte
%{app_name}.
tactile, vous avez peut-être sauvegardé vos informations
d’identification dans un gestionnaire de mots de passe, tel que iCloud
Keychain ou Google Password Manager. Essayez d’utiliser le
déverrouillage facial ou tactile sur un navigateur utilisant ce
gestionnaire de mots de passe.
header: Êtes-vous sûr de vouloir supprimer votre compte?
help_text: Si vous êtes bloqué et que vous avez toujours besoin d’accéder à
%{app_name}, essayez plutôt ces étapes.
try_another_device: Essayez un autre appareil sur lequel vous avez peut-être
sélectionné l’option « mémoriser l’appareil ».
try_method_again: Essayez à nouveau votre méthode d’authentification
use_device: Utilisez un autre appareil
use_same_device: Sinon, essayez d’utiliser le même appareil où vous avez
configuré le déverrouillage facial ou tactile.
request:
are_you_sure: Êtes-vous sûr de n’avoir accès à aucune de vos méthodes de sécurité?
delete_account: Supprimer votre compte
Expand Down