posts from categories with groups not indexed (may be it will be slow :] ), ticket #20
This commit is contained in:
parent
57be7133f6
commit
5aedfc044c
3 changed files with 94 additions and 85 deletions
|
@ -12,4 +12,7 @@ class PostIndexer(djapian.Indexer):
|
|||
('created', 'created' ),
|
||||
]
|
||||
|
||||
trigger = ( lambda post: not post.topic.forum.category.groups.count() )
|
||||
|
||||
|
||||
post_indexer = djapian.add_index(Post, PostIndexer)
|
||||
|
|
Binary file not shown.
|
@ -6,13 +6,13 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: DjangoBB dev\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2009-04-28 17:31+0300\n"
|
||||
"PO-Revision-Date: 2009-04-28 18:00+0300\n"
|
||||
"POT-Creation-Date: 2009-06-18 13:52+0300\n"
|
||||
"PO-Revision-Date: 2009-06-18 14:00+0300\n"
|
||||
"Last-Translator: slav0nic <slav0nic0@gmail.com>\n"
|
||||
"Language-Team: Russian <slav0nic0@gmail.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: feeds.py:21 feeds.py:22 templates/forum/base.html:18
|
||||
msgid "Latest posts on forum"
|
||||
|
@ -53,18 +53,18 @@ msgstr "Кол-во сообщений"
|
|||
msgid "Post time"
|
||||
msgstr "Время сообщения"
|
||||
|
||||
#: forms.py:26 models.py:343
|
||||
#: forms.py:26 models.py:313
|
||||
msgid "Author"
|
||||
msgstr "Автор"
|
||||
|
||||
#: forms.py:27 forms.py:48 forms.py:214 forms.py:311 models.py:124
|
||||
#: models.py:347 templates/forum/add_post.html:26
|
||||
#: forms.py:27 forms.py:48 forms.py:214 forms.py:311 models.py:116
|
||||
#: models.py:317 templates/forum/add_post.html:26
|
||||
#: templates/forum/edit_post.html:23 templates/forum/pm/inbox.html:15
|
||||
#: templates/forum/pm/outbox.html:16
|
||||
msgid "Subject"
|
||||
msgstr "Заголовок"
|
||||
|
||||
#: forms.py:28 forms.py:270 models.py:98 models.py:123
|
||||
#: forms.py:28 forms.py:270 models.py:100 models.py:115
|
||||
#: templates/forum/index.html:17 templates/forum/search_topics.html:22
|
||||
msgid "Forum"
|
||||
msgstr "Форум"
|
||||
|
@ -77,11 +77,11 @@ msgstr "Возрастанию"
|
|||
msgid "Descending"
|
||||
msgstr "Убыванию"
|
||||
|
||||
#: forms.py:37 models.py:137 templates/forum/index.html:18
|
||||
#: forms.py:37 models.py:130 templates/forum/index.html:18
|
||||
msgid "Topics"
|
||||
msgstr "Темы"
|
||||
|
||||
#: forms.py:38 models.py:191 templates/forum/index.html:19
|
||||
#: forms.py:38 models.py:181 templates/forum/index.html:19
|
||||
#: templates/forum/users.html:51
|
||||
msgid "Posts"
|
||||
msgstr "Сообщения"
|
||||
|
@ -144,12 +144,12 @@ msgstr "Показать результат как"
|
|||
msgid "User with login %s does not exist"
|
||||
msgstr "Пользователь с логином %s не существует"
|
||||
|
||||
#: forms.py:313 models.py:182 models.py:348 templates/forum/add_post.html:28
|
||||
#: forms.py:313 models.py:172 models.py:318 templates/forum/add_post.html:28
|
||||
#: templates/forum/edit_post.html:26
|
||||
msgid "Message"
|
||||
msgstr "Сообщение"
|
||||
|
||||
#: forms.py:338 models.py:342
|
||||
#: forms.py:338 models.py:312
|
||||
msgid "Recipient"
|
||||
msgstr "Получатель"
|
||||
|
||||
|
@ -165,7 +165,7 @@ msgstr "Скрыть ваш e-mail адрес, но разрешить слат
|
|||
msgid "Hide your e-mail address and disallow form e-mail."
|
||||
msgstr "Скрыть ваш e-mail адрес и запретить слать вам сообщения через форум."
|
||||
|
||||
#: models.py:53 models.py:89 models.py:412
|
||||
#: models.py:53 models.py:89 models.py:382
|
||||
msgid "Name"
|
||||
msgstr "Имя"
|
||||
|
||||
|
@ -197,254 +197,258 @@ msgstr "Описание"
|
|||
msgid "Moderators"
|
||||
msgstr "Модераторы"
|
||||
|
||||
#: models.py:93 models.py:126 models.py:180
|
||||
#: models.py:93 models.py:118 models.py:170
|
||||
msgid "Updated"
|
||||
msgstr "Дата обновления"
|
||||
|
||||
#: models.py:94 models.py:132 models.py:277
|
||||
#: models.py:94 models.py:124 models.py:252
|
||||
msgid "Post count"
|
||||
msgstr "Количество сообщений"
|
||||
|
||||
#: models.py:99
|
||||
#: models.py:95
|
||||
msgid "Topic count"
|
||||
msgstr "Количество тем"
|
||||
|
||||
#: models.py:101
|
||||
msgid "Forums"
|
||||
msgstr "Форумы"
|
||||
|
||||
#: models.py:125 models.py:179 models.py:331 models.py:345
|
||||
#: models.py:117 models.py:169 models.py:301 models.py:315
|
||||
msgid "Created"
|
||||
msgstr "Дата создания"
|
||||
|
||||
#: models.py:127 models.py:178 models.py:258 models.py:308
|
||||
#: models.py:119 models.py:168 models.py:233 models.py:278
|
||||
msgid "User"
|
||||
msgstr "Пользователь"
|
||||
|
||||
#: models.py:128
|
||||
#: models.py:120
|
||||
msgid "Views count"
|
||||
msgstr "Количество просмотров"
|
||||
|
||||
#: models.py:129
|
||||
#: models.py:121
|
||||
msgid "Sticky"
|
||||
msgstr "Выделено"
|
||||
|
||||
#: models.py:130
|
||||
#: models.py:122
|
||||
msgid "Closed"
|
||||
msgstr "Закрыто"
|
||||
|
||||
#: models.py:131
|
||||
#: models.py:123
|
||||
msgid "Subscribers"
|
||||
msgstr "Подписчики"
|
||||
|
||||
#: models.py:136 models.py:177 models.py:245 models.py:309
|
||||
#: templates/forum/forum.html:26 templates/forum/moderate.html:24
|
||||
#: models.py:129 models.py:167 models.py:220 models.py:279
|
||||
#: templates/forum/forum.html:25 templates/forum/moderate.html:24
|
||||
#: templates/forum/search_topics.html:21
|
||||
msgid "Topic"
|
||||
msgstr "Тема"
|
||||
|
||||
#: models.py:181 models.py:346
|
||||
#: models.py:171 models.py:316
|
||||
msgid "Markup"
|
||||
msgstr "Разметка"
|
||||
|
||||
#: models.py:183 models.py:349
|
||||
#: models.py:173 models.py:319
|
||||
msgid "HTML version"
|
||||
msgstr "HTML версия"
|
||||
|
||||
#: models.py:184 models.py:350
|
||||
#: models.py:174 models.py:320
|
||||
msgid "Text version"
|
||||
msgstr "Текстовая версия"
|
||||
|
||||
#: models.py:185
|
||||
#: models.py:175
|
||||
msgid "User IP"
|
||||
msgstr "IP автора"
|
||||
|
||||
#: models.py:190 models.py:328 models.py:408
|
||||
#: models.py:180 models.py:298 models.py:378
|
||||
msgid "Post"
|
||||
msgstr "Сообщение"
|
||||
|
||||
#: models.py:243
|
||||
#: models.py:218
|
||||
msgid "From"
|
||||
msgstr "От"
|
||||
|
||||
#: models.py:244
|
||||
#: models.py:219
|
||||
msgid "To"
|
||||
msgstr "К"
|
||||
|
||||
#: models.py:246 models.py:310
|
||||
#: models.py:221 models.py:280
|
||||
msgid "Time"
|
||||
msgstr "Время"
|
||||
|
||||
#: models.py:247
|
||||
#: models.py:222
|
||||
#, fuzzy
|
||||
msgid "Sign"
|
||||
msgstr "Регистрация"
|
||||
|
||||
#: models.py:248 models.py:332 models.py:392 templates/forum/report.html:16
|
||||
#: models.py:223 models.py:302 models.py:362 templates/forum/report.html:16
|
||||
#: templates/forum/reputation.html:24
|
||||
msgid "Reason"
|
||||
msgstr "Причина"
|
||||
|
||||
#: models.py:251 templates/forum/topic.html:57
|
||||
#: models.py:226 templates/forum/topic.html:57
|
||||
#: templates/forum/pm/message.html:36
|
||||
msgid "Reputation"
|
||||
msgstr "Репутация"
|
||||
|
||||
#: models.py:252
|
||||
#: models.py:227
|
||||
msgid "Reputations"
|
||||
msgstr "Репутация"
|
||||
|
||||
#: models.py:260
|
||||
#: models.py:235
|
||||
msgid "Status"
|
||||
msgstr "Статус"
|
||||
|
||||
#: models.py:261
|
||||
#: models.py:236
|
||||
msgid "Site"
|
||||
msgstr "Вебсайт"
|
||||
|
||||
#: models.py:262
|
||||
#: models.py:237
|
||||
msgid "Jabber"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:263
|
||||
#: models.py:238
|
||||
msgid "ICQ"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:264
|
||||
#: models.py:239
|
||||
msgid "MSN"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:265
|
||||
#: models.py:240
|
||||
msgid "AIM"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:266
|
||||
#: models.py:241
|
||||
msgid "Yahoo"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:267 templates/forum/user.html:26
|
||||
#: models.py:242 templates/forum/user.html:26
|
||||
msgid "Location"
|
||||
msgstr "Местонахождение"
|
||||
|
||||
#: models.py:268
|
||||
#: models.py:243
|
||||
msgid "Signature"
|
||||
msgstr "Подпись"
|
||||
|
||||
#: models.py:269
|
||||
#: models.py:244
|
||||
msgid "Time zone"
|
||||
msgstr "Временная зона"
|
||||
|
||||
#: models.py:270
|
||||
#: models.py:245
|
||||
msgid "Language"
|
||||
msgstr "Язык"
|
||||
|
||||
#: models.py:271
|
||||
#: models.py:246
|
||||
msgid "Avatar"
|
||||
msgstr "Аватар"
|
||||
|
||||
#: models.py:272
|
||||
#: models.py:247
|
||||
msgid "Theme"
|
||||
msgstr "Тема"
|
||||
|
||||
#: models.py:273
|
||||
#: models.py:248
|
||||
msgid "Show avatar"
|
||||
msgstr "Показывать аватар"
|
||||
|
||||
#: models.py:274
|
||||
#: models.py:249
|
||||
msgid "Show signatures"
|
||||
msgstr "Показывать подписи"
|
||||
|
||||
#: models.py:275
|
||||
#: models.py:250
|
||||
msgid "Privacy permission"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:276
|
||||
#: models.py:251
|
||||
msgid "Default markup"
|
||||
msgstr "Разметка по умолчанию"
|
||||
|
||||
#: models.py:280 templates/forum/header.html:23 templates/forum/topic.html:60
|
||||
#: models.py:255 templates/forum/header.html:23 templates/forum/topic.html:60
|
||||
#: templates/forum/user.html:7 templates/forum/pm/message.html:38
|
||||
msgid "Profile"
|
||||
msgstr "Профиль"
|
||||
|
||||
#: models.py:281
|
||||
#: models.py:256
|
||||
msgid "Profiles"
|
||||
msgstr "Профили"
|
||||
|
||||
#: models.py:314 models.py:344
|
||||
#: models.py:284 models.py:314
|
||||
msgid "Read"
|
||||
msgstr "Просмотр"
|
||||
|
||||
#: models.py:315
|
||||
#: models.py:285
|
||||
msgid "Reads"
|
||||
msgstr "Просмотры"
|
||||
|
||||
#: models.py:327
|
||||
#: models.py:297
|
||||
msgid "Reported by"
|
||||
msgstr "Жалоба от"
|
||||
|
||||
#: models.py:329
|
||||
#: models.py:299
|
||||
msgid "Zapped"
|
||||
msgstr "Рассмотрена"
|
||||
|
||||
#: models.py:330
|
||||
#: models.py:300
|
||||
msgid "Zapped by"
|
||||
msgstr "Рассмотрел"
|
||||
|
||||
#: models.py:335 templates/forum/topic.html:112
|
||||
#: models.py:305 templates/forum/topic.html:112
|
||||
msgid "Report"
|
||||
msgstr "Пожаловаться"
|
||||
|
||||
#: models.py:336
|
||||
#: models.py:306
|
||||
msgid "Reports"
|
||||
msgstr "Жалобы"
|
||||
|
||||
#: models.py:354
|
||||
#: models.py:324
|
||||
msgid "Private message"
|
||||
msgstr "Приватное сообщение"
|
||||
|
||||
#: models.py:355
|
||||
#: models.py:325
|
||||
msgid "Private messages"
|
||||
msgstr "Приватные сообщения"
|
||||
|
||||
#: models.py:389
|
||||
#: models.py:359
|
||||
#, fuzzy
|
||||
msgid "Banned user"
|
||||
msgstr "Забанен"
|
||||
|
||||
#: models.py:390
|
||||
#: models.py:360
|
||||
#, fuzzy
|
||||
msgid "Ban start"
|
||||
msgstr "Забанен"
|
||||
|
||||
#: models.py:391
|
||||
#: models.py:361
|
||||
msgid "Ban end"
|
||||
msgstr "Забанен до"
|
||||
|
||||
#: models.py:395
|
||||
#: models.py:365
|
||||
msgid "Ban"
|
||||
msgstr "Бан"
|
||||
|
||||
#: models.py:396
|
||||
#: models.py:366
|
||||
#, fuzzy
|
||||
msgid "Bans"
|
||||
msgstr "Забанен"
|
||||
|
||||
#: models.py:409
|
||||
#: models.py:379
|
||||
msgid "Size"
|
||||
msgstr "Размер"
|
||||
|
||||
#: models.py:410
|
||||
#: models.py:380
|
||||
msgid "Content type"
|
||||
msgstr ""
|
||||
|
||||
#: models.py:411
|
||||
#: models.py:381
|
||||
msgid "Path"
|
||||
msgstr "Путь"
|
||||
|
||||
#: models.py:413
|
||||
#: models.py:383
|
||||
msgid "Hash"
|
||||
msgstr "Хэш"
|
||||
|
||||
#: templates/forum/add_post.html:9 templates/forum/add_post.html.py:11
|
||||
#: templates/forum/delete_posts.html:9 templates/forum/edit_post.html:8
|
||||
#: templates/forum/forum.html:10 templates/forum/forum.html.py:68
|
||||
#: templates/forum/forum.html:10 templates/forum/forum.html.py:64
|
||||
#: templates/forum/moderate.html:9 templates/forum/topic.html:12
|
||||
#: templates/forum/topic.html.py:134 templates/forum/lofi/forum.html:8
|
||||
#: templates/forum/lofi/index.html:6 templates/forum/lofi/index.html.py:8
|
||||
|
@ -453,7 +457,7 @@ msgid "Root"
|
|||
msgstr "Начало"
|
||||
|
||||
#: templates/forum/add_post.html:18 templates/forum/forum.html:9
|
||||
#: templates/forum/forum.html.py:67
|
||||
#: templates/forum/forum.html.py:63
|
||||
msgid "New topic"
|
||||
msgstr "Создать новую тему"
|
||||
|
||||
|
@ -525,22 +529,22 @@ msgstr "Отредактировать пост и отправить измен
|
|||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: templates/forum/forum.html:27 templates/forum/moderate.html:25
|
||||
#: templates/forum/forum.html:26 templates/forum/moderate.html:25
|
||||
#: templates/forum/search_topics.html:23
|
||||
msgid "Replies"
|
||||
msgstr "Ответов"
|
||||
|
||||
#: templates/forum/forum.html:28 templates/forum/moderate.html:26
|
||||
#: templates/forum/forum.html:27 templates/forum/moderate.html:26
|
||||
msgid "Views"
|
||||
msgstr "Просмотров"
|
||||
|
||||
#: templates/forum/forum.html:30 templates/forum/index.html:20
|
||||
#: templates/forum/forum.html:28 templates/forum/index.html:20
|
||||
#: templates/forum/moderate.html:27 templates/forum/search_topics.html:24
|
||||
msgid "Last post"
|
||||
msgstr "Последнее сообщение"
|
||||
|
||||
#: templates/forum/forum.html:42 templates/forum/forum.html.py:44
|
||||
#: templates/forum/forum.html:52 templates/forum/forum_row.html:33
|
||||
#: templates/forum/forum.html:40 templates/forum/forum.html.py:42
|
||||
#: templates/forum/forum.html:49 templates/forum/forum_row.html:36
|
||||
#: templates/forum/moderate.html:40 templates/forum/moderate.html.py:42
|
||||
#: templates/forum/moderate.html:49 templates/forum/moderate.html.py:61
|
||||
#: templates/forum/moderate.html:63 templates/forum/moderate.html.py:71
|
||||
|
@ -549,19 +553,19 @@ msgstr "Последнее сообщение"
|
|||
msgid "by"
|
||||
msgstr "оставил"
|
||||
|
||||
#: templates/forum/forum.html:56
|
||||
#: templates/forum/forum.html:53
|
||||
msgid "Forum is empty."
|
||||
msgstr "Форум пуст."
|
||||
|
||||
#: templates/forum/forum.html:90
|
||||
#: templates/forum/forum.html:82
|
||||
msgid "Jump to"
|
||||
msgstr "Перейти"
|
||||
|
||||
#: templates/forum/forum.html:101 templates/forum/topic.html:208
|
||||
#: templates/forum/forum.html:93 templates/forum/topic.html:208
|
||||
msgid "Go"
|
||||
msgstr "Перейти"
|
||||
|
||||
#: templates/forum/forum.html:106
|
||||
#: templates/forum/forum.html:97
|
||||
msgid "Moderate forum"
|
||||
msgstr "Модерировать форум"
|
||||
|
||||
|
@ -1167,7 +1171,10 @@ msgid ""
|
|||
"Choose what forums this user should be allowed to moderate. Note: This only "
|
||||
"applies to moderators. Administrators always have full permissions in all "
|
||||
"forums."
|
||||
msgstr "Выбери форумы в которых данный пользователь будет модератором. Примечание: это касается только модераторов. Администраторы имеют полные права доступа во всех форумах."
|
||||
msgstr ""
|
||||
"Выбери форумы в которых данный пользователь будет модератором. Примечание: "
|
||||
"это касается только модераторов. Администраторы имеют полные права доступа "
|
||||
"во всех форумах."
|
||||
|
||||
#: templates/forum/profile/profile_admin.html:30
|
||||
#, fuzzy
|
||||
|
@ -1307,4 +1314,3 @@ msgstr ""
|
|||
"Выберете, каким образом вы хотите, чтобы ваш e-mail адрес отображался на "
|
||||
"форуме, и хотите ли вы, чтобы другие пользователи имели возможность слать "
|
||||
"вам e-mail сообщения через форум или нет."
|
||||
|
||||
|
|
Reference in a new issue