diff --git a/modules/creation/adding-configuration-page-modern.md b/modules/creation/adding-configuration-page-modern.md index 6dc9ea5933..85c8f64256 100644 --- a/modules/creation/adding-configuration-page-modern.md +++ b/modules/creation/adding-configuration-page-modern.md @@ -37,11 +37,11 @@ class DemoSymfonyFormSimple extends Module $this->bootstrap = true; parent::__construct(); - $this->displayName = $this->trans('Demo of the Symfony-based configuration form', [], 'Modules.DemoSymfonyFormSimple.Admin'); + $this->displayName = $this->trans('Demo of the Symfony-based configuration form', [], 'Modules.Demosymfonyformsimple.Admin'); $this->description = $this->trans( 'Module demonstrates a simple module\'s configuration page made with Symfony.', [], - 'Modules.DemoSymfonyFormSimple.Admin' + 'Modules.Demosymfonyformsimple.Admin' ); $this->ps_versions_compliancy = ['min' => '8.0.0', 'max' => '8.99.99']; @@ -102,8 +102,8 @@ class DemoConfigurationFormType extends TranslatorAwareType { $builder ->add('config_text', TextType::class, [ - 'label' => $this->trans('Configuration text', 'Modules.DemoSymfonyFormSimple.Admin'), - 'help' => $this->trans('Maximum 32 characters', 'Modules.DemoSymfonyFormSimple.Admin'), + 'label' => $this->trans('Configuration text', 'Modules.Demosymfonyformsimple.Admin'), + 'help' => $this->trans('Maximum 32 characters', 'Modules.Demosymfonyformsimple.Admin'), ]); } } @@ -301,7 +301,7 @@ Create a `form.html.twig` file in `views/templates/admin`. {{ form_start(demoConfigurationForm) }}