tomtjes reported an error in the Admin > Emails > Rejected section with the message “translation missing: en.emails.incoming.errors.old_destination_error”. Upon reviewing the server.en.yml file on Github, it appears that this translation is indeed missing.
gerhard moved the discussion to the bug category and suggested adding a spec or linting rule to ensure that every error in Email::Receiver has a corresponding translation. He also pointed out that other translations may be missing.
JAYT reported a similar issue with a different error message “translation missing: en_GB.emails.incoming.errors.invalid_post” related to an Email::Receiver::InvalidPost error.
While I messed with translations for my site, I think this is not just an issue for me. The server.en.yml on Github seems to indeed lack this translation.
I’m moving this into the Contribute > Bug category, so that it doesn’t get lost.
We should fix this and also, if possible, add a spec or linting rule to ensure that every error in Email::Receiver has a corresponding translation. The note in that file certainly isn’t enough.
Also, we need to check if other translations are missing.