Skip to content

Commit

Permalink
Fix translationable text, #10186
Browse files Browse the repository at this point in the history
  • Loading branch information
njkim committed Nov 4, 2023
1 parent bf7929e commit f841ffd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions arches/app/etl_modules/base_data_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 = []
Expand Down
4 changes: 2 additions & 2 deletions arches/app/etl_modules/bulk_data_deletion.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f841ffd

Please sign in to comment.