diff --git a/lang/en_utf8/data.php b/lang/en_utf8/data.php index a8103df10bdf6..910addeedb212 100644 --- a/lang/en_utf8/data.php +++ b/lang/en_utf8/data.php @@ -138,13 +138,13 @@ $string['insufficiententries'] = 'more entries needed to view this database'; $string['intro'] = 'Introduction'; $string['invalidaccess'] = 'This page was not accessed correctly'; -$string['invalidfieldname'] = 'Please choose another name for this field'; $string['invalidfieldid'] = 'Field ID is incorrect'; +$string['invalidfieldname'] = 'Please choose another name for this field'; $string['invalidfieldtype'] = 'Field Type is incorrect'; $string['invalidid'] = 'Incorrect data ID'; -$string['invalidrecord'] = 'Incorrect record'; +$string['invalidpreset'] = '$a is not a preset.'; $string['invalidratedata'] = 'Incorrect submitted ratings data'; -$string['invildpreset'] = '$a is not a preset.'; +$string['invalidrecord'] = 'Incorrect record'; $string['invalidurl'] = 'The URL you just entered is not valid'; $string['jstemplate'] = 'Javascript template'; $string['latitude'] = 'Latitude'; diff --git a/mod/data/lib.php b/mod/data/lib.php index d88748c401cbf..e846a091a6174 100755 --- a/mod/data/lib.php +++ b/mod/data/lib.php @@ -1842,7 +1842,7 @@ function get_settings() { global $CFG, $DB; if (!is_directory_a_preset($this->folder)) { - print_error('invildpreset', 'data', '', $this->userid.'/'.$this->shortname); + print_error('invalidpreset', 'data', '', $this->userid.'/'.$this->shortname); } /* Grab XML */