S/MIME error message - part of string not localized
On Fedora 38 with Evolution 3.48.4-1.fc38.x86_64 and on Fedora 39 with Evolution 3.50.2-1 (both RPM package) part of an S/MIME error message is not localized. I use EWS to access an Exchange Server 2016 instance, but the problem can be reproduced with a local mailbox too (export mail to mbox file and import it)
Steps to reproduce:
- send an S/MIME signed and encrypted email from Evolution
- configure mailbox on a different computer, but do not import S/MIME certificate (alternative: delete your certificate from Evolution's certificate store (Edit -- Preferences -- Certificates -- Your Certificates))
- end Evolution and start with a non-english locale:
$ LANG=de_DE.utf8 evolution
- view email from step 1; you see this message below the email's header (from, to, subject, date):
S/MIME-Nachricht konnte nicht analysiert werden: Cannot decrypt: you are not a recipient, or matching certificate and private key not found. (-8147) - Dekodiervorgang gescheitert
The message's first and last part are localized. The middle part isn't. I cannot find localization strings in PO files for it, so maybe this is expected behaviour.
In English the message reads: $ LANG=en_US.utf8 evolution
Could not parse S/MIME message: Cannot decrypt: you are not a recipient, or matching certificate and private key not found. (-8147) - Decoder failed