From 5c6db8d956a85a1925d26922d13206cb4c1989b3 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Wed, 31 Oct 2018 11:18:07 +0100 Subject: [PATCH] MDL-63064 block_starredcourses: move lang strings to core_course AMOS BEGIN MOV [aria:courseimage,block_myoverview],[aria:courseimage,core_course] MOV [aria:coursename,block_myoverview],[aria:coursename,core_course] MOV [aria:favourite,block_myoverview],[aria:favourite,core_course] MOV [favourite,block_myoverview],[favourite,core_course] MOV [notfavourite,block_myoverview],[notfavourite,core_course] AMOS END --- blocks/myoverview/lang/en/block_myoverview.php | 5 ----- lang/en/course.php | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/blocks/myoverview/lang/en/block_myoverview.php b/blocks/myoverview/lang/en/block_myoverview.php index 95006568ca2..de95d3caf26 100644 --- a/blocks/myoverview/lang/en/block_myoverview.php +++ b/blocks/myoverview/lang/en/block_myoverview.php @@ -29,12 +29,9 @@ $string['aria:allcourses'] = 'All courses'; $string['aria:card'] = 'Switch to card view'; $string['aria:controls'] = 'Course overview controls'; $string['aria:courseactions'] = 'Actions for current course'; -$string['aria:courseimage'] = 'Course image:'; -$string['aria:coursename'] = 'Course name:'; $string['aria:coursesummary'] = 'Course summary text:'; $string['aria:courseprogress'] = 'Course progress:'; $string['aria:displaydropdown'] = 'Display dropdown'; -$string['aria:favourite'] = 'Course is starred'; $string['aria:favourites'] = 'Show starred courses'; $string['aria:future'] = 'Show future courses'; $string['aria:groupingdropdown'] = 'Grouping dropdown'; @@ -49,11 +46,9 @@ $string['aria:sortingdropdown'] = 'Sorting dropdown'; $string['card'] = 'Card'; $string['cards'] = 'Cards'; $string['complete'] = 'Complete'; -$string['favourite'] = 'Starred course'; $string['favourites'] = 'Starred'; $string['future'] = 'Future'; $string['inprogress'] = 'In progress'; -$string['notfavourite'] = 'Not starred'; $string['lastaccessed'] = 'Last accessed'; $string['list'] = 'List'; $string['myoverview:addinstance'] = 'Add a new course overview block'; diff --git a/lang/en/course.php b/lang/en/course.php index bd1a9923ce7..511efd8cc96 100644 --- a/lang/en/course.php +++ b/lang/en/course.php @@ -22,6 +22,11 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ +$string['aria:courseimage'] = 'Course image:'; +$string['aria:coursename'] = 'Course name:'; +$string['aria:favourite'] = 'Course is starred'; +$string['favourite'] = 'Starred course'; +$string['notfavourite'] = 'Not starred'; $string['privacy:perpage'] = 'The number of courses to show per page.'; $string['privacy:completionpath'] = 'Course completion'; $string['privacy:metadata:completionsummary'] = 'The course contains completion information about the user.'; -- 2.11.4.GIT