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