From c7d135c20c70b6bd5936177db90a7b8ce2d278c0 Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Tue, 28 Mar 2017 11:43:29 -0300 Subject: [#932] Tests next step of account recovery is translated --- web-ui/app/locales/en_US/translation.json | 3 +++ .../forms/admin_recovery_code_form.js | 2 +- .../forms/user_recovery_code_form.spec.js | 19 +++++++++++++++++++ web-ui/test/integration/translations.spec.js | 9 ++++++++- 4 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 web-ui/src/account_recovery/forms/user_recovery_code_form.spec.js (limited to 'web-ui') diff --git a/web-ui/app/locales/en_US/translation.json b/web-ui/app/locales/en_US/translation.json index 275e8d91..26dccfcd 100644 --- a/web-ui/app/locales/en_US/translation.json +++ b/web-ui/app/locales/en_US/translation.json @@ -90,6 +90,9 @@ "tip3": "Don't ever ask for it via email.", "input-label": "type here admin's backup code", "button": "Next" + }, + "user-form": { + "title": "Remember your backup account?" } }, "backup-account": { diff --git a/web-ui/src/account_recovery/forms/admin_recovery_code_form.js b/web-ui/src/account_recovery/forms/admin_recovery_code_form.js index ea71566b..0a28e8b2 100644 --- a/web-ui/src/account_recovery/forms/admin_recovery_code_form.js +++ b/web-ui/src/account_recovery/forms/admin_recovery_code_form.js @@ -25,7 +25,7 @@ import './admin_recovery_code_form.scss'; export const AdminRecoveryCodeForm = ({ t, next }) => ( -
+

{t('account-recovery.admin-form.title')}