mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Removed translator call to non existing (and not needed) translator
This should fix the errors on travis.
This commit is contained in:
parent
8f1f2f0fa2
commit
6d7cec7a6e
1 changed files with 1 additions and 1 deletions
|
@ -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), ]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue