From d03025ac11f41f82c905c7f610be5f385f4918df Mon Sep 17 00:00:00 2001
From: axelbraunschweiger <axelbraunschweiger@gmail.com>
Date: Thu, 7 Feb 2019 12:47:28 -0500
Subject: [PATCH] [BUGFIX] Change language label in backend module

---
 Configuration/TCA/Overrides/tt_content.php       |  8 ++++----
 Resources/Private/Language/locallang_backend.xlf | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php
index f77c0df..6ad45fa 100644
--- a/Configuration/TCA/Overrides/tt_content.php
+++ b/Configuration/TCA/Overrides/tt_content.php
@@ -29,25 +29,25 @@ call_user_func(
 		\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
 			$extKey,
 			'Overview',
-			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:titleOverviewPlugin'
+			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:pageTypeTitlePluginOverview.news'
 		);
 
 		\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
 			$extKey,
 			'Latest',
-			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:titleLatestPlugin'
+			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:pageTypeTitlePluginLatest.news'
 		);
 
 		\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
 			$extKey,
 			'SingleView',
-			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:titleSingleViewPlugin'
+			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:pageTypeTitlePluginSingle.news'
 		);
 
 		\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
 			$extKey,
 			'ListByCategory',
-			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:titleListByCategoryPlugin'
+			'LLL:EXT:' . $extKey . '/Resources/Private/Language/locallang_backend.xlf:pageTypeTitlePluginCategory.news'
 		);
 
 		// Removal of the unused plugin setting fields
diff --git a/Resources/Private/Language/locallang_backend.xlf b/Resources/Private/Language/locallang_backend.xlf
index 89fe734..da72978 100644
--- a/Resources/Private/Language/locallang_backend.xlf
+++ b/Resources/Private/Language/locallang_backend.xlf
@@ -13,19 +13,19 @@
 				<source>Please upload an image first and save the form!</source>
 			</trans-unit>
 			<trans-unit id="pageTypeTitlePlugin.news">
-				<source>[SgNews] Plugins</source>
+				<source>[News] Plugins</source>
 			</trans-unit>
 			<trans-unit id="pageTypeTitlePluginOverview.news">
-				<source>[SgNews] News Overview</source>
+				<source>[News] News Overview</source>
 			</trans-unit>
 			<trans-unit id="pageTypeTitlePluginLatest.news">
-				<source>[SgNews] News Latest</source>
+				<source>[News] News Latest</source>
 			</trans-unit>
 			<trans-unit id="pageTypeTitlePluginCategory.news">
-				<source>[SgNews] News by Category</source>
+				<source>[News] News by Category</source>
 			</trans-unit>
 			<trans-unit id="pageTypeTitlePluginSingle.news">
-				<source>[SgNews] News Single View</source>
+				<source>[News] News Single View</source>
 			</trans-unit>
 			<trans-unit id="pageType.category">
 				<source>Category</source>
-- 
GitLab