mirror of https://github.com/zulip/zulip.git
emails: Use ugettext instead of ugettext_lazy in signals.
ugettext_lazy was printing the object in the email template instead of the string.
This commit is contained in:
parent
bf8db6f634
commit
bcae08470c
|
@ -8,7 +8,7 @@ from django.template import loader
|
||||||
from django.utils.timezone import \
|
from django.utils.timezone import \
|
||||||
get_current_timezone_name as timezone_get_current_timezone_name
|
get_current_timezone_name as timezone_get_current_timezone_name
|
||||||
from django.utils.timezone import now as timezone_now
|
from django.utils.timezone import now as timezone_now
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext as _
|
||||||
|
|
||||||
from confirmation.models import one_click_unsubscribe_link
|
from confirmation.models import one_click_unsubscribe_link
|
||||||
from zerver.lib.queue import queue_json_publish
|
from zerver.lib.queue import queue_json_publish
|
||||||
|
|
Loading…
Reference in New Issue