summaryrefslogtreecommitdiffstats
path: root/forum/management/commands
diff options
context:
space:
mode:
Diffstat (limited to 'forum/management/commands')
-rw-r--r--forum/management/commands/send_email_alerts.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/forum/management/commands/send_email_alerts.py b/forum/management/commands/send_email_alerts.py
index 75a2e7cb..ccda1081 100644
--- a/forum/management/commands/send_email_alerts.py
+++ b/forum/management/commands/send_email_alerts.py
@@ -451,8 +451,8 @@ class Command(NoArgsCommand):
# text += '</p>'
link = url_prefix + user.get_profile_url() + '?sort=email_subscriptions'
- text += _('go to %(link)s to change frequency of email updates or %(email)s administrator') \
- % {'link':link, 'email':settings.ADMINS[0][1]}
+ text += _('go to %(email_settings_link)s to change frequency of email updates or %(admin_email)s administrator') \
+ % {'email_settings_link':link, 'admin_email':settings.ADMINS[0][1]}
if DEBUG_THIS_COMMAND == False:
msg = EmailMessage(subject, text, settings.DEFAULT_FROM_EMAIL, [user.email])
msg.content_subtype = 'html'