Commit 61e5573b authored by Morton Jonuschat's avatar Morton Jonuschat Committed by Frank Nägler
Browse files

[TASK] Replace sprite icon "actions-edit-localize-status-high" with IconFactory

Replaces all IconUtility::getSpriteIcon calls for the icon
actions-edit-localize-status-high with the new IconFactory.

Resolves: #68928
Releases: master
Change-Id: Id0f4db30b9ef5a623e27f929e62b944841197e4a
Reviewed-on: http://review.typo3.org/43007

Reviewed-by: Frank Nägler's avatarFrank Nägler <frank.naegler@typo3.org>
Tested-by: Frank Nägler's avatarFrank Nägler <frank.naegler@typo3.org>
Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
parent bcde74f3
......@@ -479,7 +479,9 @@ class InlineRecordContainer extends AbstractContainer {
. $this->iconFactory->getIcon('actions-edit-localize-status-low', Icon::SIZE_SMALL)
. '</span>';
} elseif (isset($rec['__remove'])) {
$cells['localize.wasRemovedInOriginal'] = IconUtility::getSpriteIcon('actions-edit-localize-status-high', array('title' => $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize.wasRemovedInOriginal', TRUE)));
$cells['localize.wasRemovedInOriginal'] = '<span title="' . $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize.wasRemovedInOriginal', TRUE) . '">'
. $this->iconFactory->getIcon('actions-edit-localize-status-high', Icon::SIZE_SMALL)
. '</span>';
}
// "Info": (All records)
if ($enabledControls['info'] && !$isNewItem) {
......
......@@ -196,6 +196,12 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
'source' => 'EXT:t3skin/images/icons/actions/edit-localize-status-low.png',
)
),
'actions-edit-localize-status-high' => array(
'provider' => BitmapIconProvider::class,
'options' => array(
'source' => 'EXT:t3skin/images/icons/actions/edit-localize-status-high.png',
)
),
'actions-edit-merge-localization' => array(
'provider' => BitmapIconProvider::class,
'options' => array(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment