From 66b804417ab0117a81da0dba7bd27825a796895c Mon Sep 17 00:00:00 2001
From: Wouter Wolters <typo3@wouterwolters.nl>
Date: Mon, 31 Oct 2016 23:19:55 +0100
Subject: [PATCH] [!!!][TASK] Remove unused language labels from EXT:sys_action

The labels that are not used anymore in the core are removed.

Resolves: #78855
Releases: master
Change-Id: I8b7ac0ee8670f7abbf57f275e20c8c4fbbf36436
Reviewed-on: https://review.typo3.org/50466
Reviewed-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Tested-by: Alexander Stehlik <alexander.stehlik@gmail.com>
Reviewed-by: Valentin Funk <valentin.funk@computerfabrik.de>
Tested-by: Valentin Funk <valentin.funk@computerfabrik.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
---
 ...55-RemoveObsoleteSysActionTranslations.rst | 42 +++++++++++++++++++
 .../Resources/Private/Language/locallang.xlf  | 24 -----------
 .../Private/Language/locallang_tca.xlf        |  3 --
 3 files changed, 42 insertions(+), 27 deletions(-)
 create mode 100644 typo3/sysext/core/Documentation/Changelog/master/Breaking-78855-RemoveObsoleteSysActionTranslations.rst

diff --git a/typo3/sysext/core/Documentation/Changelog/master/Breaking-78855-RemoveObsoleteSysActionTranslations.rst b/typo3/sysext/core/Documentation/Changelog/master/Breaking-78855-RemoveObsoleteSysActionTranslations.rst
new file mode 100644
index 000000000000..c0598929286e
--- /dev/null
+++ b/typo3/sysext/core/Documentation/Changelog/master/Breaking-78855-RemoveObsoleteSysActionTranslations.rst
@@ -0,0 +1,42 @@
+.. include:: ../../Includes.txt
+
+==========================================================
+Breaking: #78855 - Remove obsolete sys_action translations
+==========================================================
+
+See :issue:`78855`
+
+Description
+===========
+
+These translations are removed from `EXT:sys_action/Resources/Private/Language/locallang.xlf`:
+
+* action_BEu_hidden
+* action_BEu_username
+* action_BEu_password
+* action_BEu_realName
+* action_BEu_email
+* action_BEu_usergroups
+
+These translations are removed from `EXT:sys_action/Resources/Private/Language/locallang_tca.xlf`:
+
+* tx_sys_action
+
+Impact
+======
+
+Integrations / third party Extensions using these translations will break / output empty strings.
+
+
+Affected Installations
+======================
+
+Installations that use the removed translations in third party code.
+
+
+Migration
+=========
+
+Create your own `locallang.xlf` file and add the required translations.
+
+.. index:: Backend
diff --git a/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf b/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf
index 32b63cf635bd..778506620f1a 100644
--- a/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf
+++ b/typo3/sysext/sys_action/Resources/Private/Language/locallang.xlf
@@ -72,24 +72,6 @@
 			<trans-unit id="action_lowlevelMissing">
 				<source>The extension 'lowlevel' must be installed in order to create a query.</source>
 			</trans-unit>
-			<trans-unit id="action_BEu_hidden">
-				<source>Disable user</source>
-			</trans-unit>
-			<trans-unit id="action_BEu_username">
-				<source>Login name</source>
-			</trans-unit>
-			<trans-unit id="action_BEu_password">
-				<source>Password</source>
-			</trans-unit>
-			<trans-unit id="action_BEu_realName">
-				<source>Real name</source>
-			</trans-unit>
-			<trans-unit id="action_BEu_email">
-				<source>Email</source>
-			</trans-unit>
-			<trans-unit id="action_BEu_usergroups">
-				<source>Member of groups</source>
-			</trans-unit>
 			<trans-unit id="action_t2_result">
 				<source>Result of query</source>
 			</trans-unit>
@@ -108,12 +90,6 @@
 			<trans-unit id="action_t1_legend_configuration">
 				<source>Configuration</source>
 			</trans-unit>
-			<trans-unit id="action_BEu_db_mount">
-				<source>Pagetree starting points</source>
-			</trans-unit>
-			<trans-unit id="action_t4_edit">
-				<source>Select record to edit:</source>
-			</trans-unit>
 			<trans-unit id="action_toolbaritem">
 				<source>Open System Actions</source>
 			</trans-unit>
diff --git a/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf b/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf
index fb451bb4639f..e50fa155c1d6 100644
--- a/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf
+++ b/typo3/sysext/sys_action/Resources/Private/Language/locallang_tca.xlf
@@ -6,9 +6,6 @@
 			<trans-unit id="sys_action">
 				<source>Action</source>
 			</trans-unit>
-			<trans-unit id="tx_sys_action">
-				<source>Actions</source>
-			</trans-unit>
 			<trans-unit id="sys_action.hidden">
 				<source>Deactivated:</source>
 			</trans-unit>
-- 
GitLab