Show More
|
1 | NO CONTENT: modified file, binary diff hidden |
@@ -1,446 +1,448 b'' | |||
|
1 | 1 | # SOME DESCRIPTIVE TITLE. |
|
2 | 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER |
|
3 | 3 | # This file is distributed under the same license as the PACKAGE package. |
|
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
|
5 | 5 | # |
|
6 | 6 | msgid "" |
|
7 | 7 | msgstr "" |
|
8 | 8 | "Project-Id-Version: PACKAGE VERSION\n" |
|
9 | 9 | "Report-Msgid-Bugs-To: \n" |
|
10 |
"POT-Creation-Date: 2015-08-1 |
|
|
10 | "POT-Creation-Date: 2015-08-17 12:11+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" |
|
14 | 14 | "Language: ru\n" |
|
15 | 15 | "MIME-Version: 1.0\n" |
|
16 | 16 | "Content-Type: text/plain; charset=UTF-8\n" |
|
17 | 17 | "Content-Transfer-Encoding: 8bit\n" |
|
18 | 18 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" |
|
19 | 19 | "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" |
|
20 | 20 | |
|
21 | 21 | #: admin.py:22 |
|
22 | 22 | msgid "{} posters were banned" |
|
23 | 23 | msgstr "" |
|
24 | 24 | |
|
25 | 25 | #: authors.py:9 |
|
26 | 26 | msgid "author" |
|
27 | 27 | msgstr "автор" |
|
28 | 28 | |
|
29 | 29 | #: authors.py:10 |
|
30 | 30 | msgid "developer" |
|
31 | 31 | msgstr "разработчик" |
|
32 | 32 | |
|
33 | 33 | #: authors.py:11 |
|
34 | 34 | msgid "javascript developer" |
|
35 | 35 | msgstr "разработчик javascript" |
|
36 | 36 | |
|
37 | 37 | #: authors.py:12 |
|
38 | 38 | msgid "designer" |
|
39 | 39 | msgstr "дизайнер" |
|
40 | 40 | |
|
41 | 41 | #: forms.py:38 |
|
42 | 42 | msgid "Type message here. Use formatting panel for more advanced usage." |
|
43 | 43 | msgstr "" |
|
44 | 44 | "Вводите сообщение сюда. Используйте панель для более сложного форматирования." |
|
45 | 45 | |
|
46 | 46 | #: forms.py:39 |
|
47 | 47 | msgid "music images i_dont_like_tags" |
|
48 | 48 | msgstr "музыка картинки теги_не_нужны" |
|
49 | 49 | |
|
50 | 50 | #: forms.py:41 |
|
51 | 51 | msgid "Title" |
|
52 | 52 | msgstr "Заголовок" |
|
53 | 53 | |
|
54 | 54 | #: forms.py:42 |
|
55 | 55 | msgid "Text" |
|
56 | 56 | msgstr "Текст" |
|
57 | 57 | |
|
58 | 58 | #: forms.py:43 |
|
59 | 59 | msgid "Tag" |
|
60 | 60 | msgstr "Метка" |
|
61 | 61 | |
|
62 | 62 | #: forms.py:44 templates/boards/base.html:40 templates/search/search.html:7 |
|
63 | 63 | msgid "Search" |
|
64 | 64 | msgstr "Поиск" |
|
65 | 65 | |
|
66 | 66 | #: forms.py:46 |
|
67 | 67 | #, python-format |
|
68 | 68 | msgid "Please wait %s seconds before sending message" |
|
69 | 69 | msgstr "Пожалуйста подождите %s секунд перед отправкой сообщения" |
|
70 | 70 | |
|
71 | 71 | #: forms.py:147 |
|
72 | 72 | msgid "Image" |
|
73 | 73 | msgstr "Изображение" |
|
74 | 74 | |
|
75 | 75 | #: forms.py:150 |
|
76 | 76 | msgid "Image URL" |
|
77 | 77 | msgstr "URL изображения" |
|
78 | 78 | |
|
79 | 79 | #: forms.py:156 |
|
80 | 80 | msgid "e-mail" |
|
81 | 81 | msgstr "" |
|
82 | 82 | |
|
83 | 83 | #: forms.py:159 |
|
84 | 84 | msgid "Additional threads" |
|
85 | 85 | msgstr "Дополнительные темы" |
|
86 | 86 | |
|
87 | 87 | #: forms.py:170 |
|
88 | 88 | #, python-format |
|
89 | 89 | msgid "Title must have less than %s characters" |
|
90 | 90 | msgstr "Заголовок должен иметь меньше %s символов" |
|
91 | 91 | |
|
92 | 92 | #: forms.py:180 |
|
93 | 93 | #, python-format |
|
94 | 94 | msgid "Text must have less than %s characters" |
|
95 | 95 | msgstr "Текст должен быть короче %s символов" |
|
96 | 96 | |
|
97 | 97 | #: forms.py:200 |
|
98 | 98 | msgid "Invalid URL" |
|
99 | 99 | msgstr "Неверный URL" |
|
100 | 100 | |
|
101 | 101 | #: forms.py:221 |
|
102 | 102 | msgid "Invalid additional thread list" |
|
103 | 103 | msgstr "Неверный список дополнительных тем" |
|
104 | 104 | |
|
105 | 105 | #: forms.py:253 |
|
106 | 106 | msgid "Either text or image must be entered." |
|
107 | 107 | msgstr "Текст или картинка должны быть введены." |
|
108 | 108 | |
|
109 | 109 | #: forms.py:291 |
|
110 | 110 | #, python-format |
|
111 | 111 | msgid "Image must be less than %s bytes" |
|
112 | 112 | msgstr "Изображение должно быть менее %s байт" |
|
113 | 113 | |
|
114 | 114 | #: forms.py:338 templates/boards/all_threads.html:154 |
|
115 | 115 | #: templates/boards/rss/post.html:10 templates/boards/tags.html:6 |
|
116 | 116 | msgid "Tags" |
|
117 | 117 | msgstr "Метки" |
|
118 | 118 | |
|
119 | 119 | #: forms.py:345 |
|
120 | 120 | msgid "Inappropriate characters in tags." |
|
121 | 121 | msgstr "Недопустимые символы в метках." |
|
122 | 122 | |
|
123 | 123 | #: forms.py:359 |
|
124 | 124 | msgid "Need at least one section." |
|
125 | 125 | msgstr "Нужен хотя бы один раздел." |
|
126 | 126 | |
|
127 | 127 | #: forms.py:371 |
|
128 | 128 | msgid "Theme" |
|
129 | 129 | msgstr "Тема" |
|
130 | 130 | |
|
131 | 131 | #: forms.py:372 |
|
132 | 132 | msgid "Image view mode" |
|
133 | 133 | msgstr "Режим просмотра изображений" |
|
134 | 134 | |
|
135 | 135 | #: forms.py:373 |
|
136 | 136 | msgid "User name" |
|
137 | 137 | msgstr "Имя пользователя" |
|
138 | 138 | |
|
139 | 139 | #: forms.py:374 |
|
140 | 140 | msgid "Time zone" |
|
141 | 141 | msgstr "Часовой пояс" |
|
142 | 142 | |
|
143 | 143 | #: forms.py:380 |
|
144 | 144 | msgid "Inappropriate characters." |
|
145 | 145 | msgstr "Недопустимые символы." |
|
146 | 146 | |
|
147 | 147 | #: templates/boards/404.html:6 |
|
148 | 148 | msgid "Not found" |
|
149 | 149 | msgstr "Не найдено" |
|
150 | 150 | |
|
151 | 151 | #: templates/boards/404.html:12 |
|
152 | 152 | msgid "This page does not exist" |
|
153 | 153 | msgstr "Этой страницы не существует" |
|
154 | 154 | |
|
155 | 155 | #: templates/boards/all_threads.html:35 |
|
156 | 156 | msgid "Related message" |
|
157 | 157 | msgstr "Связанное сообщение" |
|
158 | 158 | |
|
159 | 159 | #: templates/boards/all_threads.html:71 |
|
160 | 160 | msgid "Edit tag" |
|
161 | 161 | msgstr "Изменить метку" |
|
162 | 162 | |
|
163 | 163 | #: templates/boards/all_threads.html:79 |
|
164 | 164 | #, python-format |
|
165 | #| msgid "" | |
|
166 | #| "This tag has %(active_thread_count)s/%(thread_count)s threads and " | |
|
167 | #| "%(post_count)s posts." | |
|
165 | 168 | msgid "" |
|
166 |
"This tag has %( |
|
|
169 | "This tag has %(thread_count)s threads (%(active_thread_count)s active) and " | |
|
167 | 170 | "%(post_count)s posts." |
|
168 | 171 | msgstr "" |
|
169 |
"С этой меткой есть %( |
|
|
172 | "С этой меткой есть %(thread_count)s тем (%(active_thread_count)s активных) и " | |
|
170 | 173 | "%(post_count)s сообщений." |
|
171 | 174 | |
|
172 | 175 | #: templates/boards/all_threads.html:81 |
|
173 | #| msgid "Related message" | |
|
174 | 176 | msgid "Related tags:" |
|
175 | 177 | msgstr "Похожие метки:" |
|
176 | 178 | |
|
177 | 179 | #: templates/boards/all_threads.html:96 templates/boards/feed.html:30 |
|
178 | 180 | #: templates/boards/notifications.html:17 templates/search/search.html:26 |
|
179 | 181 | msgid "Previous page" |
|
180 | 182 | msgstr "Предыдущая страница" |
|
181 | 183 | |
|
182 | 184 | #: templates/boards/all_threads.html:110 |
|
183 | 185 | #, python-format |
|
184 | 186 | msgid "Skipped %(count)s replies. Open thread to see all replies." |
|
185 | 187 | msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы." |
|
186 | 188 | |
|
187 | 189 | #: templates/boards/all_threads.html:128 templates/boards/feed.html:40 |
|
188 | 190 | #: templates/boards/notifications.html:27 templates/search/search.html:37 |
|
189 | 191 | msgid "Next page" |
|
190 | 192 | msgstr "Следующая страница" |
|
191 | 193 | |
|
192 | 194 | #: templates/boards/all_threads.html:133 |
|
193 | 195 | msgid "No threads exist. Create the first one!" |
|
194 | 196 | msgstr "Нет тем. Создайте первую!" |
|
195 | 197 | |
|
196 | 198 | #: templates/boards/all_threads.html:139 |
|
197 | 199 | msgid "Create new thread" |
|
198 | 200 | msgstr "Создать новую тему" |
|
199 | 201 | |
|
200 | 202 | #: templates/boards/all_threads.html:144 templates/boards/preview.html:16 |
|
201 | 203 | #: templates/boards/thread_normal.html:38 |
|
202 | 204 | msgid "Post" |
|
203 | 205 | msgstr "Отправить" |
|
204 | 206 | |
|
205 | 207 | #: templates/boards/all_threads.html:149 |
|
206 | 208 | msgid "Tags must be delimited by spaces. Text or image is required." |
|
207 | 209 | msgstr "" |
|
208 | 210 | "Метки должны быть разделены пробелами. Текст или изображение обязательны." |
|
209 | 211 | |
|
210 | 212 | #: templates/boards/all_threads.html:151 templates/boards/preview.html:6 |
|
211 | 213 | #: templates/boards/staticpages/help.html:21 |
|
212 | 214 | #: templates/boards/thread_normal.html:42 |
|
213 | 215 | msgid "Preview" |
|
214 | 216 | msgstr "Предпросмотр" |
|
215 | 217 | |
|
216 | 218 | #: templates/boards/all_threads.html:153 templates/boards/thread_normal.html:45 |
|
217 | 219 | msgid "Text syntax" |
|
218 | 220 | msgstr "Синтаксис текста" |
|
219 | 221 | |
|
220 | 222 | #: templates/boards/all_threads.html:167 templates/boards/feed.html:53 |
|
221 | 223 | msgid "Pages:" |
|
222 | 224 | msgstr "Страницы: " |
|
223 | 225 | |
|
224 | 226 | #: templates/boards/authors.html:6 templates/boards/authors.html.py:12 |
|
225 | 227 | msgid "Authors" |
|
226 | 228 | msgstr "Авторы" |
|
227 | 229 | |
|
228 | 230 | #: templates/boards/authors.html:26 |
|
229 | 231 | msgid "Distributed under the" |
|
230 | 232 | msgstr "Распространяется под" |
|
231 | 233 | |
|
232 | 234 | #: templates/boards/authors.html:28 |
|
233 | 235 | msgid "license" |
|
234 | 236 | msgstr "лицензией" |
|
235 | 237 | |
|
236 | 238 | #: templates/boards/authors.html:30 |
|
237 | 239 | msgid "Repository" |
|
238 | 240 | msgstr "Репозиторий" |
|
239 | 241 | |
|
240 | 242 | #: templates/boards/base.html:14 templates/boards/base.html.py:41 |
|
241 | 243 | msgid "Feed" |
|
242 | 244 | msgstr "Лента" |
|
243 | 245 | |
|
244 | 246 | #: templates/boards/base.html:31 |
|
245 | 247 | msgid "All threads" |
|
246 | 248 | msgstr "Все темы" |
|
247 | 249 | |
|
248 | 250 | #: templates/boards/base.html:37 |
|
249 | 251 | msgid "Add tags" |
|
250 | 252 | msgstr "Добавить метки" |
|
251 | 253 | |
|
252 | 254 | #: templates/boards/base.html:39 |
|
253 | 255 | msgid "Tag management" |
|
254 | 256 | msgstr "Управление метками" |
|
255 | 257 | |
|
256 | 258 | #: templates/boards/base.html:39 |
|
257 | 259 | msgid "tags" |
|
258 | 260 | msgstr "метки" |
|
259 | 261 | |
|
260 | 262 | #: templates/boards/base.html:40 |
|
261 | 263 | msgid "search" |
|
262 | 264 | msgstr "поиск" |
|
263 | 265 | |
|
264 | 266 | #: templates/boards/base.html:41 templates/boards/feed.html:11 |
|
265 | 267 | msgid "feed" |
|
266 | 268 | msgstr "лента" |
|
267 | 269 | |
|
268 | 270 | #: templates/boards/base.html:42 templates/boards/random.html:6 |
|
269 | 271 | msgid "Random images" |
|
270 | 272 | msgstr "Случайные изображения" |
|
271 | 273 | |
|
272 | 274 | #: templates/boards/base.html:42 |
|
273 | 275 | msgid "random" |
|
274 | 276 | msgstr "случайные" |
|
275 | 277 | |
|
276 | 278 | #: templates/boards/base.html:45 templates/boards/base.html.py:46 |
|
277 | 279 | #: templates/boards/notifications.html:8 |
|
278 | 280 | msgid "Notifications" |
|
279 | 281 | msgstr "Уведомления" |
|
280 | 282 | |
|
281 | 283 | #: templates/boards/base.html:53 templates/boards/settings.html:8 |
|
282 | 284 | msgid "Settings" |
|
283 | 285 | msgstr "Настройки" |
|
284 | 286 | |
|
285 | 287 | #: templates/boards/base.html:66 |
|
286 | 288 | msgid "Admin" |
|
287 | 289 | msgstr "Администрирование" |
|
288 | 290 | |
|
289 | 291 | #: templates/boards/base.html:68 |
|
290 | 292 | #, python-format |
|
291 | 293 | msgid "Speed: %(ppd)s posts per day" |
|
292 | 294 | msgstr "Скорость: %(ppd)s сообщений в день" |
|
293 | 295 | |
|
294 | 296 | #: templates/boards/base.html:70 |
|
295 | 297 | msgid "Up" |
|
296 | 298 | msgstr "Вверх" |
|
297 | 299 | |
|
298 | 300 | #: templates/boards/feed.html:45 |
|
299 | 301 | msgid "No posts exist. Create the first one!" |
|
300 | 302 | msgstr "Нет сообщений. Создайте первое!" |
|
301 | 303 | |
|
302 | 304 | #: templates/boards/post.html:25 |
|
303 | 305 | msgid "Open" |
|
304 | 306 | msgstr "Открыть" |
|
305 | 307 | |
|
306 | 308 | #: templates/boards/post.html:27 templates/boards/post.html.py:38 |
|
307 | 309 | msgid "Reply" |
|
308 | 310 | msgstr "Ответить" |
|
309 | 311 | |
|
310 | 312 | #: templates/boards/post.html:33 |
|
311 | 313 | msgid " in " |
|
312 | 314 | msgstr " в " |
|
313 | 315 | |
|
314 | 316 | #: templates/boards/post.html:43 |
|
315 | 317 | msgid "Edit" |
|
316 | 318 | msgstr "Изменить" |
|
317 | 319 | |
|
318 | 320 | #: templates/boards/post.html:45 |
|
319 | 321 | msgid "Edit thread" |
|
320 | 322 | msgstr "Изменить тему" |
|
321 | 323 | |
|
322 | 324 | #: templates/boards/post.html:84 |
|
323 | 325 | msgid "Replies" |
|
324 | 326 | msgstr "Ответы" |
|
325 | 327 | |
|
326 | 328 | #: templates/boards/post.html:97 templates/boards/thread.html:34 |
|
327 | 329 | msgid "messages" |
|
328 | 330 | msgstr "сообщений" |
|
329 | 331 | |
|
330 | 332 | #: templates/boards/post.html:98 templates/boards/thread.html:35 |
|
331 | 333 | msgid "images" |
|
332 | 334 | msgstr "изображений" |
|
333 | 335 | |
|
334 | 336 | #: templates/boards/rss/post.html:5 |
|
335 | 337 | msgid "Post image" |
|
336 | 338 | msgstr "Изображение сообщения" |
|
337 | 339 | |
|
338 | 340 | #: templates/boards/settings.html:16 |
|
339 | 341 | msgid "You are moderator." |
|
340 | 342 | msgstr "Вы модератор." |
|
341 | 343 | |
|
342 | 344 | #: templates/boards/settings.html:20 |
|
343 | 345 | msgid "Hidden tags:" |
|
344 | 346 | msgstr "Скрытые метки:" |
|
345 | 347 | |
|
346 | 348 | #: templates/boards/settings.html:28 |
|
347 | 349 | msgid "No hidden tags." |
|
348 | 350 | msgstr "Нет скрытых меток." |
|
349 | 351 | |
|
350 | 352 | #: templates/boards/settings.html:37 |
|
351 | 353 | msgid "Save" |
|
352 | 354 | msgstr "Сохранить" |
|
353 | 355 | |
|
354 | 356 | #: templates/boards/staticpages/banned.html:6 |
|
355 | 357 | msgid "Banned" |
|
356 | 358 | msgstr "Заблокирован" |
|
357 | 359 | |
|
358 | 360 | #: templates/boards/staticpages/banned.html:11 |
|
359 | 361 | msgid "Your IP address has been banned. Contact the administrator" |
|
360 | 362 | msgstr "Ваш IP адрес был заблокирован. Свяжитесь с администратором" |
|
361 | 363 | |
|
362 | 364 | #: templates/boards/staticpages/help.html:6 |
|
363 | 365 | #: templates/boards/staticpages/help.html:10 |
|
364 | 366 | msgid "Syntax" |
|
365 | 367 | msgstr "Синтаксис" |
|
366 | 368 | |
|
367 | 369 | #: templates/boards/staticpages/help.html:11 |
|
368 | 370 | msgid "Italic text" |
|
369 | 371 | msgstr "Курсивный текст" |
|
370 | 372 | |
|
371 | 373 | #: templates/boards/staticpages/help.html:12 |
|
372 | 374 | msgid "Bold text" |
|
373 | 375 | msgstr "Полужирный текст" |
|
374 | 376 | |
|
375 | 377 | #: templates/boards/staticpages/help.html:13 |
|
376 | 378 | msgid "Spoiler" |
|
377 | 379 | msgstr "Спойлер" |
|
378 | 380 | |
|
379 | 381 | #: templates/boards/staticpages/help.html:14 |
|
380 | 382 | msgid "Link to a post" |
|
381 | 383 | msgstr "Ссылка на сообщение" |
|
382 | 384 | |
|
383 | 385 | #: templates/boards/staticpages/help.html:15 |
|
384 | 386 | msgid "Strikethrough text" |
|
385 | 387 | msgstr "Зачеркнутый текст" |
|
386 | 388 | |
|
387 | 389 | #: templates/boards/staticpages/help.html:16 |
|
388 | 390 | msgid "Comment" |
|
389 | 391 | msgstr "Комментарий" |
|
390 | 392 | |
|
391 | 393 | #: templates/boards/staticpages/help.html:17 |
|
392 | 394 | #: templates/boards/staticpages/help.html:18 |
|
393 | 395 | msgid "Quote" |
|
394 | 396 | msgstr "Цитата" |
|
395 | 397 | |
|
396 | 398 | #: templates/boards/staticpages/help.html:21 |
|
397 | 399 | msgid "You can try pasting the text and previewing the result here:" |
|
398 | 400 | msgstr "Вы можете попробовать вставить текст и проверить результат здесь:" |
|
399 | 401 | |
|
400 | 402 | #: templates/boards/tags.html:17 |
|
401 | 403 | msgid "Sections:" |
|
402 | 404 | msgstr "Разделы:" |
|
403 | 405 | |
|
404 | 406 | #: templates/boards/tags.html:30 |
|
405 | 407 | msgid "Other tags:" |
|
406 | 408 | msgstr "Другие метки:" |
|
407 | 409 | |
|
408 | 410 | #: templates/boards/tags.html:43 |
|
409 | 411 | msgid "All tags..." |
|
410 | 412 | msgstr "Все метки..." |
|
411 | 413 | |
|
412 | 414 | #: templates/boards/thread.html:15 |
|
413 | 415 | msgid "Normal" |
|
414 | 416 | msgstr "Нормальный" |
|
415 | 417 | |
|
416 | 418 | #: templates/boards/thread.html:16 |
|
417 | 419 | msgid "Gallery" |
|
418 | 420 | msgstr "Галерея" |
|
419 | 421 | |
|
420 | 422 | #: templates/boards/thread.html:17 |
|
421 | 423 | msgid "Tree" |
|
422 | 424 | msgstr "Дерево" |
|
423 | 425 | |
|
424 | 426 | #: templates/boards/thread.html:36 |
|
425 | 427 | msgid "Last update: " |
|
426 | 428 | msgstr "Последнее обновление: " |
|
427 | 429 | |
|
428 | 430 | #: templates/boards/thread_gallery.html:36 |
|
429 | 431 | msgid "No images." |
|
430 | 432 | msgstr "Нет изображений." |
|
431 | 433 | |
|
432 | 434 | #: templates/boards/thread_normal.html:17 |
|
433 | 435 | msgid "posts to bumplimit" |
|
434 | 436 | msgstr "сообщений до бамплимита" |
|
435 | 437 | |
|
436 | 438 | #: templates/boards/thread_normal.html:31 |
|
437 | 439 | msgid "Reply to thread" |
|
438 | 440 | msgstr "Ответить в тему" |
|
439 | 441 | |
|
440 | 442 | #: templates/boards/thread_normal.html:46 |
|
441 | 443 | msgid "Close form" |
|
442 | 444 | msgstr "Закрыть форму" |
|
443 | 445 | |
|
444 | 446 | #: templates/search/search.html:17 |
|
445 | 447 | msgid "Ok" |
|
446 | 448 | msgstr "Ок" |
@@ -1,192 +1,192 b'' | |||
|
1 | 1 | {% extends "boards/base.html" %} |
|
2 | 2 | |
|
3 | 3 | {% load i18n %} |
|
4 | 4 | {% load board %} |
|
5 | 5 | {% load static %} |
|
6 | 6 | {% load tz %} |
|
7 | 7 | |
|
8 | 8 | {% block head %} |
|
9 | 9 | <meta name="robots" content="noindex"> |
|
10 | 10 | |
|
11 | 11 | {% if tag %} |
|
12 | 12 | <title>{{ tag.name }} - {{ site_name }}</title> |
|
13 | 13 | {% else %} |
|
14 | 14 | <title>{{ site_name }}</title> |
|
15 | 15 | {% endif %} |
|
16 | 16 | |
|
17 | 17 | {% if prev_page_link %} |
|
18 | 18 | <link rel="prev" href="{{ prev_page_link }}" /> |
|
19 | 19 | {% endif %} |
|
20 | 20 | {% if next_page_link %} |
|
21 | 21 | <link rel="next" href="{{ next_page_link }}" /> |
|
22 | 22 | {% endif %} |
|
23 | 23 | |
|
24 | 24 | {% endblock %} |
|
25 | 25 | |
|
26 | 26 | {% block content %} |
|
27 | 27 | |
|
28 | 28 | {% get_current_language as LANGUAGE_CODE %} |
|
29 | 29 | {% get_current_timezone as TIME_ZONE %} |
|
30 | 30 | |
|
31 | 31 | {% for banner in banners %} |
|
32 | 32 | <div class="post"> |
|
33 | 33 | <div class="title">{{ banner.title }}</div> |
|
34 | 34 | <div>{{ banner.text }}</div> |
|
35 | 35 | <div>{% trans 'Related message' %}: <a href="{{ banner.post.get_absolute_url }}">>>{{ banner.post.id }}</a></div> |
|
36 | 36 | </div> |
|
37 | 37 | {% endfor %} |
|
38 | 38 | |
|
39 | 39 | {% if tag %} |
|
40 | 40 | <div class="tag_info"> |
|
41 | 41 | {% if random_image_post %} |
|
42 | 42 | <div class="tag-image"> |
|
43 | 43 | {% with image=random_image_post.images.first %} |
|
44 | 44 | <a href="{{ random_image_post.get_absolute_url }}"><img |
|
45 | 45 | src="{{ image.image.url_200x150 }}" |
|
46 | 46 | width="{{ image.pre_width }}" |
|
47 | 47 | height="{{ image.pre_height }}"/></a> |
|
48 | 48 | {% endwith %} |
|
49 | 49 | </div> |
|
50 | 50 | {% endif %} |
|
51 | 51 | <div class="tag-text-data"> |
|
52 | 52 | <h2> |
|
53 | 53 | <form action="{% url 'tag' tag.name %}" method="post" class="post-button-form"> |
|
54 | 54 | {% if is_favorite %} |
|
55 | 55 | <button name="method" value="unsubscribe" class="fav">★</button> |
|
56 | 56 | {% else %} |
|
57 | 57 | <button name="method" value="subscribe" class="not_fav">★</button> |
|
58 | 58 | {% endif %} |
|
59 | 59 | </form> |
|
60 | 60 | <form action="{% url 'tag' tag.name %}" method="post" class="post-button-form"> |
|
61 | 61 | {% if is_hidden %} |
|
62 | 62 | <button name="method" value="unhide" class="fav">H</button> |
|
63 | 63 | {% else %} |
|
64 | 64 | <button name="method" value="hide" class="not_fav">H</button> |
|
65 | 65 | {% endif %} |
|
66 | 66 | </form> |
|
67 | 67 | {% autoescape off %} |
|
68 | 68 | {{ tag.get_view }} |
|
69 | 69 | {% endautoescape %} |
|
70 | 70 | {% if moderator %} |
|
71 | 71 | <span class="moderator_info">| <a href="{% url 'admin:boards_tag_change' tag.id %}">{% trans 'Edit tag' %}</a></span> |
|
72 | 72 | {% endif %} |
|
73 | 73 | </h2> |
|
74 | 74 | {% if tag.get_description %} |
|
75 | 75 | {% autoescape off %} |
|
76 | 76 | <p>{{ tag.get_description }}</p> |
|
77 | 77 | {% endautoescape %} |
|
78 | 78 | {% endif %} |
|
79 |
<p>{% blocktrans with active_thread_count=tag.get_active_thread_count thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ |
|
|
79 | <p>{% blocktrans with active_thread_count=tag.get_active_thread_count thread_count=tag.get_thread_count post_count=tag.get_post_count %}This tag has {{ thread_count }} threads ({{ active_thread_count}} active) and {{ post_count }} posts.{% endblocktrans %}</p> | |
|
80 | 80 | {% if related_tags %} |
|
81 | 81 | <p>{% trans 'Related tags:' %} |
|
82 | 82 | {% for rel_tag in related_tags %} |
|
83 | 83 | {% autoescape off %} |
|
84 | 84 | {{ rel_tag.get_view }}{% if not forloop.last %}, {% else %}.{% endif %} |
|
85 | 85 | {% endautoescape %} |
|
86 | 86 | {% endfor %} |
|
87 | 87 | </p> |
|
88 | 88 | {% endif %} |
|
89 | 89 | </div> |
|
90 | 90 | </div> |
|
91 | 91 | {% endif %} |
|
92 | 92 | |
|
93 | 93 | {% if threads %} |
|
94 | 94 | {% if prev_page_link %} |
|
95 | 95 | <div class="page_link"> |
|
96 | 96 | <a href="{{ prev_page_link }}">{% trans "Previous page" %}</a> |
|
97 | 97 | </div> |
|
98 | 98 | {% endif %} |
|
99 | 99 | |
|
100 | 100 | {% for thread in threads %} |
|
101 | 101 | <div class="thread"> |
|
102 | 102 | {% post_view thread.get_opening_post moderator=moderator is_opening=True thread=thread truncated=True need_open_link=True %} |
|
103 | 103 | {% if not thread.archived %} |
|
104 | 104 | {% with last_replies=thread.get_last_replies %} |
|
105 | 105 | {% if last_replies %} |
|
106 | 106 | {% with skipped_replies_count=thread.get_skipped_replies_count %} |
|
107 | 107 | {% if skipped_replies_count %} |
|
108 | 108 | <div class="skipped_replies"> |
|
109 | 109 | <a href="{% url 'thread' thread.get_opening_post_id %}"> |
|
110 | 110 | {% blocktrans with count=skipped_replies_count %}Skipped {{ count }} replies. Open thread to see all replies.{% endblocktrans %} |
|
111 | 111 | </a> |
|
112 | 112 | </div> |
|
113 | 113 | {% endif %} |
|
114 | 114 | {% endwith %} |
|
115 | 115 | <div class="last-replies"> |
|
116 | 116 | {% for post in last_replies %} |
|
117 | 117 | {% post_view post is_opening=False moderator=moderator truncated=True %} |
|
118 | 118 | {% endfor %} |
|
119 | 119 | </div> |
|
120 | 120 | {% endif %} |
|
121 | 121 | {% endwith %} |
|
122 | 122 | {% endif %} |
|
123 | 123 | </div> |
|
124 | 124 | {% endfor %} |
|
125 | 125 | |
|
126 | 126 | {% if next_page_link %} |
|
127 | 127 | <div class="page_link"> |
|
128 | 128 | <a href="{{ next_page_link }}">{% trans "Next page" %}</a> |
|
129 | 129 | </div> |
|
130 | 130 | {% endif %} |
|
131 | 131 | {% else %} |
|
132 | 132 | <div class="post"> |
|
133 | 133 | {% trans 'No threads exist. Create the first one!' %}</div> |
|
134 | 134 | {% endif %} |
|
135 | 135 | |
|
136 | 136 | <div class="post-form-w"> |
|
137 | 137 | <script src="{% static 'js/panel.js' %}"></script> |
|
138 | 138 | <div class="post-form"> |
|
139 | 139 | <div class="form-title">{% trans "Create new thread" %}</div> |
|
140 | 140 | <div class="swappable-form-full"> |
|
141 | 141 | <form enctype="multipart/form-data" method="post" id="form">{% csrf_token %} |
|
142 | 142 | {{ form.as_div }} |
|
143 | 143 | <div class="form-submit"> |
|
144 | 144 | <input type="submit" value="{% trans "Post" %}"/> |
|
145 | 145 | </div> |
|
146 | 146 | </form> |
|
147 | 147 | </div> |
|
148 | 148 | <div> |
|
149 | 149 | {% trans 'Tags must be delimited by spaces. Text or image is required.' %} |
|
150 | 150 | </div> |
|
151 | 151 | <div><button id="preview-button">{% trans 'Preview' %}</button></div> |
|
152 | 152 | <div id="preview-text"></div> |
|
153 | 153 | <div><a href="{% url "staticpage" name="help" %}">{% trans 'Text syntax' %}</a></div> |
|
154 | 154 | <div><a href="{% url "tags" "required" %}">{% trans 'Tags' %}</a></div> |
|
155 | 155 | </div> |
|
156 | 156 | </div> |
|
157 | 157 | |
|
158 | 158 | <script src="{% static 'js/form.js' %}"></script> |
|
159 | 159 | <script src="{% static 'js/thread_create.js' %}"></script> |
|
160 | 160 | |
|
161 | 161 | {% endblock %} |
|
162 | 162 | |
|
163 | 163 | {% block metapanel %} |
|
164 | 164 | |
|
165 | 165 | <span class="metapanel"> |
|
166 | 166 | <b><a href="{% url "authors" %}">{{ site_name }}</a> {{ version }}</b> |
|
167 | 167 | {% trans "Pages:" %} |
|
168 | 168 | [ |
|
169 | 169 | {% with dividers=paginator.get_dividers %} |
|
170 | 170 | {% for page in paginator.get_divided_range %} |
|
171 | 171 | {% if page in dividers %} |
|
172 | 172 | …, |
|
173 | 173 | {% endif %} |
|
174 | 174 | <a |
|
175 | 175 | {% ifequal page current_page.number %} |
|
176 | 176 | class="current_page" |
|
177 | 177 | {% endifequal %} |
|
178 | 178 | href=" |
|
179 | 179 | {% if tag %} |
|
180 | 180 | {% url "tag" tag_name=tag.name %}?page={{ page }} |
|
181 | 181 | {% else %} |
|
182 | 182 | {% url "index" %}?page={{ page }} |
|
183 | 183 | {% endif %} |
|
184 | 184 | ">{{ page }}</a> |
|
185 | 185 | {% if not forloop.last %},{% endif %} |
|
186 | 186 | {% endfor %} |
|
187 | 187 | {% endwith %} |
|
188 | 188 | ] |
|
189 | 189 | [<a href="rss/">RSS</a>] |
|
190 | 190 | </span> |
|
191 | 191 | |
|
192 | 192 | {% endblock %} |
@@ -1,103 +1,103 b'' | |||
|
1 | 1 | {% load i18n %} |
|
2 | 2 | {% load board %} |
|
3 | 3 | |
|
4 | 4 | {% get_current_language as LANGUAGE_CODE %} |
|
5 | 5 | |
|
6 | 6 | <div class="{{ css_class }}" id="{{ post.id }}" data-uid="{{ post.uid }}"> |
|
7 | 7 | <div class="post-info"> |
|
8 |
<a class="post_id" href="{{ post.get_absolute_url }}"> |
|
|
8 | <a class="post_id" href="{{ post.get_absolute_url }}">#{{ post.get_absolute_id }}</a> | |
|
9 | 9 | <span class="title">{{ post.title }}</span> |
|
10 | 10 | <span class="pub_time"><time datetime="{{ post.pub_time|date:'c' }}">{{ post.pub_time }}</time></span> |
|
11 | 11 | {% comment %} |
|
12 | 12 | Thread death time needs to be shown only if the thread is alredy archived |
|
13 | 13 | and this is an opening post (thread death time) or a post for popup |
|
14 | 14 | (we don't see OP here so we show the death time in the post itself). |
|
15 | 15 | {% endcomment %} |
|
16 | 16 | {% if thread.archived %} |
|
17 | 17 | {% if is_opening %} |
|
18 | 18 | — <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> |
|
19 | 19 | {% endif %} |
|
20 | 20 | {% endif %} |
|
21 | 21 | {% if is_opening %} |
|
22 | 22 | {% if need_open_link %} |
|
23 | 23 | {% if thread.archived %} |
|
24 | 24 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> |
|
25 | 25 | {% else %} |
|
26 | 26 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> |
|
27 | 27 | {% endif %} |
|
28 | 28 | {% endif %} |
|
29 | 29 | {% else %} |
|
30 | 30 | {% if need_op_data %} |
|
31 | 31 | {% with thread.get_opening_post as op %} |
|
32 | 32 | {% trans " in " %}<a href="{{ op.get_absolute_url }}">>>{{ op.id }}</a> <span class="title">{{ op.get_title|striptags|truncatewords:5 }}</span> |
|
33 | 33 | {% endwith %} |
|
34 | 34 | {% endif %} |
|
35 | 35 | {% endif %} |
|
36 | 36 | {% if reply_link and not thread.archived %} |
|
37 | 37 | <a href="#form" onclick="addQuickReply('{{ post.id }}'); return false;">{% trans 'Reply' %}</a> |
|
38 | 38 | {% endif %} |
|
39 | 39 | |
|
40 | 40 | {% if moderator %} |
|
41 | 41 | <span class="moderator_info"> |
|
42 | 42 | | <a href="{% url 'admin:boards_post_change' post.id %}">{% trans 'Edit' %}</a> |
|
43 | 43 | {% if is_opening %} |
|
44 | 44 | | <a href="{% url 'admin:boards_thread_change' thread.id %}">{% trans 'Edit thread' %}</a> |
|
45 | 45 | {% endif %} |
|
46 | 46 | </span> |
|
47 | 47 | {% endif %} |
|
48 | 48 | </div> |
|
49 | 49 | {% comment %} |
|
50 | 50 | Post images. Currently only 1 image can be posted and shown, but post model |
|
51 | 51 | supports multiple. |
|
52 | 52 | {% endcomment %} |
|
53 | 53 | {% if post.images.exists %} |
|
54 | 54 | {% with post.images.all.0 as image %} |
|
55 | 55 | {% autoescape off %} |
|
56 | 56 | {{ image.get_view }} |
|
57 | 57 | {% endautoescape %} |
|
58 | 58 | {% endwith %} |
|
59 | 59 | {% endif %} |
|
60 | 60 | {% comment %} |
|
61 | 61 | Post message (text) |
|
62 | 62 | {% endcomment %} |
|
63 | 63 | <div class="message"> |
|
64 | 64 | {% autoescape off %} |
|
65 | 65 | {% if truncated %} |
|
66 | 66 | {{ post.get_text|truncatewords_html:50 }} |
|
67 | 67 | {% else %} |
|
68 | 68 | {{ post.get_text }} |
|
69 | 69 | {% endif %} |
|
70 | 70 | {% endautoescape %} |
|
71 | 71 | {% if post.is_referenced %} |
|
72 | 72 | {% if mode_tree %} |
|
73 | 73 | <div class="tree_reply"> |
|
74 | 74 | {% for refpost in post.get_referenced_posts %} |
|
75 | 75 | {% post_view refpost mode_tree=True %} |
|
76 | 76 | {% endfor %} |
|
77 | 77 | </div> |
|
78 | 78 | {% else %} |
|
79 | 79 | <div class="refmap"> |
|
80 | 80 | {% autoescape off %} |
|
81 | 81 | {% trans "Replies" %}: {{ post.refmap }} |
|
82 | 82 | {% endautoescape %} |
|
83 | 83 | </div> |
|
84 | 84 | {% endif %} |
|
85 | 85 | {% endif %} |
|
86 | 86 | </div> |
|
87 | 87 | {% comment %} |
|
88 | 88 | Thread metadata: counters, tags etc |
|
89 | 89 | {% endcomment %} |
|
90 | 90 | {% if is_opening %} |
|
91 | 91 | <div class="metadata"> |
|
92 | 92 | {% if is_opening and need_open_link %} |
|
93 | 93 | {{ thread.get_reply_count }} {% trans 'messages' %}, |
|
94 | 94 | {{ thread.get_images_count }} {% trans 'images' %}. |
|
95 | 95 | {% endif %} |
|
96 | 96 | <span class="tags"> |
|
97 | 97 | {% autoescape off %} |
|
98 | 98 | {{ thread.get_tag_url_list }} |
|
99 | 99 | {% endautoescape %} |
|
100 | 100 | </span> |
|
101 | 101 | </div> |
|
102 | 102 | {% endif %} |
|
103 | 103 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now