Show More
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -7,7 +7,7 b' msgid ""' | |||||
7 | msgstr "" |
|
7 | msgstr "" | |
8 | "Project-Id-Version: PACKAGE VERSION\n" |
|
8 | "Project-Id-Version: PACKAGE VERSION\n" | |
9 | "Report-Msgid-Bugs-To: \n" |
|
9 | "Report-Msgid-Bugs-To: \n" | |
10 |
"POT-Creation-Date: 2015-05-14 1 |
|
10 | "POT-Creation-Date: 2015-05-14 13:12+0300\n" | |
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
|
11 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | |
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
|
12 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | |
13 | "Language-Team: LANGUAGE <LL@li.org>\n" |
|
13 | "Language-Team: LANGUAGE <LL@li.org>\n" | |
@@ -266,35 +266,38 b' msgid "feed"' | |||||
266 | msgstr "" |
|
266 | msgstr "" | |
267 |
|
267 | |||
268 | #: templates/boards/feed.html:45 |
|
268 | #: templates/boards/feed.html:45 | |
269 | #| msgid "No threads exist. Create the first one!" |
|
|||
270 | msgid "No posts exist. Create the first one!" |
|
269 | msgid "No posts exist. Create the first one!" | |
271 | msgstr "Нет сообщений. Создайте первое!" |
|
270 | msgstr "Нет сообщений. Создайте первое!" | |
272 |
|
271 | |||
273 |
#: templates/boards/post.html:2 |
|
272 | #: templates/boards/post.html:25 | |
274 | msgid "Open" |
|
273 | msgid "Open" | |
275 | msgstr "Открыть" |
|
274 | msgstr "Открыть" | |
276 |
|
275 | |||
277 |
#: templates/boards/post.html:2 |
|
276 | #: templates/boards/post.html:27 templates/boards/post.html.py:38 | |
278 | msgid "Reply" |
|
277 | msgid "Reply" | |
279 | msgstr "Ответить" |
|
278 | msgstr "Ответить" | |
280 |
|
279 | |||
281 |
#: templates/boards/post.html:3 |
|
280 | #: templates/boards/post.html:33 | |
|
281 | msgid " in " | |||
|
282 | msgstr " в " | |||
|
283 | ||||
|
284 | #: templates/boards/post.html:43 | |||
282 | msgid "Edit" |
|
285 | msgid "Edit" | |
283 | msgstr "Изменить" |
|
286 | msgstr "Изменить" | |
284 |
|
287 | |||
285 |
#: templates/boards/post.html: |
|
288 | #: templates/boards/post.html:45 | |
286 | msgid "Edit thread" |
|
289 | msgid "Edit thread" | |
287 | msgstr "Изменить тему" |
|
290 | msgstr "Изменить тему" | |
288 |
|
291 | |||
289 |
#: templates/boards/post.html: |
|
292 | #: templates/boards/post.html:77 | |
290 | msgid "Replies" |
|
293 | msgid "Replies" | |
291 | msgstr "Ответы" |
|
294 | msgstr "Ответы" | |
292 |
|
295 | |||
293 |
#: templates/boards/post.html:8 |
|
296 | #: templates/boards/post.html:89 templates/boards/thread.html:26 | |
294 | msgid "messages" |
|
297 | msgid "messages" | |
295 | msgstr "сообщений" |
|
298 | msgstr "сообщений" | |
296 |
|
299 | |||
297 |
#: templates/boards/post.html: |
|
300 | #: templates/boards/post.html:90 templates/boards/thread.html:27 | |
298 | msgid "images" |
|
301 | msgid "images" | |
299 | msgstr "изображений" |
|
302 | msgstr "изображений" | |
300 |
|
303 |
@@ -49,6 +49,7 b" PARAMETER_POST = 'post'" | |||||
49 | PARAMETER_OP_ID = 'opening_post_id' |
|
49 | PARAMETER_OP_ID = 'opening_post_id' | |
50 | PARAMETER_NEED_OPEN_LINK = 'need_open_link' |
|
50 | PARAMETER_NEED_OPEN_LINK = 'need_open_link' | |
51 | PARAMETER_REPLY_LINK = 'reply_link' |
|
51 | PARAMETER_REPLY_LINK = 'reply_link' | |
|
52 | PARAMETER_NEED_OP_DATA = 'need_op_data' | |||
52 |
|
53 | |||
53 | REFMAP_STR = '<a href="{}">>>{}</a>' |
|
54 | REFMAP_STR = '<a href="{}">>>{}</a>' | |
54 |
|
55 | |||
@@ -259,6 +260,7 b' class Post(models.Model, Viewable):' | |||||
259 | PARAMETER_TRUNCATED: truncated, |
|
260 | PARAMETER_TRUNCATED: truncated, | |
260 | PARAMETER_OP_ID: opening_post_id, |
|
261 | PARAMETER_OP_ID: opening_post_id, | |
261 | PARAMETER_REPLY_LINK: reply_link, |
|
262 | PARAMETER_REPLY_LINK: reply_link, | |
|
263 | PARAMETER_NEED_OP_DATA: kwargs.get(PARAMETER_NEED_OP_DATA) | |||
262 | }) |
|
264 | }) | |
263 |
|
265 | |||
264 | def get_search_view(self, *args, **kwargs): |
|
266 | def get_search_view(self, *args, **kwargs): |
@@ -32,7 +32,7 b'' | |||||
32 | {% endif %} |
|
32 | {% endif %} | |
33 |
|
33 | |||
34 | {% for post in posts %} |
|
34 | {% for post in posts %} | |
35 | {% post_view post moderator=moderator truncated=True %} |
|
35 | {% post_view post moderator=moderator truncated=True need_op_data=True %} | |
36 | {% endfor %} |
|
36 | {% endfor %} | |
37 |
|
37 | |||
38 | {% if next_page_link %} |
|
38 | {% if next_page_link %} |
@@ -18,11 +18,19 b'' | |||||
18 | — <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> |
|
18 | — <time datetime="{{ thread.bump_time|date:'c' }}">{{ thread.bump_time }}</time> | |
19 | {% endif %} |
|
19 | {% endif %} | |
20 | {% endif %} |
|
20 | {% endif %} | |
21 |
{% if is_opening |
|
21 | {% if is_opening %} | |
22 |
{% if |
|
22 | {% if need_open_link %} | |
23 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> |
|
23 | {% if thread.archived %} | |
24 | {% else %} |
|
24 | <a class="link" href="{% url 'thread' post.id %}">{% trans "Open" %}</a> | |
25 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> |
|
25 | {% else %} | |
|
26 | <a class="link" href="{% url 'thread' post.id %}#form">{% trans "Reply" %}</a> | |||
|
27 | {% endif %} | |||
|
28 | {% endif %} | |||
|
29 | {% else %} | |||
|
30 | {% if need_op_data %} | |||
|
31 | {% with thread.get_opening_post as op %} | |||
|
32 | {% trans " in " %}<a href="{{ op.get_absolute_url }}">>>{{ op.id }}</a> | |||
|
33 | {% endwith %} | |||
26 | {% endif %} |
|
34 | {% endif %} | |
27 | {% endif %} |
|
35 | {% endif %} | |
28 | {% if reply_link and not thread.archived %} |
|
36 | {% if reply_link and not thread.archived %} |
General Comments 0
You need to be logged in to leave comments.
Login now