mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX Add missing translation for GridFieldBlogPostState
This commit is contained in:
parent
f2a0c36bd6
commit
18fe0a96e7
@ -20,7 +20,7 @@ class GridFieldBlogPostState extends GridFieldSiteTreeState
|
||||
$modifiedLabel = '';
|
||||
|
||||
if ($record->isModifiedOnStage) {
|
||||
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified') . '</span>';
|
||||
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified', 'Modified') . '</span>';
|
||||
}
|
||||
|
||||
if (!$record->isPublished()) {
|
||||
|
@ -121,6 +121,7 @@ en:
|
||||
PermissionFail: 'You don''t have permission to create a {class}.'
|
||||
GridFieldBlogPostState:
|
||||
Draft: '<i class="btn-icon gridfield-icon btn-icon-pencil"></i> Saved as Draft on {date}'
|
||||
Modified: 'Modified'
|
||||
Published: '<i class="btn-icon gridfield-icon btn-icon-accept"></i> Published on {date}'
|
||||
Timer: '<i class="gridfield-icon blog-icon-timer"></i> Publish at {date}'
|
||||
TagCloudWidget:
|
||||
|
Loading…
Reference in New Issue
Block a user