source: moodle/trunk/fuentes/lang/en/webservice.php @ 1331

Last change on this file since 1331 was 1331, checked in by jrpelegrina, 3 years ago

Updated to moodle 3.0.3

File size: 17.9 KB
Line 
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 'webservice', language 'en', branch 'MOODLE_20_STABLE'
19 *
20 * @package   core_webservice
21 * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
22 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
23 */
24
25$string['accessexception'] = 'Access control exception';
26$string['actwebserviceshhdr'] = 'Active web service protocols';
27$string['addaservice'] = 'Add service';
28$string['addcapabilitytousers'] = 'Check users capability';
29$string['addcapabilitytousersdescription'] = 'Users should have two capabilities - webservice:createtoken and a capability matching the protocols used, for example webservice/rest:use, webservice/soap:use. To achieve this, create a web services role with the appropriate capabilities allowed and assign it to the web services user as a system role.';
30$string['addfunction'] = 'Add function';
31$string['addfunctionhelp'] = 'Select the function to add to the service.';
32$string['addfunctions'] = 'Add functions';
33$string['addfunctionsdescription'] = 'Select required functions for the newly created service.';
34$string['addrequiredcapability'] = 'Assign/unassign the required capability';
35$string['addservice'] = 'Add a new service: {$a->name} (id: {$a->id})';
36$string['addservicefunction'] = 'Add functions to the service "{$a}"';
37$string['allusers'] = 'All users';
38$string['amftestclient'] = 'AMF test client';
39$string['apiexplorer'] = 'API explorer';
40$string['apiexplorernotavalaible'] = 'API explorer not available yet.';
41$string['arguments'] = 'Arguments';
42$string['authmethod'] = 'Authentication method';
43$string['callablefromajax'] = 'Callable from AJAX';
44$string['cannotcreatetoken'] = 'No permission to create web service token for the service {$a}.';
45$string['cannotgetcoursecontents'] = 'Cannot get course contents';
46$string['configwebserviceplugins'] = 'For security reasons, only protocols that are in use should be enabled.';
47$string['context'] = 'Context';
48$string['createservicedescription'] = 'A service is a set of web service functions. You will allow the user to access to a new service. On the <strong>Add service</strong> page check \'Enable\' and \'Authorised users\' options. Select \'No required capability\'.';
49$string['createserviceforusersdescription'] = 'A service is a set of web service functions. You will allow users to access to a new service. On the <strong>Add service</strong> page check \'Enable\' and uncheck \'Authorised users\' options. Select \'No required capability\'.';
50$string['createtoken'] = 'Create token';
51$string['createtokenforuser'] = 'Create a token for a user';
52$string['createtokenforuserdescription'] = 'Create a token for the web services user.';
53$string['createuser'] = 'Create a specific user';
54$string['createuserdescription'] = 'A web services user is required to represent the system controlling Moodle.';
55$string['criteriaerror'] = 'Missing permissions to search on a criterion.';
56$string['default'] = 'Default to "{$a}"';
57$string['deleteaservice'] = 'Delete service';
58$string['deleteservice'] = 'Delete the service: {$a->name} (id: {$a->id})';
59$string['deleteserviceconfirm'] = 'Deleting a service will also delete the tokens related to this service. Do you really want to delete external service "{$a}"?';
60$string['deletetokenconfirm'] = 'Do you really want to delete this web service token for <strong>{$a->user}</strong> on the service <strong>{$a->service}</strong>?';
61$string['disabledwarning'] = 'All web service protocols are disabled.  The "Enable web services" setting can be found in Advanced features.';
62$string['doc'] = 'Documentation';
63$string['docaccessrefused'] = 'You are not allowed to see the documentation for this token';
64$string['documentation'] = 'web service documentation';
65$string['downloadfiles'] = 'Can download files';
66$string['downloadfiles_help'] = 'If enabled, any user can download files with their security keys. Of course they are restricted to the files they are allowed to download in the site.';
67$string['editaservice'] = 'Edit service';
68$string['editservice'] = 'Edit the service: {$a->name} (id: {$a->id})';
69$string['enabled'] = 'Enabled';
70$string['enabledocumentation'] = 'Enable developer documentation';
71$string['enabledocumentationdescription'] = 'Detailed web services documentation is available for enabled protocols.';
72$string['enablemobilewsoverview'] = 'Go to {$a->manageservicelink} administration page, check the "{$a->enablemobileservice}" setting and Save. Everything will be setup for you and all site\'s users will be able to use the offical Moodle app. Current status: {$a->wsmobilestatus}';
73$string['enableprotocols'] = 'Enable protocols';
74$string['enableprotocolsdescription'] = 'At least one protocol should be enabled. For security reasons, only protocols that are to be used should be enabled.';
75$string['enablews'] = 'Enable web services';
76$string['enablewsdescription'] = 'Web services must be enabled in Advanced features.';
77$string['entertoken'] = 'Enter a security key/token:';
78$string['error'] = 'Error: {$a}';
79$string['errorcatcontextnotvalid'] = 'You cannot execute functions in the category context (category id:{$a->catid}). The context error message was: {$a->message}';
80$string['errorcodes'] = 'Error message';
81$string['errorcoursecontextnotvalid'] = 'You cannot execute functions in the course context (course id:{$a->courseid}). The context error message was: {$a->message}';
82$string['errorinvalidparam'] = 'The param "{$a}" is invalid.';
83$string['errornotemptydefaultparamarray'] = 'The web service description parameter named \'{$a}\' is an single or multiple structure. The default can only be empty array. Check web service description.';
84$string['erroroptionalparamarray'] = 'The web service description parameter named \'{$a}\' is an single or multiple structure. It can not be set as VALUE_OPTIONAL. Check web service description.';
85$string['eventwebservicefunctioncalled'] = 'Web service function called';
86$string['eventwebserviceloginfailed'] = 'Web service login failed';
87$string['eventwebserviceservicecreated'] = 'Web service service created';
88$string['eventwebserviceservicedeleted'] = 'Web service service deleted';
89$string['eventwebserviceserviceupdated'] = 'Web service service updated';
90$string['eventwebserviceserviceuseradded'] = 'Web service service user added';
91$string['eventwebserviceserviceuserremoved'] = 'Web service service user removed';
92$string['eventwebservicetokencreated'] = 'Web service token created';
93$string['eventwebservicetokensent'] = 'Web service token sent';
94$string['execute'] = 'Execute';
95$string['executewarnign'] = 'WARNING: If you press execute your database will be modified and changes can not be reverted automatically!';
96$string['externalservice'] = 'External service';
97$string['externalservicefunctions'] = 'External service functions';
98$string['externalservices'] = 'External services';
99$string['externalserviceusers'] = 'External service users';
100$string['failedtolog'] = 'Failed to log';
101$string['filenameexist'] = 'File name already exists: {$a}';
102$string['forbiddenwsuser'] = 'Can not create token for an unconfirmed, deleted, suspended or guest user.';
103$string['function'] = 'Function';
104$string['functions'] = 'Functions';
105$string['generalstructure'] = 'General structure';
106$string['checkusercapability'] = 'Check user capability';
107$string['checkusercapabilitydescription'] = 'The user should have appropriate capabilities according to the protocols used, for example webservice/rest:use, webservice/soap:use. To achieve this, create a web services role with protocol capabilities allowed and assign it to the web services user as a system role.';
108$string['information'] = 'Information';
109$string['installserviceshortnameerror'] = 'Coding error: the service shortname "{$a}" should have contains numbers, letters  and _-.. only.';
110$string['installexistingserviceshortnameerror'] = 'A web service with the shortname "{$a}" already exists. Can not install/update a different web service with this shortname.';
111$string['invalidextparam'] = 'Invalid external api parameter: {$a}';
112$string['invalidextresponse'] = 'Invalid external api response: {$a}';
113$string['invalidiptoken'] = 'Invalid token - your IP is not supported';
114$string['invalidtimedtoken'] = 'Invalid token - token expired';
115$string['invalidtoken'] = 'Invalid token - token not found';
116$string['iprestriction'] = 'IP restriction';
117$string['iprestriction_help'] = 'The user will need to call the web service from the listed IPs (separated by commas).';
118$string['key'] = 'Key';
119$string['keyshelp'] = 'The keys are used to access your Moodle account from external applications.';
120$string['loginrequired'] = 'Restricted to logged-in users';
121$string['manageprotocols'] = 'Manage protocols';
122$string['managetokens'] = 'Manage tokens';
123$string['missingcaps'] = 'Missing capabilities';
124$string['missingcaps_help'] = 'List of required capabilities for the service which the selected user does not have. Missing capabilities must be added to the user\'s role in order to use the service.';
125$string['missingpassword'] = 'Missing password';
126$string['missingrequiredcapability'] = 'The capability {$a} is required.';
127$string['missingusername'] = 'Missing username';
128$string['missingversionfile'] = 'Coding error: version.php file is missing for the component {$a}';
129$string['mobilewsdisabled'] = 'Disabled';
130$string['mobilewsenabled'] = 'Enabled';
131$string['nameexists'] = 'This name is already in use by another service';
132$string['nocapabilitytouseparameter'] = 'The user does not have the required capability to use the parameter {$a}';
133$string['nofunctions'] = 'This service has no functions.';
134$string['norequiredcapability'] = 'No required capability';
135$string['notoken'] = 'The token list is empty.';
136$string['onesystemcontrolling'] = 'Allow an external system to control Moodle';
137$string['onesystemcontrollingdescription'] = 'The following steps help you to set up the Moodle web services to allow an external system to interact with Moodle. This includes setting up a token (security key) authentication method.';
138$string['operation'] = 'Operation';
139$string['optional'] = 'Optional';
140$string['passwordisexpired'] = 'Password is expired.';
141$string['phpparam'] = 'XML-RPC (PHP structure)';
142$string['phpresponse'] = 'XML-RPC (PHP structure)';
143$string['postrestparam'] = 'PHP code for REST (POST request)';
144$string['potusers'] = 'Not authorised users';
145$string['potusersmatching'] = 'Not authorised users matching';
146$string['print'] = 'Print all';
147$string['protocol'] = 'Protocol';
148$string['removefunction'] = 'Remove';
149$string['removefunctionconfirm'] = 'Do you really want to remove function "{$a->function}" from service "{$a->service}"?';
150$string['requireauthentication'] = 'This method requires authentication with xxx permission.';
151$string['required'] = 'Required';
152$string['requiredcapability'] = 'Required capability';
153$string['requiredcapability_help'] = 'If set, only users with the required capability can access the service.';
154$string['requiredcaps'] = 'Required capabilities';
155$string['resettokenconfirm'] = 'Do you really want to reset this web service key for <strong>{$a->user}</strong> on the service <strong>{$a->service}</strong>?';
156$string['resettokenconfirmsimple'] = 'Do you really want to reset this key? Any saved links containing the old key will not work anymore.';
157$string['response'] = 'Response';
158$string['restcode'] = 'REST';
159$string['restexception'] = 'REST';
160$string['restparam'] = 'REST (POST parameters)';
161$string['restrictedusers'] = 'Authorised users only';
162$string['restrictedusers_help'] = 'This setting determines whether all users with the permission to create a web services token can generate a token for this service via their security keys page or whether only authorised users can do so.';
163$string['restoredaccountresetpassword'] = 'Restored account need to reset password before getting a token.';
164$string['securitykey'] = 'Security key (token)';
165$string['securitykeys'] = 'Security keys';
166$string['selectauthorisedusers'] = 'Select authorised users';
167$string['selectedcapability'] = 'Selected';
168$string['selectedcapabilitydoesntexit'] = 'The currently set required capability ({$a}) doesn\'t exist any more. Please change it and save the changes.';
169$string['selectservice'] = 'Select a service';
170$string['selectspecificuser'] = 'Select a specific user';
171$string['selectspecificuserdescription'] = 'Add the web services user as an authorised user.';
172$string['service'] = 'Service';
173$string['servicehelpexplanation'] = 'A service is a set of functions. A service can be accessed by all users or just specified users.';
174$string['servicename'] = 'Service name';
175$string['servicenotavailable'] = 'Web service is not available (it doesn\'t exist or might be disabled)';
176$string['servicesbuiltin'] = 'Built-in services';
177$string['servicescustom'] = 'Custom services';
178$string['serviceusers'] = 'Authorised users';
179$string['serviceusersettings'] = 'User settings';
180$string['serviceusersmatching'] = 'Authorised users matching';
181$string['serviceuserssettings'] = 'Change settings for the authorised users';
182$string['shortnametaken'] = 'Short name is already used for another service ({$a})';
183$string['simpleauthlog'] = 'Simple authentication login';
184$string['step'] = 'Step';
185$string['supplyinfo'] = 'More details';
186$string['testauserwithtestclientdescription'] = 'Simulate external access to the service using the web service test client. Before doing so, log in as a user with the moodle/webservice:createtoken capability and obtain the security key (token) via the user\'s preferences page. You will use this token in the test client. In the test client, also choose an enabled protocol with the token authentication. <strong>WARNING: The functions that you test WILL BE EXECUTED for this user, so be careful what you choose to test!</strong>';
187$string['testclient'] = 'Web service test client';
188$string['testclientdescription'] = '* The web service test client <strong>executes</strong> the functions for <strong>REAL</strong>. Do not test functions that you don\'t know. <br/>* All existing web service functions are not yet implemented into the test client. <br/>* In order to check that a user cannot access some functions, you can test some functions that you didn\'t allow.<br/>* To see clearer error messages set the debugging to <strong>{$a->mode}</strong> into {$a->atag}<br/>* Access the {$a->amfatag}.';
189$string['testwithtestclient'] = 'Test the service';
190$string['testwithtestclientdescription'] = 'Simulate external access to the service using the web service test client. Use an enabled protocol with token authentication. <strong>WARNING: The functions that you test WILL BE EXECUTED, so be careful what you choose to test!</strong>';
191$string['token'] = 'Token';
192$string['tokenauthlog'] = 'Token authentication';
193$string['tokencreatedbyadmin'] = 'Can only be reset by administrator (*)';
194$string['tokencreator'] = 'Creator';
195$string['unknownoptionkey'] = 'Unknown option key ({$a})';
196$string['unnamedstringparam'] = 'A string parameter is unnamed.';
197$string['updateusersettings'] = 'Update';
198$string['uploadfiles'] = 'Can upload files';
199$string['uploadfiles_help'] = 'If enabled, any user can upload files with their security keys to their own private files area or a draft file area. Any user file quotas apply.';
200$string['userasclients'] = 'Users as clients with token';
201$string['userasclientsdescription'] = 'The following steps help you to set up the Moodle web service for users as clients. These steps also help to set up the recommended token (security keys) authentication method. In this use case, the user will generate their token from the security keys page via their preferences page.';
202$string['usermissingcaps'] = 'Missing capabilities: {$a}';
203$string['usernameorid'] = 'Username / User id';
204$string['usernameorid_help'] = 'Enter a username or a user id.';
205$string['usernameoridnousererror'] = 'No users were found with this username/user id.';
206$string['usernameoridoccurenceerror'] = 'More than one user was found with this username. Please enter the user id.';
207$string['usernotallowed'] = 'The user is not allowed for this service. First you need to allow this user on the {$a}\'s allowed users administration page.';
208$string['usersettingssaved'] = 'User settings saved';
209$string['validuntil'] = 'Valid until';
210$string['validuntil_help'] = 'If set, the service will be inactivated after this date for this user.';
211$string['webservice'] = 'Web service';
212$string['webservices'] = 'Web services';
213$string['webservicesoverview'] = 'Overview';
214$string['webservicetokens'] = 'Web service tokens';
215$string['wrongusernamepassword'] = 'Wrong username or password';
216$string['wsaccessuserdeleted'] = 'Refused web service access for deleted username: {$a}';
217$string['wsaccessuserexpired'] = 'Refused web service access for password expired username: {$a}';
218$string['wsaccessusernologin'] = 'Refused web service access for nologin authentication username: {$a}';
219$string['wsaccessusersuspended'] = 'Refused web service access for suspended username: {$a}';
220$string['wsaccessuserunconfirmed'] = 'Refused web service access for unconfirmed username: {$a}';
221$string['wsclientdoc'] = 'Moodle web service client documentation';
222$string['wsdocapi'] = 'API Documentation';
223$string['wsdocumentation'] = 'Web service documentation';
224$string['wsdocumentationdisable'] = 'Web service documentation is disabled.';
225$string['wsdocumentationintro'] = 'To create a client we advise you to read the {$a->doclink}';
226$string['wsdocumentationlogin'] = 'or enter your web service username and password:';
227$string['wspassword'] = 'Web service password';
228$string['wsusername'] = 'Web service username';
Note: See TracBrowser for help on using the repository browser.