NOBUG: Fixed file access permissions
[moodle.git] / repository / nextcloud / lang / en / repository_nextcloud.php
2// This file is part of Moodle -
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.
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// GNU General Public License for more details.
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <>.
18 * Language strings' definition for Nextcloud repository.
19 *
20 * @package repository_nextcloud
21 * @copyright 2017 Project seminar (Learnweb, University of M√ľnster)
22 * @license 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['configplugin'] = 'Nextcloud configuration';
30$string['pluginname_help'] = 'Nextcloud repository';
32// Settings.
33$string['issuervalidation_without'] = 'You have not selected an Nextcloud server as the OAuth 2 issuer yet.';
34$string['issuervalidation_valid'] = 'Currently the {$a} issuer is active.';
35$string['issuervalidation_invalid'] = 'Currently the {$a} issuer is active, however it does not implement all necessary endpoints. The repository will not work.';
36$string['right_issuers'] = 'The following issuers implement the required endpoints: <br> {$a}';
37$string['no_right_issuers'] = 'None of the existing issuers implement all required endpoints. Please register an appropriate issuer.';
38$string['chooseissuer'] = 'Issuer';
39$string['chooseissuer_help'] = 'To add a new issuer visit the admin OAuth 2 services page. <br>
40For additional help with the OAuth 2 API please refer to the Moodle documentation.';
41$string['foldername'] = 'Name of folder created in Nextcloud users\' private space that holds all access controlled links';
42$string['foldername_help'] = 'To assure users find files shared with them, shares are saved into a specific folder. <br>
43This setting determines the name of the folder. It is recommended to chose a name associated with your Moodle instance.';
44$string['oauth2serviceslink'] = '<a href="{$a}" title="Link to OAuth 2 services configuration">OAuth 2 services configuration</a>';
45$string['privacy:metadata'] = 'The Nextcloud repository plugin neither stores any personal data nor transmits user data to the remote system.';
46$string['internal'] = 'Internal (files stored in Moodle)';
47$string['external'] = 'External (only links stored in Moodle)';
48$string['both'] = 'Internal and external';
49$string['supportedreturntypes'] = 'Supported files';
50$string['defaultreturntype'] = 'Default return type';
51$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.';
53// Exceptions.
54$string['configuration_exception'] = 'An error in the configuration of the OAuth 2 client occurred: {$a}';
55$string['request_exception'] = 'A request to {$a->instance} has failed. {$a->errormessage}';
56$string['requestnotexecuted'] = 'The request could not be executed. If this happens frequently please contact the course or site administrator.';
57$string['notauthorized'] = 'You are not authorized to execute the demanded request. Please ensure you are authenticated with the right account.';
58$string['contactadminwith'] = 'The requested action could not be executed. In case this happens frequently please contact the side administrator with the following additional information:<br>"<i>{$a}</i>"';
59$string['cannotconnect'] = 'The user could not be authenticated, please log in and then upload the file.';
60$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.';
61$string['couldnotmove'] = 'The requested file could not be moved in the {$a} folder.';
62$string['invalidresponse'] = 'Invalid server response.';
63$string['noclientconnection'] = 'The OAuth clients could not be connected.';
64$string['pathnotcreated'] = 'Folder path {$a} could not be created in the system account.';
65$string['endpointnotdefined'] = 'Endpoint {$a} not defined.';