diff --git a/enterprise/api/v1/views.py b/enterprise/api/v1/views.py index 42f4775993..d13755b3d6 100644 --- a/enterprise/api/v1/views.py +++ b/enterprise/api/v1/views.py @@ -546,7 +546,7 @@ def algolia_key(self, request, *args, **kwargs): ).values_list("uuid", flat=True) if len(queryset) == 0: - raise NotFound("User is not linked to any enterprise customers.") + raise NotFound(_("User is not linked to any enterprise customers.")) secured_key = SearchClient.generate_secured_api_key( settings.ENTERPRISE_ALGOLIA_SEARCH_API_KEY,