- <% if flash.notice %> + <% if flash.notice && !flash.notice.include?('translation missing') %> <%= govuk_notification_banner( title_text: 'Success', success: true, title_heading_level: 3, diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml index ba36d7bf2..ec502b562 100644 --- a/config/locales/devise.en.yml +++ b/config/locales/devise.en.yml @@ -45,10 +45,6 @@ en: update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirmation link to confirm your new email address." updated: "Your account has been updated successfully." updated_but_not_signed_in: "Your account has been updated successfully, but since your password was changed, you need to sign in again." - sessions: - signed_in: "Signed in successfully." - signed_out: "Signed out successfully." - already_signed_out: "Signed out successfully." unlocks: send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes." send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."