]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7005 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jul 2024 14:00:46 +0000 (16:00 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 15 Jul 2024 14:00:46 +0000 (16:00 +0200)
app/Models/FluidbookHealthIssues.php

index aca33791d3ac0207f6e15a37d79180bfb04e3c50..0708d4f7bc3a24d447a3109c4c2e52ce05c0a7db 100644 (file)
@@ -19,6 +19,7 @@ class FluidbookHealthIssues extends ToolboxModel
     const TYPE_CHAPTER_PAGE_NOT_EXIST = 6;
     const TYPE_TABS_MISSING_TAB_ID = 7;
     const TYPE_THUMBS_PDF_MISSING = 8;
+    const TYPE_TIMEOUT_MAKE_SVG = 9;
 
     const CRIT_ERROR = 5;
     const CRIT_WARNING = 3;
@@ -136,6 +137,12 @@ class FluidbookHealthIssues extends ToolboxModel
                 'fixText' => __('Corriger le paramètre'),
                 'fixURL' => route('fluidbook-publication.edit', ['id' => $fluidbookId]) . '#s_section_index',
             ],
+            static::TYPE_TIMEOUT_MAKE_SVG =>
+                [
+                    'summary' => __('Temps dépassé lors de la conversion d\'une page'),
+                    'criticality' => self::CRIT_ERROR,
+                    'text' => __('La page :page a mis trop de temps a être convertie en SVG.') . ' ' . __('Veuillez la modifier pour réduire la complexité des textes et vecteurs.'),
+                ],
         ];
     }