Browse Source

Исправил локализацию 'task type'

devel
http 9 years ago
parent
commit
69c4e578e1
  1. 2
      taskapp/handle.py
  2. 6
      taskapp/locale/ru/LC_MESSAGES/django.po

2
taskapp/handle.py

@ -35,7 +35,7 @@ def handle(task, author, recipient, abon_group):
task.abon.house, task.abon.house,
task.abon.telephone task.abon.telephone
) )
fulltext += _('Task type - %s.\n') % task.get_mode_display()
fulltext += _('Task type - %s.') % task.get_mode_display() + '\n'
fulltext += task.descr if task.descr else '' fulltext += task.descr if task.descr else ''
send_notify(fulltext, dst_account) send_notify(fulltext, dst_account)
except ChatException as e: except ChatException as e:

6
taskapp/locale/ru/LC_MESSAGES/django.po

@ -39,10 +39,8 @@ msgid "not chosen"
msgstr "не выбрано" msgstr "не выбрано"
#: taskapp/handle.py:38 #: taskapp/handle.py:38
#, fuzzy, python-format
#| msgid "Task type"
msgid "Task type - %s.\n"
msgstr "Тип задачи - %s.\n"
msgid "Task type - %s."
msgstr "Тип задачи - %s."
#: taskapp/models.py:14 #: taskapp/models.py:14
msgid "Higher" msgid "Higher"

Loading…
Cancel
Save