Merge pull request #435 from rasstislav/patch-1

FIX Add translation to some areas of BlogMemberExtension that were missing them
This commit is contained in:
Daniel Hensby 2017-06-15 16:56:31 +01:00 committed by GitHub
commit deb0a098e8
2 changed files with 5 additions and 2 deletions

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()
);

View File

@ -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'