mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
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:
commit
deb0a098e8
@ -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()
|
||||
);
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user