Skip to content

Commit

Permalink
Merge pull request #490 from creative-commoners/pulls/2.4/add-missing…
Browse files Browse the repository at this point in the history
…-translation

FIX Add missing translation for GridFieldBlogPostState
  • Loading branch information
robbieaverill authored Dec 1, 2017
2 parents f2a0c36 + 18fe0a9 commit 6929e01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/forms/gridfield/GridFieldBlogPostState.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function getColumnContent($gridField, $record, $columnName)
$modifiedLabel = '';

if ($record->isModifiedOnStage) {
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified') . '</span>';
$modifiedLabel = '<span class="modified">' . _t('GridFieldBlogPostState.Modified', 'Modified') . '</span>';
}

if (!$record->isPublished()) {
Expand Down
1 change: 1 addition & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6929e01

Please sign in to comment.