diff --git a/app/Enums/ApiError.php b/app/Enums/ApiError.php index 9a386e5..61b667b 100644 --- a/app/Enums/ApiError.php +++ b/app/Enums/ApiError.php @@ -86,14 +86,14 @@ class ApiError extends BaseEnumRoutable public static function labels(): array { return [ - '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', + 'modelNotFound' => '%s introuvable.', + 'validationFailed' => 'Impossible de valider les données', + 'customerExists' => 'L\'utilisateur est déjà enregistré sur ce site', + 'customerNotActivated' => 'Le comtpe n\'est pas activé', + 'customerAlreadyActive' => 'Le compte est déjà activé', + 'singleOptinCustomerExists' => 'Le signle optin ne peut être ajouté car un compte existe.', + 'authFailed' => 'Echec de l\'authentification', + 'needAuth' => 'Vous devez être authentifié', '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',