Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.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   * Language strings.
  19   *
  20   * @package     factor_email
  21   * @author      Mikhail Golenkov <golenkovm@gmail.com>
  22   * @copyright   Catalyst IT
  23   * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  24   */
  25  
  26  $string['email:accident'] = 'If you didn\'t request the email, click continue to invalidate the login attempt. If you clicked the link by accident, click cancel, and no action will be taken.';
  27  $string['email:browseragent'] = 'The browser details for this request are: \'{$a}\'';
  28  $string['email:geoinfo'] = 'This request appears to have originated from approximately:';
  29  $string['email:greeting'] = 'Hello {$a} &#128075;';
  30  $string['email:ipinfo'] = 'Login request details:';
  31  $string['email:link'] = 'verification link';
  32  $string['email:loginlink'] = 'Or, if you\'re on the same device, use this {$a}.';
  33  $string['email:message'] = 'Here\'s your verification code for {$a->sitename} ({$a->siteurl}).';
  34  $string['email:originatingip'] = 'This login request was made from \'{$a}\'';
  35  $string['email:revokelink'] = 'If this wasn\'t you, you can {$a}.';
  36  $string['email:revokesuccess'] = 'This code has been successfully revoked. All sessions for {$a} have been ended.
  37      Email will not be usable as a factor until account security has been verified.';
  38  $string['email:subject'] = 'Here\'s your verification code';
  39  $string['email:stoploginlink'] = 'stop this login attempt';
  40  $string['email:uadescription'] = 'Browser identity for this request:';
  41  $string['email:validity'] = 'The code can only be used once and is valid for {$a}.';
  42  $string['error:badcode'] = 'Code was not found. This may be an old link, a new code may have been emailed, or the login attempt with this code was successful.';
  43  $string['error:parameters'] = 'Incorrect page parameters.';
  44  $string['error:wrongverification'] = 'Wrong code. Try again.';
  45  $string['event:unauthemail'] = 'Unauthorised email received';
  46  $string['info'] = 'Built-in factor. A verification code is sent to the user\'s email.';
  47  $string['logindesc'] = 'We\'ve just sent a 6-digit code to your email: {$a}';
  48  $string['loginoption'] = 'Have a code emailed to you';
  49  $string['loginskip'] = "I didn't receive a code";
  50  $string['loginsubmit'] = 'Continue';
  51  $string['logintitle'] = "Verify it's you by email";
  52  $string['pluginname'] = 'Email';
  53  $string['privacy:metadata'] = 'The Email factor plugin does not store any personal data';
  54  $string['settings:duration'] = 'Validity duration';
  55  $string['settings:duration_help'] = 'The period of time that the code is valid.';
  56  $string['settings:suspend'] = 'Suspend unauthorised accounts';
  57  $string['settings:suspend_help'] = 'Check this to suspend user accounts if an unauthorised email verification is received.';
  58  $string['setupfactor'] = 'Email factor setup';
  59  $string['summarycondition'] = 'has valid email setup';
  60  $string['unauthloginattempt'] = 'The user with ID {$a->userid} made an unauthorised login attempt using email verification from
  61  IP {$a->ip} with browser agent {$a->useragent}.';
  62  $string['unauthemail'] = 'Unauthorised email';
  63  $string['verificationcode'] = 'Enter verification code for confirmation';
  64  $string['verificationcode_help'] = 'A verification code has been sent to your email.';