From 244b7883a4c82baa55d4afb9958c01f2118d666f Mon Sep 17 00:00:00 2001
From: Georg Ringer <georg.ringer@gmail.com>
Date: Wed, 19 Jun 2024 22:42:14 +0200
Subject: [PATCH] [TASK] Rename twitter to x in labels
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

As twitter has been renamed to X, the labels in the page settings are
adopted too. As the meta tags itself are still using twitter, also the
database fields keep their name.

Resolves: #103224
Releases: main, 12.4
Change-Id: I1cf5d5f3a0fd64ba1a3402f88b9e460c32ab4ead
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/84789
Tested-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: Jasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>
---
 typo3/sysext/seo/Documentation/Editor/Index.rst           | 4 ++--
 .../seo/Resources/Private/Language/locallang_tca.xlf      | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/typo3/sysext/seo/Documentation/Editor/Index.rst b/typo3/sysext/seo/Documentation/Editor/Index.rst
index a672cca9a79b..b0d9c8e6627f 100644
--- a/typo3/sysext/seo/Documentation/Editor/Index.rst
+++ b/typo3/sysext/seo/Documentation/Editor/Index.rst
@@ -175,8 +175,8 @@ Social media
 The social media tab contains information which is used to enrich the snippet that is shown when visitors share your URLs
 in social networks, modern browsers etc.
 
-TYPO3 offers to have different content for OpenGraph (used for example by Facebook and LinkedIn) and Twitter Cards
-(used on Twitter of course). Both implementations allow you to set a title, a description and to provide an image. When this
+TYPO3 offers to have different content for OpenGraph (used for example by Facebook and LinkedIn) and X / Twitter Cards
+(used on X / Twitter of course). Both implementations allow you to set a title, a description and to provide an image. When this
 information is not set manually, the social network will decide itself what to show. Most probably it will use the
 information from :ref:`title-for-search-engines` and :ref:`description`.
 
diff --git a/typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf b/typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf
index 5d859e21ca30..656956199e10 100644
--- a/typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf
+++ b/typo3/sysext/seo/Resources/Private/Language/locallang_tca.xlf
@@ -41,16 +41,16 @@
 				<source>Open Graph Image</source>
 			</trans-unit>
 			<trans-unit id="pages.palettes.twittercards" resname="pages.palettes.twittercards">
-				<source>Twitter Cards</source>
+				<source>X / Twitter Cards</source>
 			</trans-unit>
 			<trans-unit id="pages.twitter_title" resname="pages.twitter_title">
-				<source>Twitter Title</source>
+				<source>X / Twitter Title</source>
 			</trans-unit>
 			<trans-unit id="pages.twitter_description" resname="pages.twitter_description">
-				<source>Twitter Description</source>
+				<source>X / Twitter Description</source>
 			</trans-unit>
 			<trans-unit id="pages.twitter_image" resname="pages.twitter_image">
-				<source>Twitter Image</source>
+				<source>X / Twitter Image</source>
 			</trans-unit>
 			<trans-unit id="pages.twitter_card" resname="pages.twitter_card">
 				<source>Type of card to show</source>
-- 
GitLab