session-ios
session-ios copied to clipboard
[BUG] Attachment shortDescription isn't localised.
Code of conduct
- [X] I have read and agree to adhere to the Code of Conduct
Self-training on how to write a bug report
- [X] I have learned how to write a bug report
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When you reply to a media message (an image or voice message) the description in the Quote UI is only displayed in English (Video, Image, Audio).
See https://github.com/oxen-io/session-ios/blob/600637ec78701b7b20a4c84f3e05a5668113f4cb/SessionMessagingKit/Database/Models/Attachment.swift#L790 for relevant code to be updated.
Expected Behavior
When you reply to a media message (an image or voice message) the description in the Quote UI should be localised to the language setting for the app.
Steps To Reproduce
Long press on a media attachment message and select "Reply".
iOS Version
iOS 16.4.1
Session Version
Testflight 2.2.13(404)
Anything else?
This should be fixed as part of #963