Update locale namespaces for totp actions

This commit is contained in:
Andreas Nedbal 2022-07-02 23:37:00 +02:00 committed by Karina Kwiatek
parent 0f63e39194
commit 5c4c272d53
2 changed files with 41 additions and 38 deletions

View File

@ -65,11 +65,13 @@ en:
update: update:
success: "Theme saved successfully." success: "Theme saved successfully."
error: "Theme saving failed. %{errors}" error: "Theme saving failed. %{errors}"
two_factor_authentication:
otp_authentication:
update:
error: :errors.invalid_otp
destroy:
success: "Two factor authentication has been disabled for your account."
user: user:
update_2fa:
error: :errors.invalid_otp
destroy_2fa:
success: "Two factor authentication has been disabled for your account."
sessions: sessions:
create: create:
info: "You have %{count} recovery codes remaining." info: "You have %{count} recovery codes remaining."

View File

@ -182,37 +182,40 @@ en:
adjust: adjust:
profile_picture: "Adjust your new profile picture" profile_picture: "Adjust your new profile picture"
profile_header: "Adjust your new profile header" profile_header: "Adjust your new profile header"
security: two_factor_authentication:
heading: "Two-factor authentication" otp_authentication:
recovery_keys: index:
heading: "Your %{app_name} recovery codes" title: "Security Settings"
generated_at: "These codes were generated at %{time}" heading: "Two-factor authentication"
recommendation: "We recommend storing these in a password manager or printing them out on paper." recovery_keys:
print: "Print" heading: "Your %{app_name} recovery codes"
consideration: "Please consider the environment before printing this page." generated_at: "These codes were generated at %{time}"
totp_enabled: recommendation: "We recommend storing these in a password manager or printing them out on paper."
body: "Your account is set up to require the use of a one-time password in order to log in." print: "Print"
recovery_code_count: "You currently have %{count} unused recovery codes." consideration: "Please consider the environment before printing this page."
remove: totp_enabled:
action: "Remove Two-factor authentication" body: "Your account is set up to require the use of a one-time password in order to log in."
confirm: "Are you sure you want to disable two-factor authentication?" recovery_code_count: "You currently have %{count} unused recovery codes."
regenerate: remove:
action: "Regenerate recovery codes" action: "Remove Two-factor authentication"
confirm: "Are you sure? This will disable your previous set of recovery codes." confirm: "Are you sure you want to disable two-factor authentication?"
totp_setup: regenerate:
setup_key: "If you cannot scan the QR code, use the following key instead:" action: "Regenerate recovery codes"
setup_qr: "Once you have downloaded an authenticator app, add your %{app_name} account by scanning the QR code displayed on the left." confirm: "Are you sure? This will disable your previous set of recovery codes."
otp_validation: "Enter the code displayed in the app here:" totp_setup:
app: setup_key: "If you cannot scan the QR code, use the following key instead:"
none: "If you do not have an authenticator app already installed on your device, we suggest one of the following:" setup_qr: "Once you have downloaded an authenticator app, add your %{app_name} account by scanning the QR code displayed on the left."
aegis: "Aegis Authenticator for Android" otp_validation: "Enter the code displayed in the app here:"
strongbox: "Strongbox Authenticator for iOS" app:
microsoft: "Microsoft Authenticator" none: "If you do not have an authenticator app already installed on your device, we suggest one of the following:"
source: aegis: "Aegis Authenticator for Android"
app_store: "App Store" strongbox: "Strongbox Authenticator for iOS"
fdroid: "F-Droid" microsoft: "Microsoft Authenticator"
google_play: "Google Play" source:
code: "Source Code" app_store: "App Store"
fdroid: "F-Droid"
google_play: "Google Play"
code: "Source Code"
services: services:
services: services:
one: "Sharing is enabled for the following service:" one: "Sharing is enabled for the following service:"
@ -358,8 +361,6 @@ en:
title: "Blocks" title: "Blocks"
edit_mute: edit_mute:
title: "Muted Words" title: "Muted Words"
edit_security:
title: "Security Settings"
moderation: moderation:
inbox: inbox:
header: header: