From 633469aa3333ce420790da6a6d410c59c8c7a077 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 8 Mar 2023 10:20:42 +0100 Subject: [PATCH] wip #5750 @1 --- app/Models/Traits/PublicationSettings.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Models/Traits/PublicationSettings.php b/app/Models/Traits/PublicationSettings.php index 8257d4ce1..1ec168092 100644 --- a/app/Models/Traits/PublicationSettings.php +++ b/app/Models/Traits/PublicationSettings.php @@ -929,8 +929,8 @@ trait PublicationSettings 'store_in' => 'settings', 'translatable' => false, ]); - $this->addField('section_landing', FormSection::class, $this->__('Custom Landing Page')); - $this->addField('landingPage', FilesOrURL::class, $this->__('Landing Page content'), [ + $this->addField('section_landing', FormSection::class, $this->__('Landing page')); + $this->addField('landingPage', FilesOrURL::class, $this->__('Contenu de la landing page'), [ 'v2' => '{"type":"freefile","default":"","editable":true,"label":"\\u00a7!\\u00a7Landing Page content!\\u00a7!","grade":3}', 'default' => '', 'fake' => true, @@ -1565,7 +1565,7 @@ trait PublicationSettings 'store_in' => 'settings', 'translatable' => false, ]); - $this->addField('displayChaptersPopup', Checkbox::class, $this->__('Always display chapters in a popup'), [ + $this->addField('displayChaptersPopup', Checkbox::class, $this->__('Toujours afficher le sommaire dans un popup'), [ 'v2' => '{"type":"boolean","default":true,"editable":true,"label":"\\u00a7!\\u00a7Always display chapters in a popup!\\u00a7!","grade":1}', 'default' => true, 'fake' => true, @@ -1691,7 +1691,7 @@ trait PublicationSettings ]); $this->addField('tabsPages', LongText::class, $this->__('Pages des onglets'), [ 'v2' => '{"type":"text","label":"\\u00a7!\\u00a7Pages des onglets!\\u00a7!","editable":true,"default":"","grade":5,"hint":"\\u00a7!\\u00a7Num\\u00e9ros de pages s\\u00e9paras par une virgule!\\u00a7!"}', - 'hint' => $this->__('Numéros de pages séparas par une virgule'), + 'hint' => $this->__('Numéros de pages séparés par une virgule'), 'default' => '', 'fake' => true, 'store_in' => 'settings', -- 2.39.5