Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

   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_oauth2', language 'en'.
  19   *
  20   * @package   auth_oauth2
  21   * @copyright 2017 Damyon Wiese
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['accountexists'] = 'A user already exists on this site with this username. If this is your account, log in by entering your username and password and add it as a linked login via your preferences page.';
  26  $string['auth_oauth2description'] = 'OAuth 2 standards based authentication';
  27  $string['auth_oauth2settings'] = 'OAuth 2 authentication settings.';
  28  $string['confirmaccountemail'] = 'Hi {$a->fullname},
  29  
  30  A new account has been requested at \'{$a->sitename}\'
  31  using your email address.
  32  
  33  To confirm your new account, please go to this web address:
  34  
  35  {$a->link}
  36  
  37  In most mail programs, this should appear as a blue link
  38  which you can just click on.  If that doesn\'t work,
  39  then cut and paste the address into the address
  40  line at the top of your web browser window.
  41  
  42  If you need help, please contact the site administrator,
  43  {$a->admin}
  44  
  45  If you did not do this, someone else could be trying to compromise your account.
  46  Please contact the site administrator immediately.';
  47  $string['confirmaccountemailsubject'] = '{$a}: account confirmation';
  48  $string['confirmationinvalid'] = 'The confirmation link is either invalid, or has expired. Please start the login process again to generate a new confirmation email.';
  49  $string['confirmationpending'] = 'This account is pending email confirmation.';
  50  $string['confirmlinkedloginemail'] = 'Hi {$a->fullname},
  51  
  52  A request has been made to link the {$a->issuername} login
  53  {$a->linkedemail} to your account at \'{$a->sitename}\'
  54  using your email address.
  55  
  56  To confirm this request and link these logins, please go to this web address:
  57  
  58  {$a->link}
  59  
  60  In most mail programs, this should appear as a blue link
  61  which you can just click on.  If that doesn\'t work,
  62  then cut and paste the address into the address
  63  line at the top of your web browser window.
  64  
  65  If you need help, please contact the site administrator,
  66  {$a->admin}
  67  
  68  If you did not do this, someone else could be trying to compromise your account.
  69  Please contact the site administrator immediately.';
  70  $string['confirmlinkedloginemailsubject'] = '{$a}: linked login confirmation';
  71  $string['createaccountswarning'] = 'This authentication plugin allows users to create accounts on your site. You may want to enable the setting "authpreventaccountcreation" if you use this plugin.';
  72  $string['createnewlinkedlogin'] = 'Link a new account ({$a})';
  73  $string['emailconfirmlink'] = 'Link your accounts';
  74  $string['emailconfirmlinksent'] = '<p>An existing account was found with this email address but it is not linked yet.</p>
  75     <p>The accounts must be linked before you can log in.</p>
  76     <p>An email should have been sent to your address at <b>{$a}</b>.</p>
  77     <p>It contains easy instructions to link your accounts.</p>
  78     <p>If you have any difficulty, contact the site administrator.</p>';
  79  $string['emailpasswordchangeinfo'] = 'Hi {$a->firstname},
  80  
  81  Someone (probably you) has requested a new password for your account on \'{$a->sitename}\'.
  82  
  83  However your password cannot be reset because you are using your account on another site to log in.
  84  
  85  Please log in as before, using the link on the login page.
  86  {$a->admin}';
  87  $string['emailpasswordchangeinfosubject'] = '{$a}: Change password information';
  88  $string['info'] = 'External account';
  89  $string['issuer'] = 'OAuth 2 service';
  90  $string['issuernologin'] = 'This issuer can not be used to login';
  91  $string['key'] = 'Key';
  92  $string['linkedlogins'] = 'Linked logins';
  93  $string['linkedloginshelp'] = 'Help with linked logins';
  94  $string['loggedin'] = 'User successfully authenticated with provider.';
  95  $string['loginerror_userincomplete'] = 'The user information returned did not contain a username and email address. The OAuth 2 service may be configured incorrectly.';
  96  $string['loginerror_nouserinfo'] = 'No user information was returned. The OAuth 2 service may be configured incorrectly.';
  97  $string['loginerror_invaliddomain'] = 'The email address is not allowed at this site.';
  98  $string['loginerror_authenticationfailed'] = 'The authentication process failed.';
  99  $string['loginerror_cannotcreateaccounts'] = 'An account with your email address could not be found.';
 100  $string['noconfiguredidps'] = 'There are no configured OAuth2 providers.';
 101  $string['noissuersavailable'] = 'None of the configured OAuth 2 services allow you to link login accounts.';
 102  $string['notloggedindebug'] = 'The login attempt failed. Reason: {$a}';
 103  $string['notwhileloggedinas'] = 'Linked logins cannot be managed while logged in as another user.';
 104  $string['oauth2:managelinkedlogins'] = 'Manage own linked login accounts';
 105  $string['notenabled'] = 'Sorry, OAuth 2 authentication plugin is not enabled';
 106  $string['plugindescription'] = 'This authentication plugin displays a list of the configured identity providers on the login page. Selecting an identity provider allows users to login with their credentials from an OAuth 2 provider.';
 107  $string['pluginname'] = 'OAuth 2';
 108  $string['alreadylinked'] = 'This external account is already linked to an account on this site';
 109  $string['privacy:metadata:auth_oauth2'] = 'OAuth 2 authentication';
 110  $string['privacy:metadata:auth_oauth2:authsubsystem'] = 'This plugin is connected to the authentication subsystem.';
 111  $string['privacy:metadata:auth_oauth2:confirmtoken'] = 'The confirmation token.';
 112  $string['privacy:metadata:auth_oauth2:confirmtokenexpires'] = 'The timestamp when the confirmation token expires.';
 113  $string['privacy:metadata:auth_oauth2:email'] = 'The external email that maps to this account.';
 114  $string['privacy:metadata:auth_oauth2:issuerid'] = 'The ID of the OAuth 2 issuer for this OAuth 2 login';
 115  $string['privacy:metadata:auth_oauth2:tableexplanation'] = 'OAuth 2 accounts linked to a user\'s Moodle account.';
 116  $string['privacy:metadata:auth_oauth2:timecreated'] = 'The timestamp when the user account was linked to the OAuth 2 login.';
 117  $string['privacy:metadata:auth_oauth2:timemodified'] = 'The timestamp when this record was modified.';
 118  $string['privacy:metadata:auth_oauth2:userid'] = 'The ID of the user account which the OAuth 2 login is linked to.';
 119  $string['privacy:metadata:auth_oauth2:usermodified'] = 'The ID of the user who modified this account.';
 120  $string['privacy:metadata:auth_oauth2:username'] = 'The external username that maps to this account.';
 121  $string['testidplogin'] = 'Test login with:';
 122  $string['userinfo'] = 'User data from provider:';
 123  $string['value'] = 'Value';