Added symfony translation bundle, and updated german translations.

This commit is contained in:
Jan Böhmer 2019-03-14 13:32:41 +01:00
parent 86eda36a2e
commit 6d7150e202
12 changed files with 697 additions and 172 deletions

View file

@ -62,7 +62,7 @@ class PartType extends AbstractType
->add('mininstock', IntegerType::class,
['attr' => ['min'=>0, 'placeholder' => 'part.mininstock.placeholder'], 'label'=> 'mininstock.label'])
->add('category', EntityType::class, ['class' => Category::class, 'choice_label' => 'full_path',
'attr' => ['class' => 'selectpicker', 'data-live-search' => true, 'label'=> 'category.label']])
'attr' => ['class' => 'selectpicker', 'data-live-search' => true], 'label'=> 'category.label'])
->add('storelocation', EntityType::class, ['class' => Storelocation::class, 'choice_label' => 'full_path',
'attr' => ['class' => 'selectpicker', 'data-live-search' => true], 'required' => false, 'label'=> 'storelocation.label'])
->add('manufacturer', EntityType::class, ['class' => Manufacturer::class, 'choice_label' => 'full_path',