Merge branch 'MDL-28650-MOODLE-21-STABLE' of https://github.com/mouneyrac/moodle...
[moodle.git] / lang / en / webservice.php
blob39f8cc48a9a6ed19819ee3b2de1838ee932b41ee
1 <?php
3 // This file is part of Moodle - http://moodle.org/
4 //
5 // Moodle is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
9 //
10 // Moodle is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
18 /**
19 * Strings for component 'webservice', language 'en', branch 'MOODLE_20_STABLE'
21 * @package webservice
22 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
23 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
26 $string['accessexception'] = 'Access control exception';
27 $string['accessnotallowed'] = 'Access to web service not allowed';
28 $string['actwebserviceshhdr'] = 'Active web service protocols';
29 $string['addaservice'] = 'Add service';
30 $string['addcapabilitytousers'] = 'Check users capability';
31 $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.';
32 $string['addfunction'] = 'Add function';
33 $string['addfunctionhelp'] = 'Select the function to add to the service.';
34 $string['addfunctions'] = 'Add functions';
35 $string['addfunctionsdescription'] = 'Select required functions for the newly created service.';
36 $string['addrequiredcapability'] = 'Assign/unassign the required capability';
37 $string['addservice'] = 'Add a new service: {$a->name} (id: {$a->id})';
38 $string['addservicefunction'] = 'Add functions to the service "{$a}"';
39 $string['allusers'] = 'All users';
40 $string['amftestclient'] = 'AMF test client';
41 $string['apiexplorer'] = 'API explorer';
42 $string['apiexplorernotavalaible'] = 'API explorer not available yet.';
43 $string['arguments'] = 'Arguments';
44 $string['authmethod'] = 'Authentication method';
45 $string['cannotcreatemobiletoken'] = 'No permission to create web service token for mobile access.';
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['createtokenforuserauto'] = 'Create a token for a user automatically';
53 $string['createtokenforuserdescription'] = 'Create a token for the web services user.';
54 $string['createuser'] = 'Create a specific user';
55 $string['createuserdescription'] = 'A web services user is required to represent the system controlling Moodle.';
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['editaservice'] = 'Edit service';
66 $string['editservice'] = 'Edit the service: {$a->name} (id: {$a->id})';
67 $string['enabled'] = 'Enabled';
68 $string['enabledocumentation'] = 'Enable developer documentation';
69 $string['enabledocumentationdescription'] = 'Detailed web services documentation is available for enabled protocols.';
70 $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}';
71 $string['enableprotocols'] = 'Enable protocols';
72 $string['enableprotocolsdescription'] = 'At least one protocol should be enabled. For security reasons, only protocols that are to be used should be enabled.';
73 $string['enablews'] = 'Enable web services';
74 $string['enablewsdescription'] = 'Web services must be enabled in Advanced features.';
75 $string['entertoken'] = 'Enter a security key/token:';
76 $string['error'] = 'Error: {$a}';
77 $string['errorcatcontextnotvalid'] = 'You cannot execute functions in the category context (category id:{$a->catid}). The context error message was: {$a->message}';
78 $string['errorcodes'] = 'Error message';
79 $string['errorcoursecontextnotvalid'] = 'You cannot execute functions in the course context (course id:{$a->courseid}). The context error message was: {$a->message}';
80 $string['errorinvalidparam'] = 'The param "{$a}" is invalid.';
81 $string['errorinvalidparamsapi'] = 'Invalid external api parameter';
82 $string['errorinvalidparamsdesc'] = 'Invalid external api description';
83 $string['errorinvalidresponseapi'] = 'Invalid external api response';
84 $string['errorinvalidresponsedesc'] = 'Invalid external api response description';
85 $string['errormissingkey'] = 'Missing required key in single structure: {$a}';
86 $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.';
87 $string['erroronlyarray'] = 'Only arrays accepted.';
88 $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.';
89 $string['errorresponsemissingkey'] = 'Error in response - Missing following required key in a single structure: {$a}';
90 $string['errorscalartype'] = 'Scalar type expected, array or object received.';
91 $string['errorunexpectedkey'] = 'Unexpected keys ({$a}) detected in parameter array.';
92 $string['execute'] = 'Execute';
93 $string['executewarnign'] = 'WARNING: If you press execute your database will be modified and changes can not be reverted automatically!';
94 $string['externalservice'] = 'External service';
95 $string['externalservicefunctions'] = 'External service functions';
96 $string['externalservices'] = 'External services';
97 $string['externalserviceusers'] = 'External service users';
98 $string['failedtolog'] = 'Failed to log';
99 $string['function'] = 'Function';
100 $string['functions'] = 'Functions';
101 $string['generalstructure'] = 'General structure';
102 $string['checkusercapability'] = 'Check user capability';
103 $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.';
104 $string['information'] = 'Information';
105 $string['installserviceshortnameerror'] = 'Coding error: the service shortname "{$a}" should have contains numbers, letters and _-.. only.';
106 $string['installexistingserviceshortnameerror'] = 'A web service with the shortname "{$a}" already exists. Can not install/update a different web service with this shortname.';
107 $string['invalidextparam'] = 'Invalid external api parameter: {$a}';
108 $string['invalidextresponse'] = 'Invalid external api response: {$a}';
109 $string['invalidiptoken'] = 'Invalid token - your IP is not supported';
110 $string['invalidtimedtoken'] = 'Invalid token - token expired';
111 $string['invalidtoken'] = 'Invalid token - token not found';
112 $string['invalidtokensession'] = 'Invalid session based token - session not found or expired';
113 $string['iprestriction'] = 'IP restriction';
114 $string['iprestriction_help'] = 'The user will need to call web service from the listed IPs.';
115 $string['key'] = 'Key';
116 $string['keyshelp'] = 'The keys are used to access your Moodle account from external applications.';
117 $string['manageprotocols'] = 'Manage protocols';
118 $string['managetokens'] = 'Manage tokens';
119 $string['missingcaps'] = 'Missing capabilities';
120 $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.';
121 $string['missingpassword'] = 'Missing password';
122 $string['missingusername'] = 'Missing username';
123 $string['missingversionfile'] = 'Coding error: version.php file is missing for the component {$a}';
124 $string['mobilewsdisabled'] = 'Disabled';
125 $string['mobilewsenabled'] = 'Enabled';
126 $string['nofunctions'] = 'This service has no functions.';
127 $string['norequiredcapability'] = 'No required capability';
128 $string['notoken'] = 'The token list is empty.';
129 $string['onesystemcontrolling'] = 'One system controlling Moodle with a token';
130 $string['onesystemcontrollingdescription'] = 'The following steps help you to set up the Moodle web service for a system to control Moodle. These steps also help to set up the recommended token (security keys) authentication method.';
131 $string['operation'] = 'Operation';
132 $string['optional'] = 'Optional';
133 $string['passwordisexpired'] = 'Password is expired.';
134 $string['phpparam'] = 'XML-RPC (PHP structure)';
135 $string['phpresponse'] = 'XML-RPC (PHP structure)';
136 $string['postrestparam'] = 'PHP code for REST (POST request)';
137 $string['potusers'] = 'Not authorised users';
138 $string['potusersmatching'] = 'Not authorised users matching';
139 $string['print'] = 'Print all';
140 $string['protocol'] = 'Protocol';
141 $string['removefunction'] = 'Remove';
142 $string['removefunctionconfirm'] = 'Do you really want to remove function "{$a->function}" from service "{$a->service}"?';
143 $string['requireauthentication'] = 'This method requires authentication with xxx permission.';
144 $string['required'] = 'Required';
145 $string['requiredcapability'] = 'Required capability';
146 $string['requiredcapability_help'] = 'If set, only users with the required capability can access the service.';
147 $string['requiredcaps'] = 'Required capabilities';
148 $string['resettokenconfirm'] = 'Do you really want to reset this web service key for <strong>{$a->user}</strong> on the service <strong>{$a->service}</strong>?';
149 $string['resettokenconfirmsimple'] = 'Do you really want to reset this key? Any saved links containing the old key will not work anymore.';
150 $string['response'] = 'Response';
151 $string['restcode'] = 'REST';
152 $string['restexception'] = 'REST';
153 $string['restparam'] = 'REST (POST parameters)';
154 $string['restrictedusers'] = 'Authorised users only';
155 $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.';
156 $string['restoredaccountresetpassword'] = 'Restored account need to reset password before getting a token.';
157 $string['securitykey'] = 'Security key (token)';
158 $string['securitykeys'] = 'Security keys';
159 $string['selectauthorisedusers'] = 'Select authorised users';
160 $string['selectedcapability'] = 'Selected';
161 $string['selectedcapabilitydoesntexit'] = 'The currently set required capability ({$a}) doesn\'t exist any more. Please change it and save the changes.';
162 $string['selectservice'] = 'Select a service';
163 $string['selectspecificuser'] = 'Select a specific user';
164 $string['selectspecificuserdescription'] = 'Add the web services user as an authorised user.';
165 $string['service'] = 'Service';
166 $string['servicehelpexplanation'] = 'A service is a set of functions. A service can be accessed by all users or just specified users.';
167 $string['servicename'] = 'Service name';
168 $string['servicesbuiltin'] = 'Built-in services';
169 $string['servicescustom'] = 'Custom services';
170 $string['serviceusers'] = 'Authorised users';
171 $string['serviceusersettings'] = 'User settings';
172 $string['serviceusersmatching'] = 'Authorised users matching';
173 $string['serviceuserssettings'] = 'Change settings for the authorised users';
174 $string['simpleauthlog'] = 'Simple authentication login';
175 $string['step'] = 'Step';
176 $string['testauserwithtestclientdescription'] = 'Simulate external access to the service using the web service test client. Before doing so, login as a user with the moodle/webservice:createtoken capability and obtain the security key (token) via My profile settings. 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>';
177 $string['testclient'] = 'Web service test client';
178 $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}.';
179 $string['testwithtestclient'] = 'Test the service';
180 $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>';
181 $string['token'] = 'Token';
182 $string['tokenauthlog'] = 'Token authentication';
183 $string['tokencreatedbyadmin'] = 'Can only be reset by administrator (*)';
184 $string['tokencreator'] = 'Creator';
185 $string['updateusersettings'] = 'Update';
186 $string['userasclients'] = 'Users as clients with token';
187 $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 his token from the security keys page via My profile settings.';
188 $string['usermissingcaps'] = 'Missing capabilities: {$a}';
189 $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.';
190 $string['usersettingssaved'] = 'User settings saved';
191 $string['validuntil'] = 'Valid until';
192 $string['validuntil_help'] = 'If set, the service will be inactivated after this date for this user.';
193 $string['webservice'] = 'Web service';
194 $string['webservices'] = 'Web services';
195 $string['webservicesoverview'] = 'Overview';
196 $string['webservicetokens'] = 'Web service tokens';
197 $string['wrongusernamepassword'] = 'Wrong username or password';
198 $string['wsauthmissing'] = 'The web service authentication plugin is missing.';
199 $string['wsauthnotenabled'] = 'The web service authentication plugin is disabled.';
200 $string['wsclientdoc'] = 'Moodle web service client documentation';
201 $string['wsdocapi'] = 'API Documentation';
202 $string['wsdocumentation'] = 'Web service documentation';
203 $string['wsdocumentationdisable'] = 'Web service documentation is disabled.';
204 $string['wsdocumentationintro'] = 'To create a client we advise you to read the {$a->doclink}';
205 $string['wsdocumentationlogin'] = 'or enter your web service username and password:';
206 $string['wspassword'] = 'Web service password';
207 $string['wsusername'] = 'Web service username';