diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-09 21:47:15 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-09 21:47:15 -0300 |
commit | ed72db61da21c2e93f6acaf0afca576f566f5a91 (patch) | |
tree | 6e60541a48444528e7b466d90d5a6ea7aed60804 /askbot/management | |
parent | 616585cec22c9f9d457dc92bb7fe2c04b63dde65 (diff) | |
download | askbot-ed72db61da21c2e93f6acaf0afca576f566f5a91.tar.gz askbot-ed72db61da21c2e93f6acaf0afca576f566f5a91.tar.bz2 askbot-ed72db61da21c2e93f6acaf0afca576f566f5a91.zip |
broken
Diffstat (limited to 'askbot/management')
-rw-r--r-- | askbot/management/commands/send_accept_answer_reminders.py | 4 | ||||
-rw-r--r-- | askbot/management/commands/send_unanswered_question_reminders.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/askbot/management/commands/send_accept_answer_reminders.py b/askbot/management/commands/send_accept_answer_reminders.py index eef74ca9..2b8b0851 100644 --- a/askbot/management/commands/send_accept_answer_reminders.py +++ b/askbot/management/commands/send_accept_answer_reminders.py @@ -5,8 +5,8 @@ from django.template.loader import get_template from askbot import models from askbot import const from askbot.conf import settings as askbot_settings -from django.utils.translation import ugettext_lazy as _ -from django.utils.translation import ungettext_lazy +from django.utils.translation import ugettext as _ +from django.utils.translation import ungettext from askbot import mail from askbot.utils.classes import ReminderSchedule from django.template import Context diff --git a/askbot/management/commands/send_unanswered_question_reminders.py b/askbot/management/commands/send_unanswered_question_reminders.py index b91c043d..982dbafb 100644 --- a/askbot/management/commands/send_unanswered_question_reminders.py +++ b/askbot/management/commands/send_unanswered_question_reminders.py @@ -3,7 +3,7 @@ from django.template.loader import get_template from askbot import models from askbot import const from askbot.conf import settings as askbot_settings -from django.utils.translation import ungettext_lazy +from django.utils.translation import ungettext from askbot import mail from askbot.utils.classes import ReminderSchedule from askbot.models.question import Thread @@ -62,7 +62,7 @@ class Command(NoArgsCommand): threads = Thread.objects.filter(id__in=[qq.thread_id for qq in final_question_list]) tag_summary = Thread.objects.get_tag_summary_from_threads(threads) - subject_line = ungettext_lazy( + subject_line = ungettext( '%(question_count)d unanswered question about %(topics)s', '%(question_count)d unanswered questions about %(topics)s', question_count |