diff --git a/app/Enums/ApiError.php b/app/Enums/ApiError.php index 38f710b..9a386e5 100644 --- a/app/Enums/ApiError.php +++ b/app/Enums/ApiError.php @@ -86,18 +86,18 @@ class ApiError extends BaseEnumRoutable public static function labels(): array { return [ - 'modelNotFound' => trans('%s not found.'), - 'validationFailed' => trans('Could not validate data.'), - 'customerExists' => trans('User already registered on this site.'), - 'customerNotActivated' => trans('Account is not activated.'), - 'customerAlreadyActive' => trans('User already active.'), - 'singleOptinCustomerExists' => trans('SingleOptin wont be added because customer exists.'), - 'authFailed' => trans('Authentication failed.'), - 'needAuth' => trans('You need to be authenticated'), - 'methodNotAllowed' => trans('This method is not allowed for this request'), - 'wrongTimeStamp' => trans('Your request is malformed, please check timestamp header and parameter'), - 'authorizationException' => trans('You are not autorized to access this'), - 'throttleRequestsException' => trans('Throttle: too many request have been attempted, please retry later') + 'modelNotFound' => '%s not found.', + 'validationFailed' => 'Could not validate data.', + 'customerExists' => 'User already registered on this site.', + 'customerNotActivated' => 'Account is not activated.', + 'customerAlreadyActive' => 'User already active.', + 'singleOptinCustomerExists' => 'SingleOptin wont be added because customer exists.', + 'authFailed' => 'Authentication failed.', + 'needAuth' => 'You need to be authenticated', + 'methodNotAllowed' => 'This method is not allowed for this request', + 'wrongTimeStamp' => 'Your request is malformed, please check timestamp header and parameter', + 'authorizationException' => 'You are not autorized to access this', + 'throttleRequestsException' => 'Throttle: too many request have been attempted, please retry later' ]; } }