From 0b65470d8e9a271e58e942ad294276483b7e7b4e Mon Sep 17 00:00:00 2001 From: Richard Haeser <richard@maxserv.com> Date: Tue, 14 Apr 2020 21:29:46 +0200 Subject: [PATCH] [TASK] Renaming of TYPO3 widget and TYPO3 widget group MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the title TYPO3 for a widget as well as a widget group is not giving a lot of information about the purpose of the widget and the group, both the widget and the widget group are renamed. The widget is called About TYPO3 now. The group is called TYPO3 community now. Additionally a group called News is added and both the TYPO3 News and TYPO3 security advisories are moved to that group. The TYPO3 Community group will remain to make sure no installations will break by removing a widget group. The group won't show up when no widgets are in this group though. Resolves: #90865 Releases: master Change-Id: I468692edfafc74597d3f21b1ecb4d90cf26ad41a Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64171 Tested-by: TYPO3com <noreply@typo3.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Richard Haeser <richard@maxserv.com> Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de> Reviewed-by: Richard Haeser <richard@maxserv.com> --- .../Configuration/Backend/DashboardWidgetGroups.php | 3 +++ .../Configuration/Backend/DashboardWidgets.yaml | 4 ++-- .../Resources/Private/Language/locallang.xlf | 13 ++++++++----- 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgetGroups.php b/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgetGroups.php index 6d3c6c472749..81b03b30ed14 100644 --- a/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgetGroups.php +++ b/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgetGroups.php @@ -10,6 +10,9 @@ return [ 'typo3' => [ 'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.typo3', ], + 'news' => [ + 'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.news', + ], 'documentation' => [ 'title' => 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widget_group.documentation', ], diff --git a/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgets.yaml b/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgets.yaml index 5744d3be9948..68c258f561bc 100644 --- a/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgets.yaml +++ b/typo3/sysext/dashboard/Configuration/Backend/DashboardWidgets.yaml @@ -71,7 +71,7 @@ services: tags: - name: dashboard.widget identifier: 't3news' - groupNames: 'typo3' + groupNames: 'news' title: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.t3news.title' description: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.t3news.description' iconIdentifier: 'content-widget-rss' @@ -183,7 +183,7 @@ services: tags: - name: dashboard.widget identifier: 't3securityAdvisories' - groupNames: 'typo3' + groupNames: 'news' title: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.t3securityAdvisories.title' description: 'LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.t3securityAdvisories.description' iconIdentifier: 'content-widget-rss' diff --git a/typo3/sysext/dashboard/Resources/Private/Language/locallang.xlf b/typo3/sysext/dashboard/Resources/Private/Language/locallang.xlf index 2330ba09ff5d..37eaa16796db 100644 --- a/typo3/sysext/dashboard/Resources/Private/Language/locallang.xlf +++ b/typo3/sysext/dashboard/Resources/Private/Language/locallang.xlf @@ -128,11 +128,11 @@ <source>More TYPO3 news</source> </trans-unit> - <trans-unit id="widgets.t3information.title" xml:space="preserve" translate="no"> - <source>TYPO3</source> + <trans-unit id="widgets.t3information.title" xml:space="preserve"> + <source>About TYPO3</source> </trans-unit> <trans-unit id="widgets.t3information.description" xml:space="preserve"> - <source>Some background information about TYPO3 and the version used</source> + <source>Some general information about TYPO3 and the version used</source> </trans-unit> <trans-unit id="widgets.sysLogErrors.title" xml:space="preserve"> @@ -184,8 +184,11 @@ <trans-unit id="widget_group.general" xml:space="preserve"> <source>General</source> </trans-unit> - <trans-unit id="widget_group.typo3" xml:space="preserve" translate="no"> - <source>TYPO3</source> + <trans-unit id="widget_group.typo3" xml:space="preserve"> + <source>TYPO3 community</source> + </trans-unit> + <trans-unit id="widget_group.news" xml:space="preserve"> + <source>News</source> </trans-unit> <trans-unit id="widget_group.documentation" xml:space="preserve"> <source>Documentation</source> -- GitLab