diff --git a/blocks/community/communitycourse.php b/blocks/community/communitycourse.php index 1f9f953fa41..0835faa9f94 100644 --- a/blocks/community/communitycourse.php +++ b/blocks/community/communitycourse.php @@ -77,7 +77,7 @@ if ($add != -1 and $confirm and confirm_sesskey()) { $course->url = optional_param('courseurl', '', PARAM_URL); $course->imageurl = optional_param('courseimageurl', '', PARAM_URL); $communitymanager->block_community_add_course($course, $USER->id); - $notificationmessage = $OUTPUT->notification(get_string('addedtoblock', 'hub'), + $notificationmessage = $OUTPUT->notification(get_string('addedtoblock', 'community_hub'), 'notifysuccess'); } diff --git a/blocks/community/lang/en/block_community.php b/blocks/community/lang/en/block_community.php index 87220516855..bca97362c58 100644 --- a/blocks/community/lang/en/block_community.php +++ b/blocks/community/lang/en/block_community.php @@ -26,6 +26,7 @@ $string['activities'] = 'Activities'; $string['add'] = 'Add'; +$string['addedtoblock'] = 'A link to this course has been added in your community block'; $string['addtocommunityblock'] = 'Save a link to this course'; $string['addcommunitycourse'] = 'Add community course'; $string['additionalcoursedesc'] = '{$a->lang} Creator: {$a->creatorname} - Publisher: {$a->publishername} - Subject: {$a->subject}