]> git.mjollnir.org Git - moodle.git/commitdiff
XMLDB: MDL-18980 add missing error message lang strings
authortjhunt <tjhunt>
Mon, 27 Apr 2009 04:05:28 +0000 (04:05 +0000)
committertjhunt <tjhunt>
Mon, 27 Apr 2009 04:05:28 +0000 (04:05 +0000)
lang/en_utf8/xmldb.php

index 1413852738805b94602b4f6371521d9895ec7d19..78124e866c47c6d0615172ca40329727f32b8e5a 100644 (file)
@@ -86,9 +86,10 @@ $string['key'] = 'Key';
 $string['keys'] = 'Keys';
 $string['listreservedwords'] = 'List of Reserved Words<br />(used to keep <a href=\"http://docs.moodle.org/en/XMLDB_reserved_words\" target=\"_blank\">XMLDB_reserved_words</a> updated)';
 $string['load'] = 'Load';
+$string['main_view'] = 'Main View';
+$string['masterprimaryuniqueordernomatch'] = 'The fields in your foreign key must be listed in the same order as they are lised in the UNIQUE KEY on the referenced table.';
 $string['missing'] = 'Missing';
 $string['missingindexes'] = 'Missing Indexes Found';
-$string['main_view'] = 'Main View';
 $string['missingfieldsinsentence'] = 'Missing fields in sentence';
 $string['missingvaluesinsentence'] = 'Missing values in sentence';
 $string['mustselectonefield'] = 'You must select one field to see field related actions!';
@@ -104,6 +105,7 @@ $string['newsentence'] = 'New Sentence';
 $string['newstatement'] = 'New Statement';
 $string['newtable'] = 'New Table';
 $string['newtablefrommysql'] = 'New Table From MySQL';
+$string['nomasterprimaryuniquefound'] = 'The column(s) that you foreign key references must be included in a primary or unique KEY in the referenced table. Note, the column being in a UNIQUE INDEX is not good enough.';
 $string['nomissingindexesfound'] = 'No missing indexes have been found, your DB doesn\'t need further actions.';
 $string['noviolatedforeignkeysfound'] = 'No violated foreign keys found';
 $string['nowrongdefaultsfound'] = 'No inconsistent default values have been found, your DB does not need further actions.';