Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 39 and 311]

   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'tool_xmldb', language 'en', branch 'MOODLE_22_STABLE'
  19   *
  20   * @package    tool_xmldb
  21   * @copyright  1999 onwards Martin Dougiamas  {@link http://moodle.com}
  22   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['actual'] = 'Actual';
  26  $string['addpersistent'] = 'Add mandatory persistent fields';
  27  $string['aftertable'] = 'After table:';
  28  $string['back'] = 'Back';
  29  $string['backtomainview'] = 'Back to main';
  30  $string['cannotuseidfield'] = 'Cannot insert the "id" field. It is an autonumeric column';
  31  $string['completelogbelow'] = '(see the complete log of the search below)';
  32  $string['confirmdeletefield'] = 'Are you absolutely sure that you want to delete the field:';
  33  $string['confirmdeleteindex'] = 'Are you absolutely sure that you want to delete the index:';
  34  $string['confirmdeletekey'] = 'Are you absolutely sure that you want to delete the key:';
  35  $string['confirmdeletetable'] = 'Are you absolutely sure that you want to delete the table:';
  36  $string['confirmdeletexmlfile'] = 'Are you absolutely sure that you want to delete the file:';
  37  $string['confirmcheckbigints'] = 'This functionality will search for <a href="https://tracker.moodle.org/browse/MDL-11038">potential wrong integer fields</a> in your Moodle server, generating (but not executing!) automatically the needed SQL statements to have all the integers in your DB properly defined.
  38  
  39  Once generated you can copy such statements and execute them safely with your favourite SQL interface (don\'t forget to backup your data before doing that).
  40  
  41  It\'s highly recommended to be running the latest (+ version) available of your Moodle release before executing the search of wrong integers.
  42  
  43  This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.';
  44  $string['confirmcheckdefaults'] = 'This functionality will search for inconsistent default values in your Moodle server, generating (but not executing!) the needed SQL statements to have all the default values properly defined.
  45  
  46  Once generated you can copy such statements and execute them safely with your favourite SQL interface (don\'t forget to backup your data before doing that).
  47  
  48  It\'s highly recommended to be running the latest (+ version) available of your Moodle release before executing the search of inconsistent default values.
  49  
  50  This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.';
  51  $string['confirmcheckforeignkeys'] = 'This functionality will search for potential violations of the foreign keys defined in the install.xml definitions. (Moodle does not currently generate actual foreign key constraints in the database, which is why invalid data may be present.)
  52  
  53  It\'s highly recommended to be running the latest (+ version) available of your Moodle release before executing the search for potential violations of the foreign keys.
  54  
  55  This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.';
  56  $string['confirmcheckindexes'] = 'This functionality will search for potential missing indexes in your Moodle server, generating (but not executing!) automatically the needed SQL statements to keep everything updated.
  57  
  58  Once generated you can copy such statements and execute them safely with your favourite SQL interface (don\'t forget to backup your data before doing that).
  59  
  60  It\'s highly recommended to be running the latest (+ version) available of your Moodle release before executing the search of missing indexes.
  61  
  62  This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.';
  63  $string['confirmcheckoraclesemantics'] = 'This functionality will search for <a href="https://tracker.moodle.org/browse/MDL-29322">Oracle varchar2 columns using BYTE semantics</a> in your Moodle server, generating (but not executing!) automatically the needed SQL statements to have all the columns converted to use CHAR semantics instead (better for cross-db compatibility and increased contents max. length).
  64  
  65  Once generated you can copy such statements and execute them safely with your favourite SQL interface (don\'t forget to backup your data before doing that).
  66  
  67  It\'s highly recommended to be running the latest (+ version) available of your Moodle release before executing the search of BYTE semantics.
  68  
  69  This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.';
  70  $string['confirmrevertchanges'] = 'Are you absolutely sure that you want to revert changes performed over:';
  71  $string['create'] = 'Create';
  72  $string['createtable'] = 'Create table:';
  73  $string['defaultincorrect'] = 'Incorrect default';
  74  $string['delete'] = 'Delete';
  75  $string['delete_field'] = 'Delete field';
  76  $string['delete_index'] = 'Delete index';
  77  $string['delete_key'] = 'Delete key';
  78  $string['delete_table'] = 'Delete table';
  79  $string['delete_xml_file'] = 'Delete XML file';
  80  $string['doc'] = 'Doc';
  81  $string['docindex'] = 'Documentation index:';
  82  $string['documentationintro'] = 'This documentation is generated automatically from the XMLDB database definition. It is available only in English.';
  83  $string['down'] = 'Down';
  84  $string['duplicate'] = 'Duplicate';
  85  $string['duplicatefieldname'] = 'Another field with that name exists';
  86  $string['duplicatefieldsused'] = 'Duplicate fields used';
  87  $string['duplicatekeyname'] = 'Another key with that name exists';
  88  $string['duplicatetablename'] = 'Another table with that name exists';
  89  $string['edit'] = 'Edit';
  90  $string['edit_field'] = 'Edit field';
  91  $string['edit_field_save'] = 'Save field';
  92  $string['edit_index'] = 'Edit index';
  93  $string['edit_index_save'] = 'Save index';
  94  $string['edit_key'] = 'Edit key';
  95  $string['edit_key_save'] = 'Save key';
  96  $string['edit_table'] = 'Edit table';
  97  $string['edit_table_save'] = 'Save table';
  98  $string['edit_xml_file'] = 'Edit XML file';
  99  $string['enumvaluesincorrect'] = 'Incorrect values for enum field';
 100  $string['expected'] = 'Expected';
 101  $string['extensionrequired'] = 'Sorry - the PHP extension \'{$a}\' is required for this action. Please install the extension if you want to use this feature.';
 102  $string['extraindexesfound'] = 'Extra indexes found';
 103  $string['field'] = 'Field';
 104  $string['fieldnameempty'] = 'Name field empty';
 105  $string['fields'] = 'Fields';
 106  $string['fieldsnotintable'] = 'Field doesn\'t exist in table';
 107  $string['fieldsusedinindex'] = 'This field is used as index';
 108  $string['fieldsusedinkey'] = 'This field is used as key.';
 109  $string['filemodifiedoutfromeditor'] = 'Warning: File locally modified while using the XMLDB Editor. Saving will overwrite local changes.';
 110  $string['filenotwriteable'] = 'File not writeable';
 111  $string['fkunknownfield'] = 'Foreign key {$a->keyname} on table {$a->tablename} points to a non-existent field {$a->reffield} in referenced table {$a->reftable}.';
 112  $string['fkunknowntable'] = 'Foreign key {$a->keyname} on table {$a->tablename} points to a non-existent table {$a->reftable}.';
 113  $string['fkviolationdetails'] = 'Foreign key {$a->keyname} on table {$a->tablename} is violated by {$a->numviolations} out of {$a->numrows} rows.';
 114  $string['floatincorrectdecimals'] = 'Incorrect number of decimals for float field';
 115  $string['floatincorrectlength'] = 'Incorrect length for float field';
 116  $string['float2numbernote'] = 'Notice: Although "float" fields are 100% supported by XMLDB, it\'s recommended to migrate to "number" fields instead.';
 117  $string['generate_all_documentation'] = 'All the documentation';
 118  $string['generate_documentation'] = 'Documentation';
 119  $string['gotolastused'] = 'Go to last used file';
 120  $string['change'] = 'Change';
 121  $string['charincorrectlength'] = 'Incorrect length for char field';
 122  $string['checkbigints'] = 'Check integers';
 123  $string['check_bigints'] = 'Look for incorrect DB integers';
 124  $string['checkdefaults'] = 'Check defaults';
 125  $string['check_defaults'] = 'Look for inconsistent default values';
 126  $string['checkforeignkeys'] = 'Check foreign keys';
 127  $string['check_foreign_keys'] = 'Look for foreign key violations';
 128  $string['checkindexes'] = 'Check indexes';
 129  $string['check_indexes'] = 'Look for missing DB indexes';
 130  $string['checkoraclesemantics'] = 'Check semantics';
 131  $string['check_oracle_semantics'] = 'Look for incorrect length semantics';
 132  $string['duplicateindexname'] = 'Duplicate index name';
 133  $string['incorrectfieldname'] = 'Incorrect name';
 134  $string['index'] = 'Index';
 135  $string['indexes'] = 'Indexes';
 136  $string['indexnameempty'] = 'Index name is empty';
 137  $string['integerincorrectlength'] = 'Incorrect length for integer field';
 138  $string['incorrectindexname'] = 'Incorrect index name';
 139  $string['incorrectkeyname'] = 'Incorrect key name';
 140  $string['incorrecttablename'] = 'Incorrect table name';
 141  $string['key'] = 'Key';
 142  $string['keynameempty'] = 'The key name cannot be empty';
 143  $string['keys'] = 'Keys';
 144  $string['listreservedwords'] = 'List of reserved words<br />(used to keep <a href="https://docs.moodle.org/en/XMLDB_reserved_words" target="_blank">XMLDB reserved words</a> updated)';
 145  $string['load'] = 'Load';
 146  $string['main_view'] = 'Main view';
 147  $string['masterprimaryuniqueordernomatch'] = 'The fields in your foreign key must be listed in the same order as they are listed in the UNIQUE KEY on the referenced table.';
 148  $string['missing'] = 'Missing';
 149  $string['missingindexes'] = 'Missing indexes found';
 150  $string['mustselectonefield'] = 'You must select one field to see field related actions!';
 151  $string['mustselectoneindex'] = 'You must select one index to see index related actions!';
 152  $string['mustselectonekey'] = 'You must select one key to see key related actions!';
 153  $string['newfield'] = 'New field';
 154  $string['newindex'] = 'New index';
 155  $string['newkey'] = 'New key';
 156  $string['newtable'] = 'New table';
 157  $string['newtablefrommysql'] = 'New table from MySQL';
 158  $string['new_table_from_mysql'] = 'New table from MySQL';
 159  $string['nofieldsspecified'] = 'No fields specified';
 160  $string['nomasterprimaryuniquefound'] = 'The column(s) that your foreign key references must be included in a primary or unique KEY in the referenced table. Note that the column being in a UNIQUE INDEX is not good enough.';
 161  $string['nomissingorextraindexesfound'] = 'No missing or extra indexes have been found, so no further action is required.';
 162  $string['noreffieldsspecified'] = 'No reference fields specified';
 163  $string['noreftablespecified'] = 'Specified reference table not found';
 164  $string['noviolatedforeignkeysfound'] = 'No violated foreign keys found';
 165  $string['nowrongdefaultsfound'] = 'No inconsistent default values have been found, your DB does not need further actions.';
 166  $string['nowrongintsfound'] = 'No wrong integers have been found, your DB doesn\'t need further actions.';
 167  $string['nowrongoraclesemanticsfound'] = 'No Oracle columns using BYTE semantics have been found, your DB doesn\'t need further actions.';
 168  $string['numberincorrectdecimals'] = 'Incorrect number of decimals for number field';
 169  $string['numberincorrectlength'] = 'Incorrect length for number field';
 170  $string['numberincorrectwholepart'] = 'Too big whole number part for number field';
 171  $string['pendingchanges'] = 'Note: You have performed changes to this file. They can be saved at any moment.';
 172  $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.';
 173  $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.';
 174  $string['persistentfieldsconfirm'] = 'Do you want to add the following fields: ';
 175  $string['persistentfieldscomplete'] = 'The following fields have been added: ';
 176  $string['persistentfieldsexist'] = 'The following fields already exist: ';
 177  $string['pluginname'] = 'XMLDB editor';
 178  $string['primarykeyonlyallownotnullfields'] = 'Primary keys cannot be null';
 179  $string['reconcilefiles'] = 'Reconcile XMLDB files';
 180  $string['reconcile_files'] = 'Look for XMLDB files needing reconciling';
 181  $string['reconcile_files_intro'] = 'This functionality looks though the contents of all XMLDB files to verify that they match the results of generating them from the XMLDB editor.
 182  
 183  A list of files needing to be reconciled (regenerated) will be displayed and the XMLDB editor can be used to fix them.';
 184  $string['reconcile_files_no'] = 'All files are OK. No reconciling is needed.';
 185  $string['reconcile_files_yes'] = 'Found files to reconcile: ';
 186  $string['reserved'] = 'Reserved';
 187  $string['reservedwords'] = 'Reserved words';
 188  $string['revert'] = 'Revert';
 189  $string['revert_changes'] = 'Revert changes';
 190  $string['save'] = 'Save';
 191  $string['searchresults'] = 'Search results';
 192  $string['selectaction'] = 'Select action:';
 193  $string['selectdb'] = 'Select database:';
 194  $string['selectfieldkeyindex'] = 'Select field/key/index:';
 195  $string['selectonecommand'] = 'Please select one action from the list to view PHP code';
 196  $string['selectonefieldkeyindex'] = 'Please select one field/key/index from the list to view the PHP code';
 197  $string['selecttable'] = 'Select table:';
 198  $string['table'] = 'Table';
 199  $string['tablenameempty'] = 'The table name cannot be empty';
 200  $string['tables'] = 'Tables';
 201  $string['unknownfield'] = 'Refers to an unknown field';
 202  $string['unknowntable'] = 'Refers to an unknown table';
 203  $string['unload'] = 'Unload';
 204  $string['up'] = 'Up';
 205  $string['view'] = 'View';
 206  $string['viewedited'] = 'View edited';
 207  $string['vieworiginal'] = 'View original';
 208  $string['viewphpcode'] = 'View PHP code';
 209  $string['view_reserved_words'] = 'View reserved words';
 210  $string['viewsqlcode'] = 'View SQL code';
 211  $string['view_structure_php'] = 'View structure PHP';
 212  $string['view_structure_sql'] = 'View structure SQL';
 213  $string['view_table_php'] = 'View table PHP';
 214  $string['view_table_sql'] = 'View table SQL';
 215  $string['viewxml'] = 'XML';
 216  $string['violatedforeignkeys'] = 'Violated foreign keys';
 217  $string['violatedforeignkeysfound'] = 'Violated foreign keys found';
 218  $string['violations'] = 'Violations';
 219  $string['wrong'] = 'Wrong';
 220  $string['wrongdefaults'] = 'Wrong defaults found';
 221  $string['wrongints'] = 'Wrong integers found';
 222  $string['wronglengthforenum'] = 'Incorrect length for enum field';
 223  $string['wrongnumberofreffields'] = 'Wrong number of reference fields';
 224  $string['wrongreservedwords'] = 'Currently used reserved words<br />(note that table names aren\'t important if using $CFG->prefix)';
 225  $string['wrongoraclesemantics'] = 'Wrong Oracle BYTE semantics found';
 226  $string['yesextraindexesfound'] = 'The following additional indexes were found.';
 227  $string['yesmissingindexesfound'] = '<p>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 of them. Remember to backup your data first!</p>
 228  <p>After doing that, it\'s highly recommended to execute this utility again to check that no more missing indexes are found.</p>';
 229  $string['yeswrongdefaultsfound'] = '<p>Some inconsistent defaults have been found in your DB. Here are their details and the needed SQL statements to be executed with your favourite SQL interface to fix them all. Remember to backup your data first!</p>
 230  <p>After doing that, it\'s highly recommended to execute this utility again to check that no more inconsistent defaults are found.</p>';
 231  $string['yeswrongintsfound'] = '<p>Some wrong integers have been found in your DB. Here are their details and the needed SQL statements to be executed with your favourite SQL interface to fix them. Remember to backup your data first!</p>
 232  <p>After fixing them, it is highly recommended to execute this utility again to check that no more wrong integers are found.</p>';
 233  $string['yeswrongoraclesemanticsfound'] = '<p>Some Oracle columns using BYTE semantics have been found in your DB. Here are their details and the needed SQL statements to be executed with your favourite SQL interface to convert them all. Remember to backup your data first!</p>
 234  <p>After doing that, it\'s highly recommended to execute this utility again to check that no more wrong semantics are found.</p>';
 235  $string['privacy:metadata'] = 'The XMLDB editor plugin does not store any personal data.';