]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Form/Type/ConfigType.php
Add reading time translation
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Form / Type / ConfigType.php
index 25ea9efa2c9ea07ba3b14252b2db8bdb97a28160..b30b4706af4a750ae7548f413a5a4988b0392661 100644 (file)
@@ -39,12 +39,12 @@ class ConfigType extends AbstractType
                 'label' => 'config.form_settings.items_per_page_label',
             ))
             ->add('reading_speed', ChoiceType::class, array(
-                'label' => 'config.form_settings.reading_speed',
+                'label' => 'config.form_settings.reading_speed.label',
                 'choices' => array(
-                    'I read ~100 words per minute' => '0.5',
-                    'I read ~200 words per minute' => '1',
-                    'I read ~300 words per minute' => '1.5',
-                    'I read ~400 words per minute' => '2',
+                    '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, array(