Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

MDL-33090 - Missing strings in XMLDB editor - added in missing strings

  • Loading branch information...
commit ae11631886b248c8727f4bbaa8e45319a11b617a 1 parent 4f7f2a8
Rex Lorenzo authored May 19, 2012

Showing 1 changed file with 9 additions and 0 deletions. Show diff stats Hide diff stats

  1. 9  admin/tool/xmldb/lang/en/tool_xmldb.php
9  admin/tool/xmldb/lang/en/tool_xmldb.php
@@ -69,6 +69,7 @@
69 69
 $string['down'] = 'Down';
70 70
 $string['duplicate'] = 'Duplicate';
71 71
 $string['duplicatefieldname'] = 'Another field with that name exists';
  72
+$string['duplicatefieldsused'] = 'Duplicate fields used';
72 73
 $string['duplicatekeyname'] = 'Another key with that name exists';
73 74
 $string['duplicatetablename'] = 'Another table with that name exists';
74 75
 $string['edit'] = 'Edit';
@@ -88,6 +89,7 @@
88 89
 $string['fieldnameempty'] = 'Name field empty';
89 90
 $string['fields'] = 'Fields';
90 91
 $string['fieldsnotintable'] = 'Field doesn\'t exist in table';
  92
+$string['fieldsusedinindex'] = 'This field is used as index';
91 93
 $string['fieldsusedinkey'] = 'This field is used as key.';
92 94
 $string['filenotwriteable'] = 'File not writeable';
93 95
 $string['fkviolationdetails'] = 'Foreign key {$a->keyname} on table {$a->tablename} is violated by {$a->numviolations} out of {$a->numrows} rows.';
@@ -113,8 +115,10 @@
113 115
 $string['index'] = 'Index';
114 116
 $string['indexes'] = 'Indexes';
115 117
 $string['integerincorrectlength'] = 'Incorrect length for integer field';
  118
+$string['incorrectkeyname'] = 'Incorrect key name';
116 119
 $string['incorrecttablename'] = 'Incorrect table name';
117 120
 $string['key'] = 'Key';
  121
+$string['keynameempty'] = 'The key name cannot be empty';
118 122
 $string['keys'] = 'Keys';
119 123
 $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)';
120 124
 $string['load'] = 'Load';
@@ -131,8 +135,11 @@
131 135
 $string['newtable'] = 'New table';
132 136
 $string['newtablefrommysql'] = 'New table from MySQL';
133 137
 $string['new_table_from_mysql'] = 'New table from MySQL';
  138
+$string['nofieldsspecified'] = 'No fields specified';
134 139
 $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.';
135 140
 $string['nomissingindexesfound'] = 'No missing indexes have been found, your DB doesn\'t need further actions.';
  141
+$string['noreffieldsspecified'] = 'No reference fields specified';
  142
+$string['noreftablespecified'] = 'Specified reference table not found';
136 143
 $string['noviolatedforeignkeysfound'] = 'No violated foreign keys found';
137 144
 $string['nowrongdefaultsfound'] = 'No inconsistent default values have been found, your DB does not need further actions.';
138 145
 $string['nowrongintsfound'] = 'No wrong integers have been found, your DB doesn\'t need further actions.';
@@ -143,6 +150,7 @@
143 150
 $string['pendingchangescannotbesaved'] = 'There are changes in this file but they cannot be saved! Please verify that both the directory and the "install.xml" within it have write permissions for the web server.';
144 151
 $string['pendingchangescannotbesavedreload'] = 'There are changes in this file but they cannot be saved! Please verify that both the directory and the "install.xml" within it have write permissions for the web server. Then reload this page and you should be able to save those changes.';
145 152
 $string['pluginname'] = 'XMLDB editor';
  153
+$string['primarykeyonlyallownotnullfields'] = 'Primary keys cannot be null';
146 154
 $string['reserved'] = 'Reserved';
147 155
 $string['reservedwords'] = 'Reserved words';
148 156
 $string['revert'] = 'Revert';
@@ -178,6 +186,7 @@
178 186
 $string['wrongdefaults'] = 'Wrong defaults found';
179 187
 $string['wrongints'] = 'Wrong integers found';
180 188
 $string['wronglengthforenum'] = 'Incorrect length for enum field';
  189
+$string['wrongnumberofreffields'] = 'Wrong number of reference fields';
181 190
 $string['wrongreservedwords'] = 'Currently used reserved words<br />(note that table names aren\'t important if using $CFG->prefix)';
182 191
 $string['wrongoraclesemantics'] = 'Wrong Oracle BYTE semantics found';
183 192
 $string['yesmissingindexesfound'] = 'Some missing indexes have been found in your DB. Here are their details and the needed SQL statements to be executed with your favourite SQL interface to create all them (don\'t forget to backup your data before doing that).<br /><br />After doing that, it\'s highly recommended to execute this utility again to check that no more missing indexes are found.';

0 notes on commit ae11631

Please sign in to comment.
Something went wrong with that request. Please try again.