Show More
|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -7,7 +7,7 b' msgid ""' | |||
|
7 | 7 | msgstr "" |
|
8 | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
|
9 | 9 | "Report-Msgid-Bugs-To: \n" |
|
10 |
"POT-Creation-Date: 2015-0 |
|
|
10 | "POT-Creation-Date: 2015-08-03 18:26+0300\n" | |
|
11 | 11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|
12 | 12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|
13 | 13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -111,7 +111,7 b' msgstr "\xd0\xa2\xd0\xb5\xd0\xba\xd1\x81\xd1\x82 \xd0\xb8\xd0\xbb\xd0\xb8 \xd0\xba\xd0\xb0\xd1\x80\xd1\x82\xd0\xb8\xd0\xbd\xd0\xba\xd0\xb0 \xd0\xb4\xd0\xbe\xd0\xbb\xd0\xb6\xd0\xbd\xd1\x8b \xd0\xb1\xd1\x8b\xd1\x82\xd1\x8c \xd0\xb2\xd0\xb2\xd0\xb5\xd0\xb4\xd0\xb5\xd0\xbd\xd1\x8b."' | |||
|
111 | 111 | msgid "Image must be less than %s bytes" |
|
112 | 112 | msgstr "Изображение должно быть менее %s байт" |
|
113 | 113 | |
|
114 |
#: forms.py:338 templates/boards/all_threads.html:1 |
|
|
114 | #: forms.py:338 templates/boards/all_threads.html:136 | |
|
115 | 115 | #: templates/boards/rss/post.html:10 templates/boards/tags.html:6 |
|
116 | 116 | msgid "Tags" |
|
117 | 117 | msgstr "Метки" |
@@ -156,59 +156,59 b' msgstr "\xd0\xad\xd1\x82\xd0\xbe\xd0\xb9 \xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x86\xd1\x8b \xd0\xbd\xd0\xb5 \xd1\x81\xd1\x83\xd1\x89\xd0\xb5\xd1\x81\xd1\x82\xd0\xb2\xd1\x83\xd0\xb5\xd1\x82"' | |||
|
156 | 156 | msgid "Related message" |
|
157 | 157 | msgstr "Связанное сообщение" |
|
158 | 158 | |
|
159 |
#: templates/boards/all_threads.html:6 |
|
|
159 | #: templates/boards/all_threads.html:68 | |
|
160 | 160 | msgid "Edit tag" |
|
161 | 161 | msgstr "Изменить метку" |
|
162 | 162 | |
|
163 |
#: templates/boards/all_threads.html: |
|
|
163 | #: templates/boards/all_threads.html:71 | |
|
164 | 164 | #, python-format |
|
165 | 165 | msgid "This tag has %(thread_count)s threads and %(post_count)s posts." |
|
166 | 166 | msgstr "С этой меткой есть %(thread_count)s тем и %(post_count)s сообщений." |
|
167 | 167 | |
|
168 |
#: templates/boards/all_threads.html:7 |
|
|
168 | #: templates/boards/all_threads.html:78 templates/boards/feed.html:30 | |
|
169 | 169 | #: templates/boards/notifications.html:17 templates/search/search.html:26 |
|
170 | 170 | msgid "Previous page" |
|
171 | 171 | msgstr "Предыдущая страница" |
|
172 | 172 | |
|
173 |
#: templates/boards/all_threads.html: |
|
|
173 | #: templates/boards/all_threads.html:92 | |
|
174 | 174 | #, python-format |
|
175 | 175 | msgid "Skipped %(count)s replies. Open thread to see all replies." |
|
176 | 176 | msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы." |
|
177 | 177 | |
|
178 |
#: templates/boards/all_threads.html:10 |
|
|
178 | #: templates/boards/all_threads.html:110 templates/boards/feed.html:40 | |
|
179 | 179 | #: templates/boards/notifications.html:27 templates/search/search.html:37 |
|
180 | 180 | msgid "Next page" |
|
181 | 181 | msgstr "Следующая страница" |
|
182 | 182 | |
|
183 |
#: templates/boards/all_threads.html:1 |
|
|
183 | #: templates/boards/all_threads.html:115 | |
|
184 | 184 | msgid "No threads exist. Create the first one!" |
|
185 | 185 | msgstr "Нет тем. Создайте первую!" |
|
186 | 186 | |
|
187 |
#: templates/boards/all_threads.html:11 |
|
|
187 | #: templates/boards/all_threads.html:121 | |
|
188 | 188 | msgid "Create new thread" |
|
189 | 189 | msgstr "Создать новую тему" |
|
190 | 190 | |
|
191 |
#: templates/boards/all_threads.html:1 |
|
|
191 | #: templates/boards/all_threads.html:126 templates/boards/preview.html:16 | |
|
192 | 192 | #: templates/boards/thread_normal.html:38 |
|
193 | 193 | msgid "Post" |
|
194 | 194 | msgstr "Отправить" |
|
195 | 195 | |
|
196 |
#: templates/boards/all_threads.html:1 |
|
|
196 | #: templates/boards/all_threads.html:131 | |
|
197 | 197 | msgid "Tags must be delimited by spaces. Text or image is required." |
|
198 | 198 | msgstr "" |
|
199 | 199 | "Метки должны быть разделены пробелами. Текст или изображение обязательны." |
|
200 | 200 | |
|
201 |
#: templates/boards/all_threads.html:1 |
|
|
201 | #: templates/boards/all_threads.html:133 templates/boards/preview.html:6 | |
|
202 | 202 | #: templates/boards/staticpages/help.html:21 |
|
203 | 203 | #: templates/boards/thread_normal.html:42 |
|
204 | 204 | msgid "Preview" |
|
205 | 205 | msgstr "Предпросмотр" |
|
206 | 206 | |
|
207 |
#: templates/boards/all_threads.html:1 |
|
|
207 | #: templates/boards/all_threads.html:135 templates/boards/thread_normal.html:45 | |
|
208 | 208 | msgid "Text syntax" |
|
209 | 209 | msgstr "Синтаксис текста" |
|
210 | 210 | |
|
211 |
#: templates/boards/all_threads.html:14 |
|
|
211 | #: templates/boards/all_threads.html:149 templates/boards/feed.html:53 | |
|
212 | 212 | msgid "Pages:" |
|
213 | 213 | msgstr "Страницы: " |
|
214 | 214 | |
@@ -257,7 +257,6 b' msgid "feed"' | |||
|
257 | 257 | msgstr "лента" |
|
258 | 258 | |
|
259 | 259 | #: templates/boards/base.html:42 templates/boards/random.html:6 |
|
260 | #| msgid "No images." | |
|
261 | 260 | msgid "Random images" |
|
262 | 261 | msgstr "Случайные изображения" |
|
263 | 262 | |
@@ -315,11 +314,11 b' msgstr "\xd0\x98\xd0\xb7\xd0\xbc\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c \xd1\x82\xd0\xb5\xd0\xbc\xd1\x83"' | |||
|
315 | 314 | msgid "Replies" |
|
316 | 315 | msgstr "Ответы" |
|
317 | 316 | |
|
318 |
#: templates/boards/post.html:97 templates/boards/thread.html:3 |
|
|
317 | #: templates/boards/post.html:97 templates/boards/thread.html:34 | |
|
319 | 318 | msgid "messages" |
|
320 | 319 | msgstr "сообщений" |
|
321 | 320 | |
|
322 |
#: templates/boards/post.html:98 templates/boards/thread.html:3 |
|
|
321 | #: templates/boards/post.html:98 templates/boards/thread.html:35 | |
|
323 | 322 | msgid "images" |
|
324 | 323 | msgstr "изображений" |
|
325 | 324 | |
@@ -389,13 +388,19 b' msgstr "\xd0\xa6\xd0\xb8\xd1\x82\xd0\xb0\xd1\x82\xd0\xb0"' | |||
|
389 | 388 | msgid "You can try pasting the text and previewing the result here:" |
|
390 | 389 | msgstr "Вы можете попробовать вставить текст и проверить результат здесь:" |
|
391 | 390 | |
|
392 |
#: templates/boards/tags.html: |
|
|
393 | msgid "No tags found." | |
|
394 |
msgstr " |
|
|
391 | #: templates/boards/tags.html:14 | |
|
392 | msgid "Sections:" | |
|
393 | msgstr "Разделы:" | |
|
395 | 394 | |
|
396 |
#: templates/boards/tags.html:2 |
|
|
397 |
msgid " |
|
|
398 | msgstr "Все метки" | |
|
395 | #: templates/boards/tags.html:26 | |
|
396 | #| msgid "Hidden tags:" | |
|
397 | msgid "Other tags:" | |
|
398 | msgstr "Другие метки:" | |
|
399 | ||
|
400 | #: templates/boards/tags.html:38 | |
|
401 | #| msgid "All tags" | |
|
402 | msgid "All tags..." | |
|
403 | msgstr "Все метки..." | |
|
399 | 404 | |
|
400 | 405 | #: templates/boards/thread.html:15 |
|
401 | 406 | msgid "Normal" |
@@ -409,7 +414,7 b' msgstr "\xd0\x93\xd0\xb0\xd0\xbb\xd0\xb5\xd1\x80\xd0\xb5\xd1\x8f"' | |||
|
409 | 414 | msgid "Tree" |
|
410 | 415 | msgstr "Дерево" |
|
411 | 416 | |
|
412 |
#: templates/boards/thread.html:3 |
|
|
417 | #: templates/boards/thread.html:36 | |
|
413 | 418 | msgid "Last update: " |
|
414 | 419 | msgstr "Последнее обновление: " |
|
415 | 420 | |
@@ -429,10 +434,7 b' msgstr "\xd0\x9e\xd1\x82\xd0\xb2\xd0\xb5\xd1\x82\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb2 \xd1\x82\xd0\xb5\xd0\xbc\xd1\x83"' | |||
|
429 | 434 | msgid "Close form" |
|
430 | 435 | msgstr "Закрыть форму" |
|
431 | 436 | |
|
432 | #: templates/boards/thread_normal.html:60 | |
|
433 | msgid "Update" | |
|
434 | msgstr "Обновить" | |
|
435 | ||
|
436 | 437 | #: templates/search/search.html:17 |
|
437 | 438 | msgid "Ok" |
|
438 | 439 | msgstr "Ок" |
|
440 |
@@ -9,7 +9,21 b'' | |||
|
9 | 9 | {% block content %} |
|
10 | 10 | |
|
11 | 11 | <div class="post"> |
|
12 | {% if section_tags %} | |
|
13 | <div> | |
|
14 | {% trans 'Sections:' %} | |
|
15 | {% for tag in section_tags %} | |
|
16 | <div class="tag_item"> | |
|
17 | {% autoescape off %} | |
|
18 | {{ tag.get_view }} | |
|
19 | {% endautoescape %} | |
|
20 | </div> | |
|
21 | {% endfor %} | |
|
22 | </div> | |
|
23 | {% endif %} | |
|
12 | 24 | {% if all_tags %} |
|
25 | <div> | |
|
26 | {% trans 'Other tags:' %} | |
|
13 | 27 | {% for tag in all_tags %} |
|
14 | 28 | <div class="tag_item"> |
|
15 | 29 | {% autoescape off %} |
@@ -17,11 +31,11 b'' | |||
|
17 | 31 | {% endautoescape %} |
|
18 | 32 | </div> |
|
19 | 33 | {% endfor %} |
|
20 | {% else %} | |
|
21 | {% trans 'No tags found.' %} | |
|
34 | </div> | |
|
22 | 35 | {% endif %} |
|
36 | ||
|
23 | 37 | {% if query %} |
|
24 | <div><a href="{% url 'tags' %}">{% trans 'All tags' %}</a></div> | |
|
38 | <div><a href="{% url 'tags' %}">{% trans 'All tags...' %}</a></div> | |
|
25 | 39 | {% endif %} |
|
26 | 40 | </div> |
|
27 | 41 |
@@ -4,6 +4,7 b' from boards.views.base import BaseBoardV' | |||
|
4 | 4 | from boards.models.tag import Tag |
|
5 | 5 | |
|
6 | 6 | |
|
7 | PARAM_SECTION_TAGS = 'section_tags' | |
|
7 | 8 | PARAM_TAGS = 'all_tags' |
|
8 | 9 | PARAM_QUERY = 'query' |
|
9 | 10 | |
@@ -13,10 +14,10 b' class AllTagsView(BaseBoardView):' | |||
|
13 | 14 | def get(self, request, query=None): |
|
14 | 15 | params = dict() |
|
15 | 16 | |
|
16 | if query == 'required': | |
|
17 | params[PARAM_TAGS] = Tag.objects.filter(required=True) | |
|
18 | else: | |
|
19 | params[PARAM_TAGS] = Tag.objects.get_not_empty_tags() | |
|
17 | params[PARAM_SECTION_TAGS] = Tag.objects.filter(required=True) | |
|
18 | if query != 'required': | |
|
19 | params[PARAM_TAGS] = Tag.objects.get_not_empty_tags().filter( | |
|
20 | required=False) | |
|
20 | 21 | params[PARAM_QUERY] = query |
|
21 | 22 | |
|
22 | 23 | return render(request, 'boards/tags.html', params) |
General Comments 0
You need to be logged in to leave comments.
Login now