Fix email subject of renewal rejection mail

parent 25937476
......@@ -111,7 +111,7 @@ def send_renewal_rejected_message(renewal):
with translation.override(renewal.member.profile.language):
_send_email(
renewal.member.email,
_('Registration rejected'),
_('Renewal rejected'),
'registrations/email/renewal_rejected.txt',
{
'name': renewal.member.get_full_name()
......
This diff was suppressed by a .gitattributes entry.
......@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-08-19 16:41+0200\n"
"PO-Revision-Date: 2018-08-24 20:50+0200\n"
"POT-Creation-Date: 2018-08-27 17:19+0200\n"
"PO-Revision-Date: 2018-08-27 17:19+0200\n"
"Last-Translator: Sébastiaan Versteeg <se_bastiaan@outlook.com>\n"
"Language-Team: \n"
"Language: nl\n"
......@@ -16,7 +16,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.1.1\n"
"X-Generator: Poedit 2.0.4\n"
#: admin.py
msgid "Application information"
......@@ -88,6 +88,10 @@ msgstr "Registratie afgekeurd"
msgid "Renewal accepted"
msgstr "Verlenging goedgekeurd"
#: emails.py
msgid "Renewal rejected"
msgstr "Verlenging afgekeurd"
#: emails.py tests/test_emails.py
msgid "Renewal successful"
msgstr "Verlenging succesvol"
......
......@@ -176,7 +176,7 @@ class EmailsTest(TestCase):
with translation.override(renewal.member.profile.language):
send_email.assert_called_once_with(
renewal.member.email,
_('Registration rejected'),
_('Renewal rejected'),
'registrations/email/renewal_rejected.txt',
{
'name': renewal.member.get_full_name()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment