From: Tom Hughes Date: Tue, 29 Jun 2021 18:14:50 +0000 (+0100) Subject: Fix some broken translation lookups X-Git-Tag: live~2105 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/ef092045e095d7d0745964b50466dc55499bf718 Fix some broken translation lookups --- diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 00d427ac9..3101e5af2 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -321,9 +321,9 @@ class UsersController < ApplicationController when "active", "confirmed" successful_login(user, request.env["omniauth.params"]["referer"]) when "suspended" - failed_login t("users.login.account is suspended", :webmaster => "mailto:#{Settings.support_email}").html_safe + failed_login t("sessions.new.account is suspended", :webmaster => "mailto:#{Settings.support_email}").html_safe else - failed_login t("users.login.auth failure") + failed_login t("sessions.new.auth failure") end else redirect_to :action => "new", :nickname => name, :email => email,