From 116a72504b56d0b14fecda7679bc217d787f9a1d Mon Sep 17 00:00:00 2001
From: Meghna <11170663+MeghnaAJ@users.noreply.github.com>
Date: Wed, 2 Apr 2025 15:35:59 +0530
Subject: [PATCH] UX: rename Twitter login button to X (#32123)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Before:
After:
---
config/locales/client.en.yml | 8 ++++----
lib/discourse.rb | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml
index 0fee50549a1..6ed77f8da7c 100644
--- a/config/locales/client.en.yml
+++ b/config/locales/client.en.yml
@@ -2516,9 +2516,9 @@ en:
title: "Sign in with Google"
sr_title: "Sign in with Google"
twitter:
- name: "Twitter"
- title: "Sign in with Twitter"
- sr_title: "Sign in with Twitter"
+ name: "X"
+ title: "Sign in with X"
+ sr_title: "Sign in with X"
instagram:
name: "Instagram"
title: "Log in with Instagram"
@@ -7514,7 +7514,7 @@ en:
unmask: "unmask input"
not_found: "Settings could not be found"
site_settings:
- title: "Site settings"
+ title: "Site settings"
description: "Configure the settings for your Discourse site to customize its appearance, functionality, and user experience."
discard: "Discard changes"
save: "Save all changes"
diff --git a/lib/discourse.rb b/lib/discourse.rb
index 3041e3cb30c..66b657d1a9b 100644
--- a/lib/discourse.rb
+++ b/lib/discourse.rb
@@ -489,7 +489,7 @@ module Discourse
frame_height: 500,
), # Custom icon implemented in client
Auth::AuthProvider.new(authenticator: Auth::GithubAuthenticator.new, icon: "fab-github"),
- Auth::AuthProvider.new(authenticator: Auth::TwitterAuthenticator.new, icon: "fab-twitter"),
+ Auth::AuthProvider.new(authenticator: Auth::TwitterAuthenticator.new, icon: "fab-x-twitter"),
Auth::AuthProvider.new(authenticator: Auth::DiscordAuthenticator.new, icon: "fab-discord"),
Auth::AuthProvider.new(
authenticator: Auth::LinkedInOidcAuthenticator.new,