FIX Add translation to some areas of BlogMemberExtension that were missing them

This commit is contained in:
Rastislav Brandobur 2017-04-12 10:33:29 +02:00 committed by GitHub
parent 7583e0bcd5
commit 2cd7db9beb

View File

@ -97,11 +97,11 @@ class BlogMemberExtension extends DataExtension
Requirements::css(BLOGGER_DIR . '/css/cms.css');
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(
'BlogPosts',
'Blog Posts',
_t('BlogMemberExtension.BLOGPOSTS', 'Blog Posts'),
$this->owner->BlogPosts(),
new GridFieldConfig_BlogPost()
);