From 9bec0e7e7457265cd94f3544693121956a977aad Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Fri, 29 Mar 2019 05:58:36 +0800 Subject: [PATCH] MDL-65207 core: replace typos by actually --- backup/moodle2/restore_stepslib.php | 6 +++--- backup/util/helper/tests/backup_encode_content_test.php | 2 +- filter/algebra/tests/filter_test.php | 2 +- lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce_src.js | 2 +- lib/questionlib.php | 2 +- mod/quiz/accessrule/accessrulebase.php | 2 +- mod/quiz/backup/moodle2/restore_quiz_stepslib.php | 2 +- question/behaviour/interactivecountback/behaviour.php | 2 +- question/engine/questionattemptstep.php | 4 ++-- question/engine/upgrade/tests/helper.php | 2 +- question/question.php | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-) diff --git a/backup/moodle2/restore_stepslib.php b/backup/moodle2/restore_stepslib.php index 149f606ce46..ff9e937bf93 100644 --- a/backup/moodle2/restore_stepslib.php +++ b/backup/moodle2/restore_stepslib.php @@ -5269,7 +5269,7 @@ abstract class restore_questions_activity_structure_step extends restore_activit } /** - * This method does the acutal work for process_question_usage or + * This method does the actual work for process_question_usage or * process_{nameprefix}_question_usage. * @param array $data the data from the XML file. * @param string $nameprefix the element name prefix. @@ -5304,7 +5304,7 @@ abstract class restore_questions_activity_structure_step extends restore_activit abstract protected function inform_new_usage_id($newusageid); /** - * This method does the acutal work for process_question_attempt or + * This method does the actual work for process_question_attempt or * process_{nameprefix}_question_attempt. * @param array $data the data from the XML file. * @param string $nameprefix the element name prefix. @@ -5334,7 +5334,7 @@ abstract class restore_questions_activity_structure_step extends restore_activit } /** - * This method does the acutal work for process_question_attempt_step or + * This method does the actual work for process_question_attempt_step or * process_{nameprefix}_question_attempt_step. * @param array $data the data from the XML file. * @param string $nameprefix the element name prefix. diff --git a/backup/util/helper/tests/backup_encode_content_test.php b/backup/util/helper/tests/backup_encode_content_test.php index 63554d32232..54067125e24 100644 --- a/backup/util/helper/tests/backup_encode_content_test.php +++ b/backup/util/helper/tests/backup_encode_content_test.php @@ -33,7 +33,7 @@ require_once($CFG->dirroot . '/backup/moodle2/backup_course_task.class.php'); /** * Tests for encoding content links in backup_course_task. * - * The code that this tests is acutally in backup/moodle2/backup_course_task.class.php, + * The code that this tests is actually in backup/moodle2/backup_course_task.class.php, * but there is no place for unit tests near there, and perhaps one day it will * be refactored so it becomes more generic. */ diff --git a/filter/algebra/tests/filter_test.php b/filter/algebra/tests/filter_test.php index 6c7db8fbdad..529b9ec415e 100644 --- a/filter/algebra/tests/filter_test.php +++ b/filter/algebra/tests/filter_test.php @@ -32,7 +32,7 @@ require_once($CFG->dirroot . '/filter/algebra/filter.php'); /** * Unit tests for filter_algebra. * - * Note that this only tests some of the filter logic. It does not acutally test + * Note that this only tests some of the filter logic. It does not actually test * the normal case of the filter working, because I cannot make it work on my * test server, and if it does not work here, it probably does not also work * for other people. A failing test will be irritating noise. diff --git a/lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce_src.js b/lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce_src.js index 64ebe3aae92..9a3f3bfffe8 100644 --- a/lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce_src.js +++ b/lib/editor/tinymce/tiny_mce/3.5.11/tiny_mce_src.js @@ -10720,7 +10720,7 @@ window.tinymce.dom.Sizzle = Sizzle; // Nodes needs to be attached to something in WebKit/Opera // Older builds of Opera crashes if you attach the node to an document created dynamically - // and since we can't feature detect a crash we need to sniff the acutal build number + // and since we can't feature detect a crash we need to sniff the actual build number // This fix will make DOM ranges and make Sizzle happy! impl = node.ownerDocument.implementation; if (impl.createHTMLDocument) { diff --git a/lib/questionlib.php b/lib/questionlib.php index 22fa4f711e2..a465c7debec 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -659,7 +659,7 @@ function question_move_question_tags_to_new_context(array $questions, context $n /** * This function should be considered private to the question bank, it is called from * question/editlib.php question/contextmoveq.php and a few similar places to to the - * work of acutally moving questions and associated data. However, callers of this + * work of actually moving questions and associated data. However, callers of this * function also have to do other work, which is why you should not call this method * directly from outside the questionbank. * diff --git a/mod/quiz/accessrule/accessrulebase.php b/mod/quiz/accessrule/accessrulebase.php index 649e410b8cb..d8495122076 100644 --- a/mod/quiz/accessrule/accessrulebase.php +++ b/mod/quiz/accessrule/accessrulebase.php @@ -34,7 +34,7 @@ require_once($CFG->dirroot . '/mod/quiz/locallib.php'); * want to say that access is allowed, or explain the reason why it is block. * Therefore instead of is_access_allowed(...) we have prevent_access(...) that * return false if access is permitted, or a string explanation (which is treated - * as true) if access should be blocked. Slighly unnatural, but acutally the easist + * as true) if access should be blocked. Slighly unnatural, but actually the easiest * way to implement this. * * @copyright 2009 Tim Hunt diff --git a/mod/quiz/backup/moodle2/restore_quiz_stepslib.php b/mod/quiz/backup/moodle2/restore_quiz_stepslib.php index 549e6047b10..3c31ba2559d 100644 --- a/mod/quiz/backup/moodle2/restore_quiz_stepslib.php +++ b/mod/quiz/backup/moodle2/restore_quiz_stepslib.php @@ -285,7 +285,7 @@ class restore_quiz_activity_structure_step extends restore_questions_activity_st if (!property_exists($data, 'slot')) { // There was a question_instance in the backup file for a question - // that was not acutally in the quiz. Drop it. + // that was not actually in the quiz. Drop it. $this->log('question ' . $data->questionid . ' was associated with quiz ' . $this->get_new_parentid('quiz') . ' but not actually used. ' . 'The instance has been ignored.', backup::LOG_INFO); diff --git a/question/behaviour/interactivecountback/behaviour.php b/question/behaviour/interactivecountback/behaviour.php index ccd91fd879b..c674b7d7c48 100644 --- a/question/behaviour/interactivecountback/behaviour.php +++ b/question/behaviour/interactivecountback/behaviour.php @@ -54,7 +54,7 @@ require_once(__DIR__ . '/../interactive/behaviour.php'); * - For the last part, they were wrong at the last try, so 0/3. * So, total mark is 6/12. (Really, a fraction of 0.5.) * - * Of course, the details of the grading are acutally up to the particular + * Of course, the details of the grading are actually up to the particular * question type. The point is that the final grade can take into account all * of the tries the student made. * diff --git a/question/engine/questionattemptstep.php b/question/engine/questionattemptstep.php index c0bb6fd67c3..3781806915a 100644 --- a/question/engine/questionattemptstep.php +++ b/question/engine/questionattemptstep.php @@ -519,7 +519,7 @@ class question_attempt_pending_step extends question_attempt_step { /** * If as a result of processing this step, you identify that this variant of the - * question is acutally identical to the another one, you may change the + * question is actually identical to the another one, you may change the * variant number recorded, in order to give better statistics. For an example * see qbehaviour_opaque. * @param int $variant the new variant number. @@ -571,7 +571,7 @@ class question_attempt_step_read_only extends question_attempt_step { /** * A null {@link question_attempt_step} returned from * {@link question_attempt::get_last_step()} etc. when a an attempt has just been - * created and there is no acutal step. + * created and there is no actual step. * * @copyright 2009 The Open University * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later diff --git a/question/engine/upgrade/tests/helper.php b/question/engine/upgrade/tests/helper.php index 02c2a449124..b7614dbec04 100644 --- a/question/engine/upgrade/tests/helper.php +++ b/question/engine/upgrade/tests/helper.php @@ -16,7 +16,7 @@ /** * This file contains test helper code for testing the upgrade to the new - * question engine. The acutal tests are organised by question type in files + * question engine. The actual tests are organised by question type in files * like question/type/truefalse/tests/upgradelibnewqe_test.php. * * @package moodlecore diff --git a/question/question.php b/question/question.php index a37d4199337..962c56ffdae 100644 --- a/question/question.php +++ b/question/question.php @@ -261,7 +261,7 @@ if ($mform->is_cancelled()) { // Ensure we redirect back to the category the question is being saved into. $returnurl->param('category', $fromform->category); - // We are acutally saving the question. + // We are actually saving the question. if (!empty($question->id)) { question_require_capability_on($question, 'edit'); } else {