Removed translator call to non existing (and not needed) translator

This should fix the errors on travis.
This commit is contained in:
Jan Böhmer 2019-12-27 14:36:22 +01:00
parent 8f1f2f0fa2
commit 6d7cec7a6e

View file

@ -73,7 +73,7 @@ class CategoryAdminForm extends BaseEntityAdminForm
$builder->add('default_comment', TextType::class, ['required' => false, 'empty_data' => '',
'label' => 'category.edit.default_comment',
'attr' => ['placeholder' => $this->trans->trans('category.edit.default_comment.placeholder')],
'attr' => ['placeholder' => 'category.edit.default_comment.placeholder'],
'disabled' => !$this->security->isGranted($is_new ? 'create' : 'edit', $entity), ]);
}
}