diff --git a/src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/EditMaskSubHeadlineListener.php b/src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/EditMaskSubHeadlineListener.php
index 4dcb4aa8c..c03466f68 100644
--- a/src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/EditMaskSubHeadlineListener.php
+++ b/src/CoreBundle/EventListener/DcGeneral/Table/DcaSetting/EditMaskSubHeadlineListener.php
@@ -99,7 +99,7 @@ public function __invoke(GetEditMaskSubHeadlineEvent $event): void
$screen = $this->inputScreens->fetchInputScreens([$metaModelName => $metaModel->getActiveInputScreen()]);
$screenMeta = $screen[$metaModelName]['meta'] ?? null;
- if (null === $screenMeta || null === ($headline = ($screenMeta['subheadline'] ?? null))) {
+ if (null === $screenMeta || '' === ($headline = ($screenMeta['subheadline'] ?? ''))) {
return;
}
@@ -114,7 +114,7 @@ public function __invoke(GetEditMaskSubHeadlineEvent $event): void
// Translate language key and add headline part.
$subHeadline =
- $this->translator->trans('editRecord', ['%item%' => $headlineAdd], $metaModelName);
+ $this->translator->trans('editRecord', ['%id%' => $headlineAdd], $metaModelName);
$event->setHeadline($subHeadline);
}
diff --git a/src/CoreBundle/Resources/translations/tl_metamodel_item.en.xlf b/src/CoreBundle/Resources/translations/tl_metamodel_item.en.xlf
index 56e1fb534..25e2a41e9 100644
--- a/src/CoreBundle/Resources/translations/tl_metamodel_item.en.xlf
+++ b/src/CoreBundle/Resources/translations/tl_metamodel_item.en.xlf
@@ -91,7 +91,7 @@
-
+