From 81ac29fad8b52dc77022154e9d7526706c48e140 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 3 Jul 2024 10:40:27 +0300 Subject: [PATCH 1/1] Change auth provider logo alt texts to indicate that these are logos --- config/locales/en.yml | 12 ++++++------ test/helpers/user_helper_test.rb | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 14df2ae4f..4c743b033 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2588,22 +2588,22 @@ en: openid_login_button: "Continue" openid: title: Log in with OpenID - alt: Log in with an OpenID URL + alt: OpenID logo google: title: Log in with Google - alt: Log in with a Google OpenID + alt: Google logo facebook: title: Log in with Facebook - alt: Log in with a Facebook Account + alt: Facebook logo microsoft: title: Log in with Microsoft - alt: Log in with a Microsoft Account + alt: Microsoft logo github: title: Log in with GitHub - alt: Log in with a GitHub Account + alt: GitHub logo wikipedia: title: Log in with Wikipedia - alt: Log in with a Wikipedia Account + alt: Wikipedia logo oauth: authorize: title: "Authorize access to your account" diff --git a/test/helpers/user_helper_test.rb b/test/helpers/user_helper_test.rb index c7c63d62a..09adfc14b 100644 --- a/test/helpers/user_helper_test.rb +++ b/test/helpers/user_helper_test.rb @@ -116,7 +116,7 @@ class UserHelperTest < ActionView::TestCase def test_auth_button button = auth_button("google", "google") - img_tag = "\"Log" + img_tag = "\"Google" assert_equal("#{img_tag}", button) end -- 2.39.5