Skip to content

Commit

Permalink
Merge pull request #18 from deracs/master
Browse files Browse the repository at this point in the history
Update save name to use the singular name
  • Loading branch information
stevie-mayhew authored Mar 14, 2017
2 parents 25c9a3e + 578017c commit 52b7c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/SinglePageAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ public function doSave($data, $form)
$publish ? 'SinglePageAdmin.Published' : 'GridFieldDetailForm.Saved',
($publish ? 'Published' : 'Saved') . ' {name} {link}',
array(
'name' => $page->ClassName,
'name' => $page->i18n_singular_name(),
'link' => $link
)
);
Expand Down

0 comments on commit 52b7c36

Please sign in to comment.