Permalink
Browse files

MDL-18535:

Adding checks for field name mismatches and "proper" error messages.
  • Loading branch information...
1 parent c1d77cb commit 7b1476eb6d0757b9eb3e2e833ee6740dcbe9de4b thepurpleblob committed Mar 12, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 lang/en_utf8/data.php
View
@@ -41,9 +41,10 @@
$string['confirmdeletefield'] = 'You are about to delete this field, are you sure?';
$string['confirmdeleterecord'] = 'Are you sure you want to delete this entry?';
$string['csstemplate'] = 'CSS template';
+$string['csvfailed'] = 'Unable to read the raw data from the CSV file';
$string['csvfile'] = 'CSV file';
-$string['csvwithselecteddelimiter'] = '<acronym title=\"Comma Separated Values\">CSV</acronym> text with selected delimiter:';
$string['csvimport'] = 'CSV file import';
+$string['csvwithselecteddelimiter'] = '<acronym title=\"Comma Separated Values\">CSV</acronym> text with selected delimiter:';
$string['data:approve'] = 'Approve unapproved entries';
$string['data:comment'] = 'Write comments';
$string['data:managecomments'] = 'Manage comments';
@@ -105,6 +106,7 @@
$string['fieldoptions'] = 'Options (one per line)';
$string['fields'] = 'Fields';
$string['fieldids'] = 'Field ids';
+$string['fieldnotmatched'] = 'The following fields in your file are not known in this database: $a';
$string['fieldupdated'] = 'Field updated';
$string['fieldwidth'] = 'Width';
$string['fieldwidthlistview'] = 'Width in list view';

0 comments on commit 7b1476e

Please sign in to comment.