##// END OF EJS Templates
Small fixes to the archive. 'open' link in the archived threads list
neko259 -
r489:a244e8de 1.6-dev
parent child Browse files
Show More
1 NO CONTENT: modified file, binary diff hidden
@@ -1,383 +1,388 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: 2014-01-06 21:37+0200\n"
10 "POT-Creation-Date: 2014-01-06 23:43+0200\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 #: authors.py:5
22 22 msgid "author"
23 23 msgstr "автор"
24 24
25 25 #: authors.py:6
26 26 msgid "developer"
27 27 msgstr "разработчик"
28 28
29 29 #: authors.py:7
30 30 msgid "javascript developer"
31 31 msgstr "разработчик javascript"
32 32
33 33 #: authors.py:8
34 34 msgid "designer"
35 35 msgstr "дизайнер"
36 36
37 37 #: forms.py:72
38 38 msgid "Title"
39 39 msgstr "Заголовок"
40 40
41 41 #: forms.py:74
42 42 msgid "Text"
43 43 msgstr "Текст"
44 44
45 45 #: forms.py:75
46 46 msgid "Image"
47 47 msgstr "Изображение"
48 48
49 49 #: forms.py:78
50 50 msgid "e-mail"
51 51 msgstr ""
52 52
53 53 #: forms.py:89
54 54 #, python-format
55 55 msgid "Title must have less than %s characters"
56 56 msgstr "Заголовок должен иметь меньше %s символов"
57 57
58 58 #: forms.py:98
59 59 #, python-format
60 60 msgid "Text must have less than %s characters"
61 61 msgstr "Текст должен быть короче %s символов"
62 62
63 63 #: forms.py:109
64 64 #, python-format
65 65 msgid "Image must be less than %s bytes"
66 66 msgstr "Изображение должно быть менее %s байт"
67 67
68 68 #: forms.py:136
69 69 msgid "Either text or image must be entered."
70 70 msgstr "Текст или картинка должны быть введены."
71 71
72 72 #: forms.py:149
73 73 #, python-format
74 74 msgid "Wait %s seconds after last posting"
75 75 msgstr "Подождите %s секунд после последнего постинга"
76 76
77 77 #: forms.py:163 templates/boards/tags.html:6 templates/boards/rss/post.html:10
78 78 msgid "Tags"
79 79 msgstr "Теги"
80 80
81 81 #: forms.py:171
82 82 msgid "Inappropriate characters in tags."
83 83 msgstr "Недопустимые символы в тегах."
84 84
85 85 #: forms.py:199 forms.py:220
86 86 msgid "Captcha validation failed"
87 87 msgstr "Проверка капчи провалена"
88 88
89 89 #: forms.py:226
90 90 msgid "Theme"
91 91 msgstr "Тема"
92 92
93 93 #: forms.py:231
94 94 msgid "Enable moderation panel"
95 95 msgstr "Включить панель модерации"
96 96
97 97 #: forms.py:246
98 98 msgid "No such user found"
99 99 msgstr "Данный пользователь не найден"
100 100
101 101 #: forms.py:260
102 102 #, python-format
103 103 msgid "Wait %s minutes after last login"
104 104 msgstr "Подождите %s минут после последнего входа"
105 105
106 106 #: templates/boards/404.html:6
107 107 msgid "Not found"
108 108 msgstr "Не найдено"
109 109
110 110 #: templates/boards/404.html:12
111 111 msgid "This page does not exist"
112 112 msgstr "Этой страницы не существует"
113 113
114 114 #: templates/boards/archive.html:45 templates/boards/posting_general.html:64
115 115 msgid "Previous page"
116 116 msgstr "Предыдущая страница"
117 117
118 #: templates/boards/archive.html:77 templates/boards/post.html:37
118 #: templates/boards/archive.html:75
119 msgid "Open"
120 msgstr "Открыть"
121
122 #: templates/boards/archive.html:81 templates/boards/post.html:37
119 123 #: templates/boards/posting_general.html:103 templates/boards/thread.html:69
120 124 msgid "Delete"
121 125 msgstr "Удалить"
122 126
123 #: templates/boards/archive.html:81 templates/boards/post.html:40
127 #: templates/boards/archive.html:85 templates/boards/post.html:40
124 128 #: templates/boards/posting_general.html:107 templates/boards/thread.html:72
125 129 msgid "Ban IP"
126 130 msgstr "Заблокировать IP"
127 131
128 #: templates/boards/archive.html:90 templates/boards/post.html:53
132 #: templates/boards/archive.html:94 templates/boards/post.html:53
129 133 #: templates/boards/posting_general.html:116
130 134 #: templates/boards/posting_general.html:180 templates/boards/thread.html:81
131 135 msgid "Replies"
132 136 msgstr "Ответы"
133 137
134 #: templates/boards/archive.html:99 templates/boards/posting_general.html:125
138 #: templates/boards/archive.html:103 templates/boards/posting_general.html:125
135 139 #: templates/boards/thread.html:138 templates/boards/thread_gallery.html:58
136 140 msgid "images"
137 141 msgstr "изображений"
138 142
139 #: templates/boards/archive.html:124 templates/boards/posting_general.html:203
143 #: templates/boards/archive.html:104 templates/boards/thread.html:137
144 #: templates/boards/thread_gallery.html:57
145 msgid "replies"
146 msgstr "ответов"
147
148 #: templates/boards/archive.html:129 templates/boards/posting_general.html:203
140 149 msgid "Next page"
141 150 msgstr "Следующая страница"
142 151
143 #: templates/boards/archive.html:129 templates/boards/posting_general.html:208
152 #: templates/boards/archive.html:134 templates/boards/posting_general.html:208
144 153 msgid "No threads exist. Create the first one!"
145 154 msgstr "Нет тем. Создайте первую!"
146 155
147 #: templates/boards/archive.html:138 templates/boards/posting_general.html:235
156 #: templates/boards/archive.html:143 templates/boards/posting_general.html:235
148 157 msgid "Pages:"
149 158 msgstr "Страницы: "
150 159
151 160 #: templates/boards/authors.html:6 templates/boards/authors.html.py:12
152 161 msgid "Authors"
153 162 msgstr "Авторы"
154 163
155 164 #: templates/boards/authors.html:25
156 165 msgid "Distributed under the"
157 166 msgstr "Распространяется под"
158 167
159 168 #: templates/boards/authors.html:27
160 169 msgid "license"
161 170 msgstr "лицензией"
162 171
163 172 #: templates/boards/authors.html:29
164 173 msgid "Repository"
165 174 msgstr "Репозиторий"
166 175
167 176 #: templates/boards/base.html:14
168 177 msgid "Feed"
169 178 msgstr "Лента"
170 179
171 180 #: templates/boards/base.html:31
172 181 msgid "All threads"
173 182 msgstr "Все темы"
174 183
175 184 #: templates/boards/base.html:36
176 185 msgid "Tag management"
177 186 msgstr "Управление тегами"
178 187
179 188 #: templates/boards/base.html:38
180 189 msgid "Settings"
181 190 msgstr "Настройки"
182 191
183 192 #: templates/boards/base.html:50 templates/boards/login.html:6
184 193 #: templates/boards/login.html.py:21
185 194 msgid "Login"
186 195 msgstr "Вход"
187 196
188 197 #: templates/boards/base.html:51
189 198 msgid "Archive"
190 199 msgstr "Архив"
191 200
192 201 #: templates/boards/base.html:53
193 202 #, python-format
194 203 msgid "Speed: %(ppd)s posts per day"
195 204 msgstr "Скорость: %(ppd)s сообщений в день"
196 205
197 206 #: templates/boards/base.html:55
198 207 msgid "Up"
199 208 msgstr "Вверх"
200 209
201 210 #: templates/boards/login.html:15
202 211 msgid "User ID"
203 212 msgstr "ID пользователя"
204 213
205 214 #: templates/boards/login.html:24
206 215 msgid "Insert your user id above"
207 216 msgstr "Вставьте свой ID пользователя выше"
208 217
209 218 #: templates/boards/posting_general.html:97
210 219 msgid "Reply"
211 220 msgstr "Ответ"
212 221
213 222 #: templates/boards/posting_general.html:142
214 223 #, python-format
215 224 msgid "Skipped %(count)s replies. Open thread to see all replies."
216 225 msgstr "Пропущено %(count)s ответов. Откройте тред, чтобы увидеть все ответы."
217 226
218 227 #: templates/boards/posting_general.html:214
219 228 msgid "Create new thread"
220 229 msgstr "Создать новую тему"
221 230
222 231 #: templates/boards/posting_general.html:218 templates/boards/thread.html:115
223 232 msgid "Post"
224 233 msgstr "Отправить"
225 234
226 235 #: templates/boards/posting_general.html:222
227 236 msgid "Tags must be delimited by spaces. Text or image is required."
228 237 msgstr ""
229 238 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
230 239
231 240 #: templates/boards/posting_general.html:225 templates/boards/thread.html:119
232 241 msgid "Text syntax"
233 242 msgstr "Синтаксис текста"
234 243
235 244 #: templates/boards/settings.html:14
236 245 msgid "User:"
237 246 msgstr "Пользователь:"
238 247
239 248 #: templates/boards/settings.html:16
240 249 msgid "You are moderator."
241 250 msgstr "Вы модератор."
242 251
243 252 #: templates/boards/settings.html:19
244 253 msgid "Posts:"
245 254 msgstr "Сообщений:"
246 255
247 256 #: templates/boards/settings.html:20
248 257 msgid "First access:"
249 258 msgstr "Первый доступ:"
250 259
251 260 #: templates/boards/settings.html:22
252 261 msgid "Last access:"
253 262 msgstr "Последний доступ: "
254 263
255 264 #: templates/boards/settings.html:31
256 265 msgid "Save"
257 266 msgstr "Сохранить"
258 267
259 268 #: templates/boards/tags.html:24
260 269 msgid "threads"
261 270 msgstr "тем"
262 271
263 272 #: templates/boards/tags.html:37
264 273 msgid "No tags found."
265 274 msgstr "Теги не найдены."
266 275
267 276 #: templates/boards/thread.html:19 templates/boards/thread_gallery.html:20
268 277 msgid "Normal mode"
269 278 msgstr "Нормальный режим"
270 279
271 280 #: templates/boards/thread.html:20 templates/boards/thread_gallery.html:21
272 281 msgid "Gallery mode"
273 282 msgstr "Режим галереи"
274 283
275 284 #: templates/boards/thread.html:28
276 285 msgid "posts to bumplimit"
277 286 msgstr "сообщений до бамплимита"
278 287
279 288 #: templates/boards/thread.html:109
280 289 msgid "Reply to thread"
281 290 msgstr "Ответить в тему"
282 291
283 #: templates/boards/thread.html:137 templates/boards/thread_gallery.html:57
284 msgid "replies"
285 msgstr "ответов"
286
287 292 #: templates/boards/thread.html:139 templates/boards/thread_gallery.html:59
288 293 msgid "Last update: "
289 294 msgstr "Последнее обновление: "
290 295
291 296 #: templates/boards/rss/post.html:5
292 297 msgid "Post image"
293 298 msgstr "Изображение сообщения"
294 299
295 300 #: templates/boards/staticpages/banned.html:6
296 301 msgid "Banned"
297 302 msgstr "Заблокирован"
298 303
299 304 #: templates/boards/staticpages/banned.html:11
300 305 msgid "Your IP address has been banned. Contact the administrator"
301 306 msgstr "Ваш IP адрес был заблокирован. Свяжитесь с администратором"
302 307
303 308 #: templates/boards/staticpages/help.html:6
304 309 #: templates/boards/staticpages/help.html:10
305 310 msgid "Syntax"
306 311 msgstr "Синтаксис"
307 312
308 313 #: templates/boards/staticpages/help.html:11
309 314 msgid "2 line breaks for a new line."
310 315 msgstr "2 перевода строки создают новый абзац."
311 316
312 317 #: templates/boards/staticpages/help.html:12
313 318 msgid "Italic text"
314 319 msgstr "Курсивный текст"
315 320
316 321 #: templates/boards/staticpages/help.html:13
317 322 msgid "Bold text"
318 323 msgstr "Полужирный текст"
319 324
320 325 #: templates/boards/staticpages/help.html:14
321 326 msgid "Spoiler"
322 327 msgstr "Спойлер"
323 328
324 329 #: templates/boards/staticpages/help.html:15
325 330 msgid "Comment"
326 331 msgstr "Комментарий"
327 332
328 333 #: templates/boards/staticpages/help.html:16
329 334 msgid "Quote"
330 335 msgstr "Цитата"
331 336
332 337 #: templates/boards/staticpages/help.html:17
333 338 msgid "Link to a post"
334 339 msgstr "Ссылка на сообщение"
335 340
336 341 #: templates/boards/staticpages/help.html:18
337 342 msgid "Strikethrough text"
338 343 msgstr "Зачеркнутый текст"
339 344
340 345 #~ msgid "Formatting"
341 346 #~ msgstr "Форматирование"
342 347
343 348 #~ msgid "quote"
344 349 #~ msgstr "цитата"
345 350
346 351 #~ msgid "italic"
347 352 #~ msgstr "курсив"
348 353
349 354 #~ msgid "bold"
350 355 #~ msgstr "полужирный"
351 356
352 357 #~ msgid "spoiler"
353 358 #~ msgstr "спойлер"
354 359
355 360 #~ msgid "comment"
356 361 #~ msgstr "комментарий"
357 362
358 363 #~ msgid "Tag: "
359 364 #~ msgstr "Тег: "
360 365
361 366 #~ msgid "Remove"
362 367 #~ msgstr "Удалить"
363 368
364 369 #~ msgid "Add"
365 370 #~ msgstr "Добавить"
366 371
367 372 #~ msgid "Basic markdown syntax."
368 373 #~ msgstr "Базовый синтаксис markdown."
369 374
370 375 #~ msgid "Example: "
371 376 #~ msgstr "Пример: "
372 377
373 378 #~ msgid "tags"
374 379 #~ msgstr "тегов"
375 380
376 381 #~ msgid "Get!"
377 382 #~ msgstr "Гет!"
378 383
379 384 #~ msgid "View"
380 385 #~ msgstr "Просмотр"
381 386
382 387 #~ msgid "gets"
383 388 #~ msgstr "гетов"
@@ -1,153 +1,145 b''
1 1 {% extends "boards/base.html" %}
2 2
3 3 {% load i18n %}
4 4 {% load cache %}
5 5 {% load board %}
6 6 {% load static %}
7 7
8 8 {% block head %}
9 9 <title>Neboard</title>
10 10
11 11 {% if prev_page %}
12 12 <link rel="next" href="
13 13 {% if tag %}
14 14 {% url "tag" tag_name=tag page=prev_page %}
15 15 {% else %}
16 16 {% url "index" page=prev_page %}
17 17 {% endif %}
18 18 " />
19 19 {% endif %}
20 20 {% if next_page %}
21 21 <link rel="next" href="
22 22 {% if tag %}
23 23 {% url "tag" tag_name=tag page=next_page %}
24 24 {% else %}
25 25 {% url "index" page=next_page %}
26 26 {% endif %}
27 27 " />
28 28 {% endif %}
29 29
30 30 {% endblock %}
31 31
32 32 {% block content %}
33 33
34 34 {% get_current_language as LANGUAGE_CODE %}
35 35
36 36 {% if threads %}
37 37 {% if prev_page %}
38 38 <div class="page_link">
39 <a href="
40 {% if tag %}
41 {% url "tag" tag_name=tag page=prev_page %}
42 {% else %}
43 {% url "index" page=prev_page %}
44 {% endif %}
45 ">{% trans "Previous page" %}</a>
39 <a href="{% url "archive" page=prev_page %}">{% trans "Previous page" %}</a>
46 40 </div>
47 41 {% endif %}
48 42
49 43 {% for thread in threads %}
50 44 {% cache 600 thread_short thread.id thread.thread.last_edit_time moderator LANGUAGE_CODE %}
51 45 <div class="thread">
52 46 <div class="post archive_post" id="{{ thread.op.id }}">
53 47 {% if thread.op.image %}
54 48 <div class="image">
55 49 <a class="thumb"
56 50 href="{{ thread.op.image.url }}"><img
57 51 src="{{ thread.op.image.url_200x150 }}"
58 52 alt="{{ thread.op.id }}"
59 53 width="{{ thread.op.image_pre_width }}"
60 54 height="{{ thread.op.image_pre_height }}"
61 55 data-width="{{ thread.op.image_width }}"
62 56 data-height="{{ thread.op.image_height }}"/>
63 57 </a>
64 58 </div>
65 59 {% endif %}
66 60 <div class="message">
67 61 <div class="post-info">
68 62 <span class="title">{{ thread.op.title }}</span>
69 63 <a class="post_id" href="{% url 'thread' thread.op.id %}"
70 64 > ({{ thread.op.id }})</a>
71 65 [{{ thread.op.pub_time }}] — [{{ thread.thread.bump_time }}]
72 66
67 [<a class="link" href="
68 {% url 'thread' thread.op.id %}">{% trans "Open" %}</a>]
69
73 70 {% if moderator %}
74 71 <span class="moderator_info">
75 72 [<a href="
76 73 {% url 'delete' post_id=thread.op.id %}?next={{ request.path }}"
77 74 >{% trans 'Delete' %}</a>]
78 75 ({{ thread.op.poster_ip }})
79 76 [<a href="
80 77 {% url 'ban' post_id=thread.op.id %}?next={{ request.path }}"
81 78 >{% trans 'Ban IP' %}</a>]
82 79 </span>
83 80 {% endif %}
84 81 </div>
85 82 {% autoescape off %}
86 83 {{ thread.op.text.rendered|truncatewords_html:50 }}
87 84 {% endautoescape %}
88 85 {% if thread.op.is_referenced %}
89 86 <div class="refmap">
90 87 {% trans "Replies" %}:
91 88 {% for ref_post in thread.op.get_sorted_referenced_posts %}
92 89 <a href="{% post_url ref_post.id %}">&gt;&gt;{{ ref_post.id }}</a
93 90 >{% if not forloop.last %},{% endif %}
94 91 {% endfor %}
95 92 </div>
96 93 {% endif %}
97 94 </div>
98 95 <div class="metadata">
99 {{ thread.thread.get_images_count }} {% trans 'images' %}.
96 {{ thread.thread.get_images_count }} {% trans 'images' %},
97 {{ thread.thread.get_reply_count }} {% trans 'replies' %}.
100 98 {% if thread.thread.tags %}
101 99 <span class="tags">
102 100 {% for tag in thread.thread.get_tags %}
103 101 <a class="tag" href="
104 102 {% url 'tag' tag_name=tag.name %}">
105 103 #{{ tag.name }}</a
106 104 >{% if not forloop.last %},{% endif %}
107 105 {% endfor %}
108 106 </span>
109 107 {% endif %}
110 108 </div>
111 109 </div>
112 110 </div>
113 111 {% endcache %}
114 112 {% endfor %}
115 113
116 114 {% if next_page %}
117 115 <div class="page_link">
118 <a href="
119 {% if tag %}
120 {% url "tag" tag_name=tag page=next_page %}
121 {% else %}
122 {% url "index" page=next_page %}
123 {% endif %}
124 ">{% trans "Next page" %}</a>
116 <a href="{% url "archive" page=next_page %}">{% trans "Next page" %}</a>
125 117 </div>
126 118 {% endif %}
127 119 {% else %}
128 120 <div class="post">
129 121 {% trans 'No threads exist. Create the first one!' %}</div>
130 122 {% endif %}
131 123
132 124 {% endblock %}
133 125
134 126 {% block metapanel %}
135 127
136 128 <span class="metapanel">
137 129 <b><a href="{% url "authors" %}">Neboard</a> 1.5 Aker</b>
138 130 {% trans "Pages:" %}[
139 131 {% for page in pages %}
140 132 <a
141 133 {% ifequal page current_page %}
142 134 class="current_page"
143 135 {% endifequal %}
144 136 href="
145 137 {% url "archive" page=page %}
146 138 ">{{ page }}</a>
147 139 {% if not forloop.last %},{% endif %}
148 140 {% endfor %}
149 141 ]
150 142 [<a href="rss/">RSS</a>]
151 143 </span>
152 144
153 145 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now