Skip to content

Commit

Permalink
webservice MDL-23440 more explicit error message when validation cont…
Browse files Browse the repository at this point in the history
…ext fail in some external functions (missing lang file modification).
  • Loading branch information
mouneyrac committed Aug 3, 2010
1 parent 19edef1 commit e21c56b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang/en/webservice.php
Expand Up @@ -70,6 +70,7 @@
$string['entertoken'] = 'Enter a security key/token:';
$string['error'] = 'Error: {$a}';
$string['errorcodes'] = 'Error message';
$string['errorcoursecontextnotvalid'] = 'You cannot execute functions in the course context (course id:{$a->courseid}). The context error message was: {$a->message}';
$string['errorinvalidparamsapi'] = 'Invalid external api parameter';
$string['errorinvalidparamsdesc'] = 'Invalid external api description';
$string['errorinvalidresponseapi'] = 'Invalid external api response';
Expand Down

0 comments on commit e21c56b

Please sign in to comment.