Skip to content

Commit

Permalink
Make new test pass
Browse files Browse the repository at this point in the history
This fixes the interpolation of the translatable strings of the error
message raised when the package is not in the expected state.
  • Loading branch information
replaceafill committed Oct 18, 2024
1 parent f2a94b0 commit 51f5f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage_service/locations/api/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1637,8 +1637,8 @@ def move_request(self, request, bundle, **kwargs):
response = {
"error": True,
"message": _(
"The file must be in an %(expected_state) state to be moved. "
"Current state: %(current_state)"
"The file must be in an %(expected_state)s state to be moved. "
"Current state: %(current_state)s"
)
% {
"expected_state": Package.UPLOADED,
Expand Down

0 comments on commit 51f5f1b

Please sign in to comment.