- 'choices_as_values' => true,
- ))
- ->add('items_per_page')
- ->add('language', ChoiceType::class, array(
+ 'label' => 'config.form_settings.theme_label',
+ ])
+ ->add('items_per_page', null, [
+ 'label' => 'config.form_settings.items_per_page_label',
+ ])
+ ->add('reading_speed', ChoiceType::class, [
+ 'label' => 'config.form_settings.reading_speed.label',
+ 'choices' => [
+ 'config.form_settings.reading_speed.100_word' => '0.5',
+ 'config.form_settings.reading_speed.200_word' => '1',
+ 'config.form_settings.reading_speed.300_word' => '1.5',
+ 'config.form_settings.reading_speed.400_word' => '2',
+ ],
+ ])
+ ->add('language', ChoiceType::class, [