MDL-14679 dml/native_mysqli adding lang strings

This commit is contained in:
skodak
2008-10-25 18:37:59 +00:00
parent c65845cca1
commit 2aeb3bcbdb
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -166,6 +166,7 @@ mysql416required
mysqlextensionisnotpresentinphp
mysqliextensionisnotpresentinphp
name
nativemysqli
newline
next
oci8po
+1
View File
@@ -295,6 +295,7 @@ $string['mysql'] = 'MySQL (mysql)';
$string['mysqli'] = 'Improved MySQL (mysqli)';
$string['mysqlextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQL extension so that it can communicate with MySQL. Please check your php.ini file or recompile PHP.';
$string['mysqliextensionisnotpresentinphp'] = 'PHP has not been properly configured with the MySQLi extension so that it can communicate with MySQL. Please check your php.ini file or recompile PHP. MySQLi extension is not available for PHP 4.';
$string['nativemysqli'] = 'Improved MySQL (native/mysqli)';
$string['oci8po'] = 'Oracle (oci8po)';
$string['ociextensionisnotpresentinphp'] = 'PHP has not been properly configured with the OCI8 extension so that it can communicate with Oracle. Please check your php.ini file or recompile PHP.';
$string['odbc_mssql'] = 'SQL*Server over ODBC (odbc_mssql)';
+2 -2
View File
@@ -57,7 +57,7 @@ class mysqli_native_moodle_database extends moodle_database {
* @return string
*/
public function get_name() {
return get_string('nativemysqli', 'install'); //TODO: localise
return get_string('nativemysqli', 'install');
}
/**
@@ -66,7 +66,7 @@ class mysqli_native_moodle_database extends moodle_database {
* @return string
*/
public function get_configuration_hints() {
return get_string('databasesettingssub_mysqlinative', 'install'); //TODO: localise
return get_string('databasesettingssub_mysqli', 'install');
}
/**