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.
   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 'auth_db', language 'en'.
  19   *
  20   * @package   auth_db
  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['auth_dbcantconnect'] = 'Could not connect to the specified authentication database...';
  26  $string['auth_dbdebugauthdb'] = 'Debug ADOdb';
  27  $string['auth_dbdebugauthdbhelp'] = 'Debug ADOdb connection to external database - use when getting empty page during login. Not suitable for production sites.';
  28  $string['auth_dbdeleteuser'] = 'Deleted user {$a->name} id {$a->id}';
  29  $string['auth_dbdeleteusererror'] = 'Error deleting user {$a}';
  30  $string['auth_dbdescription'] = 'This method uses an external database table to check whether a given username and password is valid.  If the account is a new one, then information from other fields may also be copied across into Moodle.';
  31  $string['auth_dbextencoding'] = 'External db encoding';
  32  $string['auth_dbextencodinghelp'] = 'Encoding used in external database';
  33  $string['auth_dbextrafields'] = 'These fields are optional.  You can choose to pre-fill some Moodle user fields with information from the <b>external database fields</b> that you specify here. <p>If you leave these blank, then defaults will be used.</p><p>In either case, the user will be able to edit all of these fields after they log in.</p>';
  34  $string['auth_dbfieldpass'] = 'Name of the field containing passwords';
  35  $string['auth_dbfieldpass_key'] = 'Password field';
  36  $string['auth_dbfielduser'] = 'Name of the field containing usernames. This field must be a varchar data type.';
  37  $string['auth_dbfielduser_key'] = 'Username field';
  38  $string['auth_dbhost'] = 'The computer hosting the database server. Use a system DSN entry if using ODBC. Use a PDO DSN entry if using PDO.';
  39  $string['auth_dbhost_key'] = 'Host';
  40  $string['auth_dbchangepasswordurl_key'] = 'Password-change URL';
  41  $string['auth_dbinsertuser'] = 'Inserted user {$a->name} id {$a->id}';
  42  $string['auth_dbinsertuserduplicate'] = 'Error inserting user {$a->username} - user with this username was already created through \'{$a->auth}\' plugin.';
  43  $string['auth_dbinsertusererror'] = 'Error inserting user {$a}';
  44  $string['auth_dbname'] = 'Name of the database itself. Leave empty if using an ODBC DSN. Leave empty if your PDO DSN already contains the database name.';
  45  $string['auth_dbname_key'] = 'DB name';
  46  $string['auth_dbpass'] = 'Password matching the above username';
  47  $string['auth_dbpass_key'] = 'Password';
  48  $string['auth_dbpasstype'] = '<p>Specify the format that the password field is using.</p> <p>Use \'internal\' if you want the external database to manage usernames and email addresses, but Moodle to manage passwords. If you use \'internal\', you must provide a populated email address field in the external database, and you must enable the \auth_db\task\sync_users scheduled task. Moodle will send an email to new users with a temporary password.</p>';
  49  $string['auth_dbpasstype_key'] = 'Password format';
  50  $string['auth_dbreviveduser'] = 'Revived user {$a->name} id {$a->id}';
  51  $string['auth_dbrevivedusererror'] = 'Error reviving user {$a}';
  52  $string['auth_dbsaltedcrypt'] = 'Crypt one-way string hashing';
  53  $string['auth_dbsetupsql'] = 'SQL setup command';
  54  $string['auth_dbsetupsqlhelp'] = 'SQL command for special database setup, often used to setup communication encoding - example for MySQL and PostgreSQL: <em>SET NAMES \'utf8\'</em>';
  55  $string['auth_dbsuspenduser'] = 'Suspended user {$a->name} id {$a->id}';
  56  $string['auth_dbsuspendusererror'] = 'Error suspending user {$a}';
  57  $string['auth_dbsybasequoting'] = 'Use sybase quotes';
  58  $string['auth_dbsybasequotinghelp'] = 'Sybase style single quote escaping - needed for Oracle, MS SQL and some other databases. Do not use for MySQL!';
  59  $string['auth_dbsyncuserstask'] = 'Synchronise users task';
  60  $string['auth_dbtable'] = 'Name of the table in the database';
  61  $string['auth_dbtable_key'] = 'Table';
  62  $string['auth_dbtype'] = 'The database type (see the documentation <a href="http://adodb.org/dokuwiki/doku.php" target="_blank">ADOdb - Database Abstraction Layer for PHP</a> for details).';
  63  $string['auth_dbtype_key'] = 'Database';
  64  $string['auth_dbupdateusers'] = 'Update users';
  65  $string['auth_dbupdateusers_description'] = 'As well as inserting new users, update existing users.';
  66  $string['auth_dbupdatinguser'] = 'Updating user {$a->name} id {$a->id}';
  67  $string['auth_dbuser'] = 'Username with read access to the database';
  68  $string['auth_dbuser_key'] = 'DB user';
  69  $string['auth_dbuserstoadd'] = 'User entries to add: {$a}';
  70  $string['auth_dbuserstoremove'] = 'User entries to remove: {$a}';
  71  $string['auth_dbnoexttable'] = 'External table not specified.';
  72  $string['auth_dbnouserfield'] = 'External user field not specified.';
  73  $string['auth_dbcannotconnect'] = 'Cannot connect to external database.';
  74  $string['auth_dbcannotreadtable'] = 'Cannot read external table.';
  75  $string['auth_dbtableempty'] = 'External table is empty.';
  76  $string['auth_dbcolumnlist'] = 'External table contains the following columns:<br />{$a}';
  77  $string['auth_dbupdateerror'] = 'Error updating external database.';
  78  $string['pluginname'] = 'External database';
  79  $string['privacy:metadata'] = 'The External database authentication plugin does not store any personal data.';