Make the text of AlreadySubscribedError translatable
commit327011faa4435e2cd3bb825b87eb4929ba375beb
authorДилян Палаузов <dilyan.palauzov@aegee.org>
Fri, 2 Feb 2024 22:01:39 +0000 (2 22:01 +0000)
committerMark Sapiro <mark@msapiro.net>
Fri, 2 Feb 2024 22:01:39 +0000 (2 22:01 +0000)
tree62e5e1aeff05f5d743e06c864b84b52c24fdd376
parent596ce4cfda3461ca378ef6ce15c1761b9cb6a549
Make the text of AlreadySubscribedError translatable

So that the returned message, when trying to re-subscribe to a mailing list, is translated.  Currently the answer is:
```
Следват резултатите от твоята команда изпратена по електронна поща.

- Подробности от оригиналното съобщение:
От: Дилян Палаузов <me@example.org>
Тема: subscribe
Дата: Sat, 02 Apr 2022 13:30:37 +0300
Message-ID: <96c072ddd19072b3be2c7ada69d85c0a15c9114d.camel@aegee.org>

- Резултати:
me@example.org is already a MemberRole.member of mailing list aaa@l.bapha.be

- Готово.
```

and the `MemberRole.member` feels unnatural.

Fixes #1121

* Update test_eml_confirm.py

* Update NEWS.rst

* Make the text of AlreadySubscribedError translatable

So that the returned message, when trying to re-subscribe to a mailing
list, is translated.
src/mailman/commands/tests/test_eml_confirm.py
src/mailman/commands/tests/test_eml_membership.py
src/mailman/docs/NEWS.rst
src/mailman/interfaces/member.py
src/mailman/model/tests/test_mailinglist.py