mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Add translation to some areas of BlogMemberExtension that were missing them
This commit is contained in:
parent
7583e0bcd5
commit
2cd7db9beb
@ -97,11 +97,11 @@ class BlogMemberExtension extends DataExtension
|
|||||||
Requirements::css(BLOGGER_DIR . '/css/cms.css');
|
Requirements::css(BLOGGER_DIR . '/css/cms.css');
|
||||||
Requirements::javascript(BLOGGER_DIR . '/js/cms.js');
|
Requirements::javascript(BLOGGER_DIR . '/js/cms.js');
|
||||||
|
|
||||||
$tab = new Tab('BlogPosts', 'Blog Posts');
|
$tab = new Tab('BlogPosts', _t('BlogMemberExtension.TABBLOGPOSTS', 'Blog Posts'));
|
||||||
|
|
||||||
$gridField = new GridField(
|
$gridField = new GridField(
|
||||||
'BlogPosts',
|
'BlogPosts',
|
||||||
'Blog Posts',
|
_t('BlogMemberExtension.BLOGPOSTS', 'Blog Posts'),
|
||||||
$this->owner->BlogPosts(),
|
$this->owner->BlogPosts(),
|
||||||
new GridFieldConfig_BlogPost()
|
new GridFieldConfig_BlogPost()
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user