diff --git a/boards/forms.py b/boards/forms.py --- a/boards/forms.py +++ b/boards/forms.py @@ -356,8 +356,7 @@ class ThreadForm(PostForm): if not required_tag_exists: all_tags = Tag.objects.filter(required=True) raise forms.ValidationError( - _('Need at least one of the tags: ') - + ', '.join([tag.name for tag in all_tags])) + _('Need at least one section.')) return tags diff --git a/boards/locale/ru/LC_MESSAGES/django.mo b/boards/locale/ru/LC_MESSAGES/django.mo index 2658e13e1165d63ae83f01110169b9fc48dbe85e..110d0a0a9713fed521cff8ecaf959d864b27ed52 GIT binary patch literal 7645 zc$|$_eQ;D)6~9$%n@vI?5CRnRqSBVq-6l{f-IBHe0;D7)7;YNq0&fEj0@ndA09OHjVD$b1_;KJL&HK$TuAKG*E(U7g zYT&&g(fepf^tFe?k61|TN&@c$o(YM+*Ub8NjK24PA0at;?^3D6`TM{q zaI94F|2L!Wwlc|cRhh`$4Fok*O_{`JOPR?Ba2w^ryuSdv12|A7eh!z3T{FOy6c^yb zzz@pAj#8Jvkt*T$!&S2X zlU1VEuafw^P$hYK)r?;R_5nw#Bu*Pwik-2Q;;+9_)}2`?@^7t_cw8~>KL?%!{?@!7 zUL|quTP1lPUnRVIAGjI#8(=4}63MEfe5@AzF9G)g-&`&J{0aC9<$ty4{o3uK@67EI zmr-Cp@IBxmirX4lcV&&lVP=i^{}VI*2lM{dHR9K;Yh~ZN4b}qhCw>C&0iH19BWp$e zM+SciyouzL)GPg{eu)!1%scUid>}tt%vie;UOZvmYnAYxVor7USzHg9xm5D9(1=LR{7u$({N_auPO$Ij`e9~YmuE&(boqqdqMU?P`a`YgsW;3@%Nxke; zQh($-^`Tw3s&VZ$>*!2tQc}zGqa3X;&-F@jMg5d&dTo(EPvPpq)uyC==!~R(PrZ!z zXW{z15-u$&lB-a&e;o!7D5-a?q;9D;_7<(9bAKPMjpm&=^0<=TO+V`8)F&Iw`vXO? z)W;i?)D8VUV{n~8>O1$(u}f*k)v7KQ(`l>6rw1qPBwZ`6)4iT;#b_wuxT-E5=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0_Ux(b$s5J&HPh6Fso|dHnOp;$U-=Z8m#MKM^=J8ro#9-LaVIsceuxjqDcXGm zKqnh-H!3QpxXDs)feZPMK_meXyPhoZB%sR*le_z0%!6J7k~Zb*q!6Qd}NI0s$`UXhe6V8wG<6xPDRQ3q3lWe zj}l5p_%rV)(>a*Z++r8_nC8=yTJTj#0%_7DHZ<>x-gro-qav&2Rq+SJn6!HCEmF&T zzszUI2`m7MrV3x83xCTkET{|r#gYy>Zb)E^_(4MRxUH!1L(hPG63zZ@9+xQN;O-=I lJE{3eGg?3s(_B7Kr;)@d<}x31w0O=Dr#Q{#04e+f^\n" "Language-Team: LANGUAGE \n" @@ -111,7 +111,7 @@ msgstr "Текст или картинка должны быть введены." msgid "Image must be less than %s bytes" msgstr "Изображение должно быть менее %s байт" -#: forms.py:338 templates/boards/all_threads.html:136 +#: forms.py:338 templates/boards/all_threads.html:141 #: templates/boards/rss/post.html:10 templates/boards/tags.html:6 msgid "Tags" msgstr "Метки" @@ -121,26 +121,27 @@ msgid "Inappropriate characters in tags. msgstr "Недопустимые символы в метках." #: forms.py:359 -msgid "Need at least one of the tags: " -msgstr "Нужна хотя бы одна из меток: " +#| msgid "Need at least one of the tags: " +msgid "Need at least one section." +msgstr "Нужен хотя бы один раздел." -#: forms.py:372 +#: forms.py:371 msgid "Theme" msgstr "Тема" -#: forms.py:373 +#: forms.py:372 msgid "Image view mode" msgstr "Режим просмотра изображений" -#: forms.py:374 +#: forms.py:373 msgid "User name" msgstr "Имя пользователя" -#: forms.py:375 +#: forms.py:374 msgid "Time zone" msgstr "Часовой пояс" -#: forms.py:381 +#: forms.py:380 msgid "Inappropriate characters." msgstr "Недопустимые символы." @@ -160,55 +161,55 @@ msgstr "Связанное сообщение" msgid "Edit tag" msgstr "Изменить метку" -#: templates/boards/all_threads.html:71 +#: templates/boards/all_threads.html:76 #, python-format msgid "This tag has %(thread_count)s threads and %(post_count)s posts." msgstr "С этой меткой есть %(thread_count)s тем и %(post_count)s сообщений." -#: templates/boards/all_threads.html:78 templates/boards/feed.html:30 +#: templates/boards/all_threads.html:83 templates/boards/feed.html:30 #: templates/boards/notifications.html:17 templates/search/search.html:26 msgid "Previous page" msgstr "Предыдущая страница" -#: templates/boards/all_threads.html:92 +#: templates/boards/all_threads.html:97 #, python-format msgid "Skipped %(count)s replies. Open thread to see all replies." msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы." -#: templates/boards/all_threads.html:110 templates/boards/feed.html:40 +#: templates/boards/all_threads.html:115 templates/boards/feed.html:40 #: templates/boards/notifications.html:27 templates/search/search.html:37 msgid "Next page" msgstr "Следующая страница" -#: templates/boards/all_threads.html:115 +#: templates/boards/all_threads.html:120 msgid "No threads exist. Create the first one!" msgstr "Нет тем. Создайте первую!" -#: templates/boards/all_threads.html:121 +#: templates/boards/all_threads.html:126 msgid "Create new thread" msgstr "Создать новую тему" -#: templates/boards/all_threads.html:126 templates/boards/preview.html:16 +#: templates/boards/all_threads.html:131 templates/boards/preview.html:16 #: templates/boards/thread_normal.html:38 msgid "Post" msgstr "Отправить" -#: templates/boards/all_threads.html:131 +#: templates/boards/all_threads.html:136 msgid "Tags must be delimited by spaces. Text or image is required." msgstr "" "Метки должны быть разделены пробелами. Текст или изображение обязательны." -#: templates/boards/all_threads.html:133 templates/boards/preview.html:6 +#: templates/boards/all_threads.html:138 templates/boards/preview.html:6 #: templates/boards/staticpages/help.html:21 #: templates/boards/thread_normal.html:42 msgid "Preview" msgstr "Предпросмотр" -#: templates/boards/all_threads.html:135 templates/boards/thread_normal.html:45 +#: templates/boards/all_threads.html:140 templates/boards/thread_normal.html:45 msgid "Text syntax" msgstr "Синтаксис текста" -#: templates/boards/all_threads.html:149 templates/boards/feed.html:53 +#: templates/boards/all_threads.html:154 templates/boards/feed.html:53 msgid "Pages:" msgstr "Страницы: " @@ -393,12 +394,10 @@ msgid "Sections:" msgstr "Разделы:" #: templates/boards/tags.html:26 -#| msgid "Hidden tags:" msgid "Other tags:" msgstr "Другие метки:" #: templates/boards/tags.html:38 -#| msgid "All tags" msgid "All tags..." msgstr "Все метки..." @@ -437,4 +436,3 @@ msgstr "Закрыть форму" #: templates/search/search.html:17 msgid "Ok" msgstr "Ок" -