Skip to content

Commit

Permalink
Fix admin label translation domain
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Sep 8, 2020
1 parent 5539f02 commit a4f7d96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mapper/BaseGroupedMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a4f7d96

Please sign in to comment.