From 985fad83ae06027c9ba92915b6f253815e7537cc Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 19 Oct 2009 11:59:44 +0000 Subject: first version of new REST api git-svn-id: http://code.elgg.org/elgg/trunk@3562 36083f99-b078-4883-b0ff-0f9b5a30f544 --- languages/en.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'languages') diff --git a/languages/en.php b/languages/en.php index d4092f8dc..c93f36fd7 100644 --- a/languages/en.php +++ b/languages/en.php @@ -116,18 +116,21 @@ $english = array( 'InvalidParameterException:DoesNotBelongOrRefer' => "Does not belong to entity or refer to entity.", 'InvalidParameterException:MissingParameter' => "Missing parameter, you need to provide a GUID.", - 'SecurityException:APIAccessDenied' => "Sorry, API access has been disabled by the administrator.", - 'SecurityException:NoAuthMethods' => "No authentication methods were found that could authenticate this API request.", 'APIException:ApiResultUnknown' => "API Result is of an unknown type, this should never happen.", - 'ConfigurationException:NoSiteID' => "No site ID has been specified.", - 'InvalidParameterException:UnrecognisedMethod' => "Unrecognised call method '%s'", + 'SecurityException:APIAccessDenied' => "Sorry, API access has been disabled by the administrator.", + 'SecurityException:NoAuthMethods' => "No authentication methods were found that could authenticate this API request.", + 'InvalidParameterException:APIMethodOrFunctionNotSet' => "Method or function not set in call in expose_method()", + 'InvalidParameterException:APIParametersNotArray' => "Parameters must be array in call to expose method '%s'", + 'InvalidParameterException:UnrecognisedHttpMethod' => "Unrecognised http method %s for api method '%s'", 'APIException:MissingParameterInMethod' => "Missing parameter %s in method %s", 'APIException:ParameterNotArray' => "%s does not appear to be an array.", 'APIException:UnrecognisedTypeCast' => "Unrecognised type in cast %s for variable '%s' in method '%s'", 'APIException:InvalidParameter' => "Invalid parameter found for '%s' in method '%s'.", 'APIException:FunctionParseError' => "%s(%s) has a parsing error.", 'APIException:FunctionNoReturn' => "%s(%s) returned no value.", + 'APIException:APIAuthenticationFailed' => "Method call failed the API Authentication", + 'APIException:UserAuthenticationFailed' => "Method call failed the User Authentication", 'SecurityException:AuthTokenExpired' => "Authentication token either missing, invalid or expired.", 'CallException:InvalidCallMethod' => "%s must be called using '%s'", 'APIException:MethodCallNotImplemented' => "Method call '%s' has not been implemented.", -- cgit v1.2.3