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.

Differences Between: [Versions 39 and 311]

   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' definition for Nextcloud repository.
  19   *
  20   * @package    repository_nextcloud
  21   * @copyright  2017 Project seminar (Learnweb, University of Münster)
  22   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  // General.
  25  $string['pluginname'] = 'Nextcloud';
  26  $string['configplugin'] = 'Nextcloud repository configuration';
  27  $string['nextcloud'] = 'Nextcloud';
  28  $string['nextcloud:view'] = 'View Nextcloud';
  29  $string['pluginname_help'] = 'Nextcloud repository';
  30  
  31  // Settings.
  32  $string['issuervalidation_without'] = 'You have not yet selected a Nextcloud server as the OAuth 2 issuer.';
  33  $string['issuervalidation_valid'] = 'Currently the {$a} issuer is active.';
  34  $string['issuervalidation_invalid'] = 'Currently the {$a} issuer is active, however it does not implement all necessary endpoints. The repository will not work.';
  35  $string['right_issuers'] = 'The following issuers implement the required endpoints: <br> {$a}';
  36  $string['no_right_issuers'] = 'None of the existing issuers implement all required endpoints. Please register an appropriate issuer.';
  37  $string['chooseissuer'] = 'Issuer';
  38  $string['chooseissuer_help'] = 'To add a new issuer, go to Site administration / Server / OAuth 2 services.';
  39  $string['foldername'] = 'Name of folder created in Nextcloud users\' private space that holds all access-controlled links.';
  40  $string['foldername_help'] = 'To ensure that users find files shared with them, shares are saved into a specific folder.
  41  
  42  This setting determines the name of the folder. It is recommended to choose a name associated with your Moodle instance.';
  43  $string['oauth2serviceslink'] = '<a href="{$a}" title="Link to OAuth 2 services configuration">OAuth 2 services configuration</a>';
  44  $string['privacy:metadata'] = 'The Nextcloud repository plugin neither stores any personal data nor transmits user data to the remote system.';
  45  $string['internal'] = 'Internal (files stored in Moodle)';
  46  $string['external'] = 'External (only links stored in Moodle)';
  47  $string['both'] = 'Internal and external';
  48  $string['supportedreturntypes'] = 'Supported files';
  49  $string['defaultreturntype'] = 'Default return type';
  50  $string['fileoptions'] = 'The types and defaults for returned files is configurable here. Note that all files linked externally will be updated so that the owner is the Moodle system account.';
  51  
  52  // Exceptions.
  53  $string['configuration_exception'] = 'An error in the configuration of the OAuth 2 client occurred: {$a}';
  54  $string['request_exception'] = 'A request to {$a->instance} has failed. {$a->errormessage}';
  55  $string['requestnotexecuted'] = 'The request could not be executed. If this happens repeatedly, please contact the site administrator.';
  56  $string['notauthorized'] = 'You are not authorised to execute this request. Please ensure you are authenticated with the correct account.';
  57  $string['contactadminwith'] = 'The requested action could not be executed. If this happens repeatedly, please contact the site administrator with the following additional information:<br>"<i>{$a}</i>".';
  58  $string['cannotconnect'] = 'The user could not be authenticated. Please log in and then upload the file.';
  59  $string['filenotaccessed'] = 'The requested file could not be accessed. Please check whether you have chosen a valid file and you are authenticated with the right account.';
  60  $string['couldnotmove'] = 'The requested file could not be moved in the {$a} folder.';
  61  $string['invalidresponse'] = 'Invalid server response.';
  62  $string['noclientconnection'] = 'The OAuth clients could not be connected.';
  63  $string['pathnotcreated'] = 'Folder path {$a} could not be created in the system account.';
  64  $string['endpointnotdefined'] = 'Endpoint {$a} not defined.';
  65  
  66  // Warnings.
  67  $string['externalpubliclinkwarning'] = 'Warning: This file will become public.';