From fc40517570a5428f2b750b8209535d2ecaeca172 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Tue, 28 Aug 2007 22:57:43 +0000 Subject: [PATCH] Added some strings for the new Check Bigints utility. MDL-11038 (and reviewed a few more encouraging to backup before proceed) --- lang/en_utf8/xmldb.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lang/en_utf8/xmldb.php b/lang/en_utf8/xmldb.php index 07e367bfb3..794fe5fada 100644 --- a/lang/en_utf8/xmldb.php +++ b/lang/en_utf8/xmldb.php @@ -9,10 +9,17 @@ $string['binaryincorrectlength'] = 'Incorrect length for binary field'; $string['cannotuseidfield'] = 'Cannot insert the \"id\" field. It is an autonumeric column'; $string['change'] = 'Change'; $string['charincorrectlength'] = 'Incorrect length for char field'; +$string['checkbigints'] = 'Check Bigints'; $string['checkindexes'] = 'Check Indexes'; +$string['check_bigints'] = 'Look for incorrect DB integers'; $string['check_indexes'] = 'Look for missing DB indexes'; $string['completelogbelow'] = '(see the complete log of the search below)'; -$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. Once generated you can copy such statements and execute them safely with your favourite SQL interface.

+$string['confirmcheckbigints'] = 'This functionality will search for potential wrong integer fields in your Moodle server, generating (but not executing!) automatically the needed SQL statements to have all the integers in your DB properly defined.

+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).

+It\'s highly recommended to be running the latest (+ version) available of your Moodle release (1.8, 1.9, 2.x ...) before executing the search of missing indexes.

+This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.'; +$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.

+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).

It\'s highly recommended to be running the latest (+ version) available of your Moodle release (1.8, 1.9, 2.x ...) before executing the search of missing indexes.

This functionality doesn\'t perform any action against the DB (just reads from it), so can be safely executed at any moment.'; $string['confirmdeletefield'] = 'Are you absolutely sure that you want to delete the field:'; @@ -79,6 +86,7 @@ $string['newstatement'] = 'New Statement'; $string['newtable'] = 'New Table'; $string['newtablefrommysql'] = 'New Table From MySQL'; $string['nomissingindexesfound'] = 'No missing indexes have been found, your DB doesn\'t need further actions.'; +$string['nowrongintsfound'] = 'No wrong integers have been found, your DB doesn\'t need further actions.'; $string['numberincorrectdecimals'] = 'Incorrect number of decimals for number field'; $string['numberincorrectlength'] = 'Incorrect length for number field'; $string['reserved'] = 'Reserved'; @@ -113,8 +121,11 @@ $string['viewedited'] = 'View Edited'; $string['vieworiginal'] = 'View Original'; $string['viewphpcode'] = 'View PHP Code'; $string['viewsqlcode'] = 'View SQL Code'; +$string['wrong'] = 'Wrong'; +$string['wrongints'] = 'Wrong Integers Found'; $string['wronglengthforenum'] = 'Incorrect length for enum field'; $string['wrongnumberoffieldsorvalues'] = 'Incorrect number of fields or values in sentence'; $string['wrongreservedwords'] = 'Currently Used Reserved Words
(note that table names aren\'t important if using $CFG->prefix)'; -$string['yesmissingindexesfound'] = 'Some missing indexes have been found in your DB. Here there are their details and the needed SQL statements to be executed with your your favourite SQL interface to create all them.

After doing that, it\'s highly recommended to execute this utility again to check that no more missing indexes are found.'; +$string['yesmissingindexesfound'] = 'Some missing indexes have been found in your DB. Here there are their details and the needed SQL statements to be executed with your your favourite SQL interface to create all them (don\'t forget to backup your data before doing that).

After doing that, it\'s highly recommended to execute this utility again to check that no more missing indexes are found.'; +$string['yeswrongintsfound'] = 'Some wrong integers have been found in your DB. Here there are their details and the needed SQL statements to be executed with your your favourite SQL interface to create all them (don\'t forget to backup your data before doing that).

After doing that, it\'s highly recommended to execute this utility again to check that no more wrong integers are found.'; ?> -- 2.39.5