Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-42309 typo: fix reponse -> response throughout Moodle.

  • Loading branch information...
commit ef37c13e292608d70c8032fd1a9b7cafb8f4b1c5 1 parent ac7f6f4
@timhunt timhunt authored marinaglancy committed
View
4 auth/cas/CAS/CAS/client.php
@@ -1370,7 +1370,7 @@ function setNoCasServerValidation()
/**
* This method is used to validate a ST; halt on failure, and sets $validate_url,
- * $text_reponse and $tree_response on success. These parameters are used later
+ * $text_response and $tree_response on success. These parameters are used later
* by CASClient::validatePGT() for CAS proxies.
* Used for all CAS 1.0 validations
* @param $validate_url the URL of the request to the CAS server.
@@ -1500,7 +1500,7 @@ function validateST($validate_url,&$text_response,&$tree_response)
/**
* This method is used to validate a SAML TICKET; halt on failure, and sets $validate_url,
- * $text_reponse and $tree_response on success. These parameters are used later
+ * $text_response and $tree_response on success. These parameters are used later
* by CASClient::validatePGT() for CAS proxies.
*
* @param $validate_url the URL of the request to the CAS server.
View
4 lib/webdavlib.php
@@ -229,7 +229,7 @@ function options() {
*
* Creates a new collection/directory on a webdav server
* @param string path
- * @return int status code received as reponse from webdav server (see rfc 2518)
+ * @return int status code received as response from webdav server (see rfc 2518)
*/
function mkcol($path) {
$this->_path = $this->translate_uri($path);
@@ -1444,7 +1444,7 @@ private function send_request() {
/**
* Private method get_respond
*
- * Reads the reponse from the webdav server.
+ * Reads the response from the webdav server.
*
* Stores data into class vars _header for the header data and
* _body for the rest of the response.
View
2  mod/quiz/report/responses/responses_options.php
@@ -39,7 +39,7 @@ class quiz_responses_options extends mod_quiz_attempts_report_options {
/** @var bool whether to show the question text columns. */
public $showqtext = false;
- /** @var bool whether to show the students' reponse columns. */
+ /** @var bool whether to show the students' response columns. */
public $showresponses = true;
/** @var bool whether to show the correct response columns. */
View
2  question/engine/lib.php
@@ -444,7 +444,7 @@ class question_display_options {
/**
* For questions with a number of sub-parts (like matching, or
- * multiple-choice, multiple-reponse) display the number of sub-parts that
+ * multiple-choice, multiple-response) display the number of sub-parts that
* were correct.
* @var integer {@link question_display_options::HIDDEN} or
* {@link question_display_options::VISIBLE}
View
2  question/engine/questionattempt.php
@@ -916,7 +916,7 @@ public function get_submitted_var($name, $type, $postdata = null) {
* @param array $postdata (optional, only inteded for testing use) take the
* data from this array, instead of from $_POST. At the moment, this
* behaves as if there were no files.
- * @param string $text optional reponse text.
+ * @param string $text optional response text.
* @return question_file_saver that can be used to save the files later.
*/
protected function process_response_files($name, $draftidname, $postdata = null, $text = null) {
View
4 question/type/essay/renderer.php
@@ -205,7 +205,7 @@ public function response_area_input($name, $qa, $step, $lines, $context) {
$formats[$fid] = $strformats[$fid];
}
- list($draftitemid, $reponse) = $this->prepare_response_for_editing(
+ list($draftitemid, $response) = $this->prepare_response_for_editing(
$name, $step, $context);
$editor->use_editor($id, $this->get_editor_options($context),
@@ -215,7 +215,7 @@ public function response_area_input($name, $qa, $step, $lines, $context) {
$output .= html_writer::start_tag('div', array('class' =>
$this->class_name() . ' qtype_essay_response'));
- $output .= html_writer::tag('div', html_writer::tag('textarea', s($reponse),
+ $output .= html_writer::tag('div', html_writer::tag('textarea', s($response),
array('id' => $id, 'name' => $inputname, 'rows' => $lines, 'cols' => 60)));
$output .= html_writer::start_tag('div');
View
2  question/type/numerical/lang/en/qtype_numerical.php
@@ -54,7 +54,7 @@
If you add the unit kW with a multiplier of 0.001, this will add a correct response of 5.5 kW. This means that the answers 5500W or 5.5kW would be marked correct.
Note that the accepted error is also multiplied, so an allowed error of 100W would become an error of 0.1kW.';
-$string['manynumerical'] = 'Units are optional. If a unit is entered, it is used to convert the reponse to Unit 1 before grading.';
+$string['manynumerical'] = 'Units are optional. If a unit is entered, it is used to convert the response to Unit 1 before grading.';
$string['nominal'] = 'Nominal';
$string['onlynumerical'] = 'Units are not used at all. Only the numerical value is graded.';
$string['oneunitshown'] = 'Unit 1 is automatically displayed beside the answer box.';
View
2  question/type/questiontypebase.php
@@ -129,7 +129,7 @@ public function is_usable_by_random() {
* method, and the question_definition class must implement the
* classify_response method.
*
- * @return bool whether this report can analyse all the student reponses
+ * @return bool whether this report can analyse all the student responses
* for things like the quiz statistics report.
*/
public function can_analyse_responses() {
View
4 question/type/rendererbase.php
@@ -131,7 +131,7 @@ public function feedback(question_attempt $qa, question_display_options $options
/**
* Generate the specific feedback. This is feedback that varies according to
- * the reponse the student gave.
+ * the response the student gave.
* @param question_attempt $qa the question attempt to display.
* @return string HTML fragment.
*/
@@ -158,7 +158,7 @@ protected function num_parts_correct(question_attempt $qa) {
/**
* Gereate the specific feedback. This is feedback that varies according to
- * the reponse the student gave.
+ * the response the student gave.
* @param question_attempt $qa the question attempt to display.
* @return string HTML fragment.
*/
View
2  webservice/amf/locallib.php
@@ -206,7 +206,7 @@ public function fault($fault = null, $code = 404)
// create a response object to place the output from the services.
$response = $this->getResponse();
- // set reponse encoding
+ // set response encoding
$response->setObjectEncoding($objectEncoding);
$responseBody = $request->getAmfBodies();
Please sign in to comment.
Something went wrong with that request. Please try again.