Language
This commit is contained in:
parent
77428b38ec
commit
654521cddf
|
@ -55,6 +55,11 @@ class BlogCategory extends DataObject implements CategorisationObject
|
||||||
'BlogPosts' => BlogPost::class,
|
'BlogPosts' => BlogPost::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
private static $translate = [
|
||||||
|
'Title',
|
||||||
|
'URLSegment'
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -78,6 +78,8 @@ trait BlogObject
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple Generate SEO-friendly URLs
|
* Simple Generate SEO-friendly URLs
|
||||||
* @param $text
|
* @param $text
|
||||||
|
|
|
@ -41,6 +41,11 @@ class BlogTag extends DataObject implements CategorisationObject
|
||||||
'URLSegment' => 'Varchar(255)'
|
'URLSegment' => 'Varchar(255)'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
private static $translate = [
|
||||||
|
'Title',
|
||||||
|
'URLSegment'
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue