Skip to content

Commit

Permalink
FIX Add translation to some areas of BlogMemberExtension that were mi…
Browse files Browse the repository at this point in the history
…ssing them
  • Loading branch information
Rastislav Brandobur committed Apr 12, 2017
1 parent 7583e0b commit 2cd7db9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/extensions/BlogMemberExtension.php
Expand Up @@ -97,11 +97,11 @@ public function updateCMSFields(FieldList $fields)
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()
);
Expand Down

0 comments on commit 2cd7db9

Please sign in to comment.