]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7340 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 18 Feb 2025 13:42:02 +0000 (14:42 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 18 Feb 2025 13:42:02 +0000 (14:42 +0100)
app/Models/Traits/PublicationSettings.php

index 33536a9d03c024473efc25b92d29f57de9abc7e8..7b46ca0d34f63f736359a96f2efa53ccaf5f3d1e 100644 (file)
@@ -458,6 +458,7 @@ trait PublicationSettings
             'when' => ['svgToCanvas' => 1],
         ]);
         $this->addSettingField('', FormSeparator::class);
+        $this->addSettingField('transparentPage', Checkbox::class, __('Pages transparentes'), ['default' => false]);
         $this->addSettingField('imageFormat', SelectFromArray::class, $this->__('Format des images'), [
             'options' => [
                 'jpg' => 'JPEG',
@@ -1702,7 +1703,7 @@ trait PublicationSettings
     {
         $this->addSettingField('section_gamify', FormSection::class, $this->__('Gamification'));
         $this->addSettingField('gamify_coins_pages', Textarea::class, $this->__('Attribuer des coins lors de la visite des pages'), [
-            'hint' => __('Format (un par ligne): numéro ou intervale de pages=[variable:]nombre. Par exemple : :example1 ou :example2 ou :example3', ['example1' => '2=5', 'example2' => '5=A:10','example3'=>'5-8;9=1']),
+            'hint' => __('Format (un par ligne): numéro ou intervale de pages=[variable:]nombre. Par exemple : :example1 ou :example2 ou :example3', ['example1' => '2=5', 'example2' => '5=A:10', 'example3' => '5-8;9=1']),
         ]);
     }