diff --git a/code/extensions/BlogMemberExtension.php b/code/extensions/BlogMemberExtension.php index 1a3f2d7..e37c9c2 100644 --- a/code/extensions/BlogMemberExtension.php +++ b/code/extensions/BlogMemberExtension.php @@ -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() ); diff --git a/lang/en.yml b/lang/en.yml index 9ba7ddd..891b51a 100755 --- a/lang/en.yml +++ b/lang/en.yml @@ -65,6 +65,9 @@ en: DESCRIPTION: 'Generic content page' PLURALNAME: 'Base Pages' SINGULARNAME: 'Blog Holder' + BlogMemberExtension: + BLOGPOSTS: 'Blog Posts' + TABBLOGPOSTS: 'Blog Posts' BlogPost: AUTHOR: Author AdditionalCredits: 'Additional Credits'