Do not translate theme names.

This commit is contained in:
Jan Böhmer 2020-04-03 17:54:11 +02:00
parent 2dd807bbe6
commit 1b21bf5ddd

View file

@ -122,6 +122,7 @@ class UserSettingsType extends AbstractType
'attr' => [ 'attr' => [
'class' => 'selectpicker', 'class' => 'selectpicker',
], ],
'translation_domain' => false,
'choices' => User::AVAILABLE_THEMES, 'choices' => User::AVAILABLE_THEMES,
'choice_label' => function ($entity, $key, $value) { 'choice_label' => function ($entity, $key, $value) {
return $value; return $value;