Internationalize Commit API error messages
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=415919) </details> <!--IssueSummary end--> ## Problem to solve As was raised in this [discussion](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/114915#note_1437887135) the commit API surfaces Gitaly error messages to the user which are not translated. ### Proposed solution Internationalize the commit API error messages received from Gitaly. ### Implementation plan - Update the `index_error_message` method in [`lib/gitlab/gitaly_client/operation_service.rb`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/gitaly_client/operation_service.rb?ref_type=heads#L595) to return translated messages. - Update use cases of the messages in the ~frontend.
issue