diff --git a/arches/app/etl_modules/base_data_editor.py b/arches/app/etl_modules/base_data_editor.py index 82b3e76db88..d0f21a58253 100644 --- a/arches/app/etl_modules/base_data_editor.py +++ b/arches/app/etl_modules/base_data_editor.py @@ -318,7 +318,7 @@ def preview(self, request): except ValidationError: return { "success": False, - "data": {"title": _("Invalid Search Url"), "message": "Please, enter a valid search url "} + "data": {"title": _("Invalid Search Url"), "message": _("Please, enter a valid search url")} } if resourceids: resourceids = tuple(resourceids) @@ -340,7 +340,7 @@ def preview(self, request): except TypeError: return { "success": False, - "data": {"title": _("Invalid Search Url"), "message": "Please, enter a valid search url "} + "data": {"title": _("Invalid Search Url"), "message": _("Please, enter a valid search url")} } return_list = [] diff --git a/arches/app/etl_modules/bulk_data_deletion.py b/arches/app/etl_modules/bulk_data_deletion.py index 3602b9b936d..7b2a5566b24 100644 --- a/arches/app/etl_modules/bulk_data_deletion.py +++ b/arches/app/etl_modules/bulk_data_deletion.py @@ -190,7 +190,7 @@ def preview(self, request): except ValidationError: return { "success": False, - "data": {"title": _("Invalid Search Url"), "message": "Please, enter a valid search url "} + "data": {"title": _("Invalid Search Url"), "message": _("Please, enter a valid search url")} } if resourceids: resourceids = tuple(resourceids) @@ -222,7 +222,7 @@ def delete(self, request): except ValidationError: return { "success": False, - "data": {"title": _("Invalid Search Url"), "message": "Please, enter a valid search url "} + "data": {"title": _("Invalid Search Url"), "message": _("Please, enter a valid search url")} } use_celery_bulk_delete = True