Merge pull request #490 from creative-commoners/pulls/2.4/add-missing-translation

FIX Add missing translation for GridFieldBlogPostState
This commit is contained in:
Robbie Averill 2017-12-01 17:37:24 +13:00 committed by GitHub
commit 6929e0178b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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()) {

View File

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