# HG changeset patch # User neko259 # Date 2015-04-14 10:16:19 # Node ID 0edfd683586252749abb3100b70bedb7370d3f90 # Parent f09532f11822b3f54cd6c7ffba77fb83b62f65cc Refactored post view, added a hint of how to add new tags to favorites diff --git a/boards/forms.py b/boards/forms.py --- a/boards/forms.py +++ b/boards/forms.py @@ -33,7 +33,7 @@ ATTRIBUTE_ROWS = 'rows' LAST_POST_TIME = 'last_post_time' LAST_LOGIN_TIME = 'last_login_time' TEXT_PLACEHOLDER = _('Type message here. Use formatting panel for more advanced usage.') -TAGS_PLACEHOLDER = _('tag1 several_words_tag') +TAGS_PLACEHOLDER = _('music images i_dont_like_tags') LABEL_TITLE = _('Title') LABEL_TEXT = _('Text') diff --git a/boards/locale/ru/LC_MESSAGES/django.mo b/boards/locale/ru/LC_MESSAGES/django.mo index e37b969700cf0977b990809d84beac1619b36d43..f5b2a64531591d0413a09539fafe05aa1deed0d6 GIT binary patch literal 7081 zc$|$_Yiu0V6~43-;*C@1Vdur`rZj;x?6S_IgiRdcBu--Ri`WiO+PY)!#2&JqS!QNK zTt&r62!T4q6e!RKO#>2bB`P_No!GJC{Gk0sMQ7XoY9-oA6tz;Ns+FofB&2@loVyRl zj>O6{-`vMJ_dLFHX8gg@8^5FQdkojDxIX-pQcnZl`HbSW{eH1pEuI0{C}e4ESHOej|jI04sqtz}ta00yi%ZefKXAeY=2bfh}e| z1XcnE3_iO+?09*Bobz3v2EGMc1N=E~74RdYk2c*-=T^vg18@=WKHz784Zz!g9TlR_ z$E^x@tU~NRWA?oUybJiY(eu99|2w1aLm)z^{#hY*|Eogc@jo-ZAtw56ib*_{#6)gY zO#Hda%*V}mOHAz8X5=1jC ztI_u#;CA50W}Jd^>wpg|6h99w6nlK&O5jo81Hf-D6#w&P{r3wcK7Ru4q_9^?JRYo+ z^P4MWe+Te$z^_({ea9>1{8uW)kG$Dmxk&t5wn*e|T_p4CfYlVIMdIf!v+u!0lE?N% zqW4MQr5lub26zj`+pC0Ek54Eko~x2LU#J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0l|Pez?s_qMi3elyzL=+pQ#4+nc86@g z&aaypPTwWOrPu&R_+>Fg2aW-#%kv52qLPl{_bORk{M=zK%=!e&4=2PR)It6fHNe8F zr`Xq~3tuv9gNPbR4NHp{wW!i4k) zzMto}#%XK-JLi4RUT3#1{hOz#f8eb`0+)z+Bs8Z`6umW|XGlIgW`A=|NN6ua6J2Cu Z7j;tUZ1ZU1nvpNMX=HAS3xnTg>i?c*a<~8h diff --git a/boards/locale/ru/LC_MESSAGES/django.po b/boards/locale/ru/LC_MESSAGES/django.po --- a/boards/locale/ru/LC_MESSAGES/django.po +++ b/boards/locale/ru/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-04-07 15:26+0300\n" +"POT-Creation-Date: 2015-04-14 13:07+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -44,8 +44,8 @@ msgstr "" "Вводите сообщение сюда. Используйте панель для более сложного форматирования." #: forms.py:36 -msgid "tag1 several_words_tag" -msgstr "метка1 метка_из_нескольких_слов" +msgid "music images i_dont_like_tags" +msgstr "музыка картинки теги_не_нужны" #: forms.py:38 msgid "Title" @@ -59,7 +59,7 @@ msgstr "Текст" msgid "Tag" msgstr "Метка" -#: forms.py:41 templates/boards/base.html:36 templates/search/search.html:7 +#: forms.py:41 templates/boards/base.html:40 templates/search/search.html:7 msgid "Search" msgstr "Поиск" @@ -76,7 +76,6 @@ msgid "e-mail" msgstr "" #: forms.py:152 -#| msgid "All threads" msgid "Additional threads" msgstr "Дополнительные темы" @@ -94,50 +93,50 @@ msgstr "Текст должен быть короче %s символов" msgid "Invalid URL" msgstr "Неверный URL" -#: forms.py:214 +#: forms.py:215 msgid "Invalid additional thread list" msgstr "Неверный список дополнительных тем" -#: forms.py:249 +#: forms.py:250 msgid "Either text or image must be entered." msgstr "Текст или картинка должны быть введены." -#: forms.py:265 +#: forms.py:266 #, python-format msgid "Wait %s seconds after last posting" msgstr "Подождите %s секунд после последнего постинга" -#: forms.py:277 +#: forms.py:278 #, python-format msgid "Image must be less than %s bytes" msgstr "Изображение должно быть менее %s байт" -#: forms.py:324 templates/boards/posting_general.html:148 +#: forms.py:325 templates/boards/posting_general.html:148 #: templates/boards/rss/post.html:10 templates/boards/tags.html:7 msgid "Tags" msgstr "Метки" -#: forms.py:331 +#: forms.py:332 msgid "Inappropriate characters in tags." msgstr "Недопустимые символы в метках." -#: forms.py:342 +#: forms.py:343 msgid "Need at least 1 required tag." msgstr "Нужна хотя бы 1 обязательная метка." -#: forms.py:354 +#: forms.py:355 msgid "Theme" msgstr "Тема" -#: forms.py:355 +#: forms.py:356 msgid "User name" msgstr "Имя пользователя" -#: forms.py:356 +#: forms.py:357 msgid "Time zone" msgstr "Часовой пояс" -#: forms.py:362 +#: forms.py:363 msgid "Inappropriate characters." msgstr "Недопустимые символы." @@ -173,29 +172,33 @@ msgstr "Лента" msgid "All threads" msgstr "Все темы" -#: templates/boards/base.html:34 +#: templates/boards/base.html:36 +msgid "Add tags" +msgstr "Добавить метки" + +#: templates/boards/base.html:38 msgid "Tag management" msgstr "Управление метками" -#: templates/boards/base.html:39 templates/boards/base.html.py:40 +#: templates/boards/base.html:43 templates/boards/base.html.py:44 #: templates/boards/notifications.html:8 msgid "Notifications" msgstr "Уведомления" -#: templates/boards/base.html:47 templates/boards/settings.html:9 +#: templates/boards/base.html:51 templates/boards/settings.html:9 msgid "Settings" msgstr "Настройки" -#: templates/boards/base.html:60 +#: templates/boards/base.html:64 msgid "Admin" msgstr "Администрирование" -#: templates/boards/base.html:62 +#: templates/boards/base.html:66 #, python-format msgid "Speed: %(ppd)s posts per day" msgstr "Скорость: %(ppd)s сообщений в день" -#: templates/boards/base.html:64 +#: templates/boards/base.html:68 msgid "Up" msgstr "Вверх" @@ -229,11 +232,11 @@ msgstr "Изменить тему" msgid "Replies" msgstr "Ответы" -#: templates/boards/post.html:86 templates/boards/thread.html:30 +#: templates/boards/post.html:86 templates/boards/thread.html:31 msgid "messages" msgstr "сообщений" -#: templates/boards/post.html:87 templates/boards/thread.html:31 +#: templates/boards/post.html:87 templates/boards/thread.html:32 msgid "images" msgstr "изображений" @@ -356,7 +359,7 @@ msgstr "Метки не найдены." msgid "All tags" msgstr "Все метки" -#: templates/boards/thread.html:32 +#: templates/boards/thread.html:33 msgid "Last update: " msgstr "Последнее обновление: " @@ -392,5 +395,7 @@ msgstr "Обновить" #: templates/search/search.html:17 msgid "Ok" -msgstr "" +msgstr "Ок" +#~ msgid "tag1 several_words_tag" +#~ msgstr "метка1 метка_из_нескольких_слов" diff --git a/boards/templates/boards/base.html b/boards/templates/boards/base.html --- a/boards/templates/boards/base.html +++ b/boards/templates/boards/base.html @@ -28,9 +28,13 @@