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.
   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 'mlbackend_python'
  19   *
  20   * @package   mlbackend_python
  21   * @copyright 2017 David Monllao {@link http://www.davidmonllao.com}
  22   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  $string['errornoconfigdata'] = 'The server configuration is not complete.';
  26  $string['errorserver'] = 'Server error {$a}';
  27  $string['host'] = 'Host';
  28  $string['hostdesc'] = 'Host';
  29  $string['packageinstalledshouldbe'] = 'The moodlemlbackend Python package should be updated. The required version is "{$a->required}" and the installed version is "{$a->installed}".';
  30  $string['packageinstalledtoohigh'] = 'The moodlemlbackend Python package is not compatible with this version of Moodle. The required version is "{$a->required}" or higher as long as it is API-compatible. The installed version "{$a->installed}" is too high.';
  31  $string['pluginname'] = 'Python machine learning backend';
  32  $string['port'] = 'Port';
  33  $string['portdesc'] = 'Port';
  34  $string['privacy:metadata'] = 'The Python machine learning backend plugin does not store any personal data.';
  35  $string['pythonpackagenotinstalled'] = 'The moodlemlbackend Python package is not installed or there is a problem with it. Please execute "{$a}" from command line interface for more info.';
  36  $string['pythonpathnotdefined'] = 'The path to your executable Python binary has not been defined. Please visit "{$a}" to set it.';
  37  $string['serversettingsinfo'] = 'If \'Use a server\' is enabled, the server settings will be displayed.';
  38  $string['username'] = 'Username';
  39  $string['usernamedesc'] = 'String of characters used as a username to communicate between the Moodle server and the Python server.';
  40  $string['password'] = 'Password';
  41  $string['passworddesc'] = 'String of characters used as a password to communicate between the Moodle server and the Python server.';
  42  $string['secure'] = 'Use HTTPS';
  43  $string['securedesc'] = 'Whether to use HTTP or HTTPS.';
  44  $string['useserver'] = 'Use a server';
  45  $string['useserverdesc'] = 'The machine learning backend Python package is not installed on the web server but on a different server.';
  46  $string['tensorboardinfo'] = 'Launch TensorBoard from command line by typing tensorboard --logdir=\'{$a}\' in your web server.';