mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-35982 blog: improve the delete entry confirmation string
So that there is more context about what is being deleted.
This commit is contained in:
parent
bf12b089e6
commit
366f05f323
@ -141,7 +141,7 @@ if ($action === 'delete') {
|
||||
// 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));
|
||||
|
||||
|
@ -41,7 +41,7 @@ $string['blogaboutthis'] = 'Blog about this {$a->type}';
|
||||
$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}';
|
||||
|
Loading…
x
Reference in New Issue
Block a user