From a4f7d96183d8dcd1fa1436bedfb1948166565ad4 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Fri, 4 Sep 2020 15:57:25 +0200 Subject: [PATCH] Fix admin label translation domain --- src/Mapper/BaseGroupedMapper.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Mapper/BaseGroupedMapper.php b/src/Mapper/BaseGroupedMapper.php index 449735c9c8..67e273a3ec 100644 --- a/src/Mapper/BaseGroupedMapper.php +++ b/src/Mapper/BaseGroupedMapper.php @@ -319,7 +319,10 @@ protected function addFieldToCurrentGroup($fieldName) protected function getCurrentGroupName() { if (!$this->currentGroup) { - $this->with($this->admin->getLabel(), ['auto_created' => true]); + $this->with($this->admin->getLabel(), [ + 'auto_created' => true, + 'translation_domain' => $this->admin->getTranslationDomain(), + ]); } return $this->currentGroup;