diff --git a/course/classes/management/helper.php b/course/classes/management/helper.php index 0befd6433df..1eb446cd4c2 100644 --- a/course/classes/management/helper.php +++ b/course/classes/management/helper.php @@ -766,7 +766,7 @@ class helper { */ public static function get_management_viewmodes() { return array( - 'combined' => new \lang_string('categoriesandcoures'), + 'combined' => new \lang_string('categoriesandcourses'), 'categories' => new \lang_string('categories'), 'courses' => new \lang_string('courses') ); diff --git a/course/tests/behat/behat_course.php b/course/tests/behat/behat_course.php index 732ae95bbb8..ce8400ba0f8 100644 --- a/course/tests/behat/behat_course.php +++ b/course/tests/behat/behat_course.php @@ -83,7 +83,7 @@ class behat_course extends behat_base { // Select Miscellaneous category. $this->i_click_on_category_in_the_management_interface(get_string('miscellaneous')); - $this->execute("behat_course::i_should_see_the_courses_management_page", get_string('categoriesandcoures')); + $this->execute("behat_course::i_should_see_the_courses_management_page", get_string('categoriesandcourses')); // Click create new course. $this->execute('behat_general::i_click_on_in_the', diff --git a/lang/en/moodle.php b/lang/en/moodle.php index 75bef45e41f..3b22fd9178d 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -224,7 +224,7 @@ $string['cachecontrols'] = 'Cache controls'; $string['cancel'] = 'Cancel'; $string['cancelled'] = 'Cancelled'; $string['categories'] = 'Course categories'; -$string['categoriesandcoures'] = 'Course categories and courses'; +$string['categoriesandcourses'] = 'Course categories and courses'; $string['category'] = 'Category'; $string['categoryadded'] = 'The category \'{$a}\' was added'; $string['categorybulkaction'] = 'Bulk actions for selected categories';