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_totp
  21   * @subpackage  tool_mfa
  22   * @author      Mikhail Golenkov <golenkovm@gmail.com>
  23   * @copyright   Catalyst IT
  24   * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  25   */
  26  
  27  $string['action:revoke'] = 'Revoke time-based one-time password (TOTP) authenticator';
  28  $string['devicename'] = 'Device label';
  29  $string['devicename_help'] = 'This is the device you have an authenticator app installed on. You can set up multiple devices so this label helps track which ones are being used. You should set up each device with their own unique code so they can be revoked separately.';
  30  $string['devicenameexample'] = 'eg "Work iPhone 11"';
  31  $string['error:alreadyregistered'] = 'This time-based one-time password (TOTP) secret has already been registered.';
  32  $string['error:codealreadyused'] = 'This code has already been used to authenticate. Please wait for a new code to be generated, and try again.';
  33  $string['error:futurecode'] = 'This code is invalid. Please verify the time on your authenticator device is correct and try again.
  34      Current system time is {$a}.';
  35  $string['error:oldcode'] = 'This code is too old. Please verify the time on your authenticator device is correct and try again.
  36      Current system time is {$a}.';
  37  $string['error:wrongverification'] = 'Incorrect verification code.';
  38  $string['factorsetup'] = 'App setup';
  39  $string['info'] = '<p>Use any time-based one-time password (TOTP) authenticator app on your device to generate a verification code, even when it is offline.</p>
  40  
  41  <p>For example <a href="https://2fas.com/">2FAS Auth</a>, <a href="https://freeotp.github.io/">FreeOTP</a>, Google Authenticator, Microsoft Authenticator or Twilio Authy.</p>
  42  
  43  <p>Note: Please ensure your device time and date has been set to "Auto" or "Network provided".</p>';
  44  $string['logindesc'] = 'Use the authenticator app in your mobile device to generate a code.';
  45  $string['loginoption'] = 'Use Authenticator application';
  46  $string['loginskip'] = 'I don\'t have my device';
  47  $string['loginsubmit'] = 'Continue';
  48  $string['logintitle'] = 'Verify it\'s you by mobile app';
  49  $string['pluginname'] = 'Authenticator app';
  50  $string['privacy:metadata'] = 'The Authenticator app factor plugin does not store any personal data.';
  51  $string['settings:totplink'] = 'Show mobile app setup link';
  52  $string['settings:totplink_help'] = 'If enabled the user will see a 3rd setup option with a direct otpauth:// link';
  53  $string['settings:window'] = 'TOTP verification window';
  54  $string['settings:window_help'] = 'How long each code is valid for. You can set this to a higher value as a workaround if your users device clocks are often slightly wrong.
  55      Rounded down to the nearest 30 seconds, which is the time between new generated codes.';
  56  $string['setupfactor'] = 'TOTP authenticator setup';
  57  $string['setupfactor:account'] = 'Account:';
  58  $string['setupfactor:enter'] = 'Enter details manually:';
  59  $string['setupfactor:key'] = 'Secret key: ';
  60  $string['setupfactor:link'] = '<b> OR </b> open mobile app:';
  61  $string['setupfactor:link_help'] = 'If you are on a mobile device and already have an authenticator app installed this link may work. Note that using TOTP on the same device as you login on can weaken the benefits of MFA.';
  62  $string['setupfactor:linklabel'] = 'Open app already installed on this device';
  63  $string['setupfactor:mode'] = 'Mode:';
  64  $string['setupfactor:mode:timebased'] = 'Time-based';
  65  $string['setupfactor:scan'] = 'Scan QR code:';
  66  $string['setupfactor:scanfail'] = 'Can\'t scan?';
  67  $string['setupfactor:scanwithapp'] = 'Scan QR code with your chosen authenticator application.';
  68  $string['summarycondition'] = 'using a TOTP app';
  69  $string['systimeformat'] = '%l:%M:%S %P %Z';
  70  $string['verificationcode'] = 'Enter your 6 digit verification code';
  71  $string['verificationcode_help'] = 'Open your authenticator app such as Google Authenticator and look for the 6 digit code which matches this site and username';