Permalink
Browse files

MDL-35982 blog: improve the delete entry confirmation string

So that there is more context about what is being deleted.
  • Loading branch information...
danpoltawski committed Oct 30, 2015
1 parent bf12b08 commit 366f05f32339574e4d941a92bd8fa3230acc0531
Showing with 2 additions and 2 deletions.
  1. +1 −1 blog/edit.php
  2. +1 −1 lang/en/blog.php
View
@@ -141,7 +141,7 @@
// Output edit mode title.
echo $OUTPUT->heading($strblogs . ': ' . get_string('deleteentry', 'blog'), 2);
echo $OUTPUT->confirm(get_string('blogdeleteconfirm', 'blog'),
echo $OUTPUT->confirm(get_string('blogdeleteconfirm', 'blog', format_string($entry->subject)),
new moodle_url('edit.php', $optionsyes),
new moodle_url('index.php', $optionsno));
View
@@ -41,7 +41,7 @@
$string['blogaboutthiscourse'] = 'Add an entry about this course';
$string['blogaboutthismodule'] = 'Add an entry about this {$a}';
$string['blogadministration'] = 'Blog administration';
$string['blogdeleteconfirm'] = 'Delete this blog entry?';
$string['blogdeleteconfirm'] = 'Delete the blog entry \'{$a}\'?';
$string['blogdisable'] = 'Blogging is disabled!';
$string['blogentries'] = 'Blog entries';
$string['blogentriesabout'] = 'Blog entries about {$a}';

0 comments on commit 366f05f

Please sign in to comment.