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

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

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

Resolves: #68929
Releases: master
Change-Id: I831c4ad2105eec8bd796ae9e3d0fc4c81a676b8a
Reviewed-on: http://review.typo3.org/43006

Reviewed-by: Jan Helke's avatarJan Helke <typo3@helke.de>
Tested-by: Jan Helke's avatarJan Helke <typo3@helke.de>
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>
parent e02628b1
......@@ -475,7 +475,9 @@ class InlineRecordContainer extends AbstractContainer {
$hookObj->renderForeignRecordHeaderControl_preProcess($parentUid, $foreign_table, $rec, $config, $isVirtualRecord, $enabledControls);
}
if (isset($rec['__create'])) {
$cells['localize.isLocalizable'] = IconUtility::getSpriteIcon('actions-edit-localize-status-low', array('title' => $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize.isLocalizable', TRUE)));
$cells['localize.isLocalizable'] = '<span title="' . $languageService->sL('LLL:EXT:lang/locallang_misc.xlf:localize.isLocalizable', TRUE) . '">'
. $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)));
}
......
......@@ -184,6 +184,12 @@ class IconRegistry implements \TYPO3\CMS\Core\SingletonInterface {
'name' => 'trash',
)
),
'actions-edit-localize-status-low' => array(
'provider' => BitmapIconProvider::class,
'options' => array(
'source' => 'EXT:t3skin/images/icons/actions/edit-localize-status-low.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