Show More
@@ -340,7 +340,10 b' class ThreadForm(PostForm):' | |||||
340 | break |
|
340 | break | |
341 |
|
341 | |||
342 | if not required_tag_exists: |
|
342 | if not required_tag_exists: | |
343 | raise forms.ValidationError(_('Need at least 1 required tag.')) |
|
343 | all_tags = Tag.objects.filter(required=True) | |
|
344 | raise forms.ValidationError( | |||
|
345 | _('Need at least one of the tags: ') | |||
|
346 | + ', '.join([tag.name for tag in all_tags])) | |||
344 |
|
347 | |||
345 | return tags |
|
348 | return tags | |
346 |
|
349 |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -7,7 +7,7 b' msgid ""' | |||||
7 | msgstr "" |
|
7 | msgstr "" | |
8 | "Project-Id-Version: PACKAGE VERSION\n" |
|
8 | "Project-Id-Version: PACKAGE VERSION\n" | |
9 | "Report-Msgid-Bugs-To: \n" |
|
9 | "Report-Msgid-Bugs-To: \n" | |
10 |
"POT-Creation-Date: 2015-04-14 |
|
10 | "POT-Creation-Date: 2015-04-14 21:16+0300\n" | |
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
|
13 | "Language-Team: LANGUAGE <LL@li.org>\n" | |
@@ -120,23 +120,24 b' msgstr "\xd0\x9c\xd0\xb5\xd1\x82\xd0\xba\xd0\xb8"' | |||||
120 | msgid "Inappropriate characters in tags." |
|
120 | msgid "Inappropriate characters in tags." | |
121 | msgstr "Недопустимые символы в метках." |
|
121 | msgstr "Недопустимые символы в метках." | |
122 |
|
122 | |||
123 |
#: forms.py:34 |
|
123 | #: forms.py:345 | |
124 | msgid "Need at least 1 required tag." |
|
124 | #| msgid "Need at least 1 required tag." | |
125 | msgstr "Нужна хотя бы 1 обязательная метка." |
|
125 | msgid "Need at least one of the tags: " | |
|
126 | msgstr "Нужна хотя бы одна из меток: " | |||
126 |
|
127 | |||
127 |
#: forms.py:35 |
|
128 | #: forms.py:358 | |
128 | msgid "Theme" |
|
129 | msgid "Theme" | |
129 | msgstr "Тема" |
|
130 | msgstr "Тема" | |
130 |
|
131 | |||
131 |
#: forms.py:35 |
|
132 | #: forms.py:359 | |
132 | msgid "User name" |
|
133 | msgid "User name" | |
133 | msgstr "Имя пользователя" |
|
134 | msgstr "Имя пользователя" | |
134 |
|
135 | |||
135 |
#: forms.py:3 |
|
136 | #: forms.py:360 | |
136 | msgid "Time zone" |
|
137 | msgid "Time zone" | |
137 | msgstr "Часовой пояс" |
|
138 | msgstr "Часовой пояс" | |
138 |
|
139 | |||
139 |
#: forms.py:36 |
|
140 | #: forms.py:366 | |
140 | msgid "Inappropriate characters." |
|
141 | msgid "Inappropriate characters." | |
141 | msgstr "Недопустимые символы." |
|
142 | msgstr "Недопустимые символы." | |
142 |
|
143 | |||
@@ -212,31 +213,31 b' msgstr "\xd0\x9f\xd1\x80\xd0\xb5\xd0\xb4\xd1\x8b\xd0\xb4\xd1\x83\xd1\x89\xd0\xb0\xd1\x8f \xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x86\xd0\xb0"' | |||||
212 | msgid "Next page" |
|
213 | msgid "Next page" | |
213 | msgstr "Следующая страница" |
|
214 | msgstr "Следующая страница" | |
214 |
|
215 | |||
215 |
#: templates/boards/post.html: |
|
216 | #: templates/boards/post.html:25 | |
216 | msgid "Open" |
|
217 | msgid "Open" | |
217 | msgstr "Открыть" |
|
218 | msgstr "Открыть" | |
218 |
|
219 | |||
219 |
#: templates/boards/post.html: |
|
220 | #: templates/boards/post.html:27 templates/boards/post.html.py:31 | |
220 | msgid "Reply" |
|
221 | msgid "Reply" | |
221 | msgstr "Ответ" |
|
222 | msgstr "Ответ" | |
222 |
|
223 | |||
223 |
#: templates/boards/post.html: |
|
224 | #: templates/boards/post.html:36 | |
224 | msgid "Edit" |
|
225 | msgid "Edit" | |
225 | msgstr "Изменить" |
|
226 | msgstr "Изменить" | |
226 |
|
227 | |||
227 |
#: templates/boards/post.html: |
|
228 | #: templates/boards/post.html:38 | |
228 | msgid "Edit thread" |
|
229 | msgid "Edit thread" | |
229 | msgstr "Изменить тему" |
|
230 | msgstr "Изменить тему" | |
230 |
|
231 | |||
231 |
#: templates/boards/post.html:7 |
|
232 | #: templates/boards/post.html:70 | |
232 | msgid "Replies" |
|
233 | msgid "Replies" | |
233 | msgstr "Ответы" |
|
234 | msgstr "Ответы" | |
234 |
|
235 | |||
235 |
#: templates/boards/post.html:8 |
|
236 | #: templates/boards/post.html:82 templates/boards/thread.html:31 | |
236 | msgid "messages" |
|
237 | msgid "messages" | |
237 | msgstr "сообщений" |
|
238 | msgstr "сообщений" | |
238 |
|
239 | |||
239 |
#: templates/boards/post.html:8 |
|
240 | #: templates/boards/post.html:83 templates/boards/thread.html:32 | |
240 | msgid "images" |
|
241 | msgid "images" | |
241 | msgstr "изображений" |
|
242 | msgstr "изображений" | |
242 |
|
243 |
General Comments 0
You need to be logged in to leave comments.
Login now