diff --git a/lang/en.yml b/lang/en.yml index 4532366..650ad90 100644 --- a/lang/en.yml +++ b/lang/en.yml @@ -1,5 +1,6 @@ en: SilverStripe\ErrorPage\ErrorPage: + CLASS_DESCRIPTION: 'Custom content for different error cases (e.g. "Page not found")' CODE: 'Error code' CODE_400: '400 - Bad Request' CODE_401: '401 - Unauthorized' diff --git a/src/ErrorPage.php b/src/ErrorPage.php index 7242f28..8000137 100644 --- a/src/ErrorPage.php +++ b/src/ErrorPage.php @@ -60,7 +60,7 @@ class ErrorPage extends Page private static $allowed_children = []; - private static $description = 'Custom content for different error cases (e.g. "Page not found")'; + private static $class_description = 'Custom content for different error cases (e.g. "Page not found")'; private static $icon_class = 'font-icon-p-error';