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