Skip to content

Commit

Permalink
fix gettext problem
Browse files Browse the repository at this point in the history
Issue: AAH-2761
  • Loading branch information
jerabekjiri committed Oct 16, 2023
1 parent 321e88e commit db2075f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galaxy_ng/app/api/ui/viewsets/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _filter_queryset(self, queryset, request):
sort_field = sort.replace("-", "")
queryset = sorted(queryset, key=lambda x: x[sort_field], reverse=reverse)
elif sort is not None:
raise serializers.ValidationError(_(f"Invalid Sort: '{sort}'"))
raise serializers.ValidationError(_("Invalid Sort: '{}'").format(sort))

return queryset

Expand Down

0 comments on commit db2075f

Please sign in to comment.