Skip to content

Commit f62863b

Browse files
erredecobmack
authored andcommitted
[TASK] Remove exclamation marks from texts on EXT:info
Removes exclamation marks from the messages on EXT:info To test the issue, create two language overlays on a page with the same sys_language_uid and go to Info > Localizazion Overview The patch also adds a warning background to the table cell with this message. Resolves: #108042 Releases: main Change-Id: Ica7e994690513e0b62a9230e28cb2ab43b695ebe Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/91546 Tested-by: Lina Wolf <112@linawolf.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Lina Wolf <112@linawolf.de> Reviewed-by: Benni Mack <benni@typo3.org>
1 parent dbb7cff commit f62863b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

typo3/sysext/info/Classes/Controller/TranslationStatusController.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ protected function renderL10nTable(PageTreeView $tree, ServerRequestInterface $r
221221
if (!$row['_HIDDEN']) {
222222
$status = 'success';
223223
}
224+
if ($row['_COUNT'] > 1) {
225+
$status = 'warning';
226+
}
224227
$info = ($showPageId ? ' [' . (int)$row['uid'] . ']' : '') . ' ' . htmlspecialchars(
225228
GeneralUtility::fixed_lgd_cs($row['title'], $titleLen)
226229
) . ((string)$row['nav_title'] !== '' ? ' [Nav: <em>' . htmlspecialchars(

typo3/sysext/info/Resources/Private/Language/locallang_webinfo.xlf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<source>Edit all translated page properties</source>
5050
</trans-unit>
5151
<trans-unit id="lang_renderl10n_badThingThereAre">
52-
<source>ERROR: there are two or more page overlay records for this language! Only one is allowed!</source>
52+
<source>This language has more than one page overlay record, but only one is allowed. Please remove the extra records.</source>
5353
</trans-unit>
5454
<trans-unit id="lang_renderl10n_page">
5555
<source>Page</source>

0 commit comments

Comments
 (0)