##// END OF EJS Templates
Added error 404 page
neko259 -
r130:2cca92a8 default
parent child Browse files
Show More
1 NO CONTENT: new file 100644, binary diff hidden
1 NO CONTENT: modified file, binary diff hidden
@@ -7,7 +7,7 b' msgid ""'
7 7 msgstr ""
8 8 "Project-Id-Version: PACKAGE VERSION\n"
9 9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2013-08-27 23:51+0300\n"
10 "POT-Creation-Date: 2013-08-30 18:54+0300\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"
@@ -18,6 +18,14 b' msgstr ""'
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 #: templates/boards/404.html:6
22 msgid "Not found"
23 msgstr "Не найдено"
24
25 #: templates/boards/404.html:12
26 msgid "This page does not exist"
27 msgstr "Этой страницы не существует"
28
21 29 #: templates/boards/authors.html:6
22 30 msgid "Authors"
23 31 msgstr "Авторы"
@@ -36,25 +44,25 b' msgstr "\xd0\xa0\xd0\xb5\xd0\xbf\xd0\xbe\xd0\xb7\xd0\xb8\xd1\x82\xd0\xbe\xd1\x80\xd0\xb8\xd0\xb9"'
36 44
37 45 #: templates/boards/banned.html:6
38 46 msgid "Banned"
39 msgstr ""
47 msgstr "Заблокирован"
40 48
41 49 #: templates/boards/banned.html:11
42 50 msgid "Your IP address has been banned. Contact the administrator"
43 msgstr ""
51 msgstr "Ваш IP адрес был заблокирован. Свяжитесь с администратором"
44 52
45 53 #: templates/boards/base.html:12
46 54 msgid "Feed"
47 55 msgstr "Лента"
48 56
49 #: templates/boards/base.html:35
57 #: templates/boards/base.html:36
50 58 msgid "All threads"
51 59 msgstr "Все темы"
52 60
53 #: templates/boards/base.html:41
61 #: templates/boards/base.html:42
54 62 msgid "Settings"
55 63 msgstr "Настройки"
56 64
57 #: templates/boards/base.html:49
65 #: templates/boards/base.html:50
58 66 msgid "Up"
59 67 msgstr "Вверх"
60 68
@@ -63,59 +71,59 b' msgid "Tag: "'
63 71 msgstr "Тег: "
64 72
65 73 #: templates/boards/posting_general.html:35
66 #: templates/boards/posting_general.html:79 templates/boards/thread.html:27
74 #: templates/boards/posting_general.html:81 templates/boards/thread.html:27
67 75 #: templates/boards/rss/post.html:5
68 76 msgid "Post image"
69 77 msgstr "Изображение сообщения"
70 78
71 #: templates/boards/posting_general.html:46
79 #: templates/boards/posting_general.html:48
72 80 msgid "Reply"
73 81 msgstr "Ответ"
74 82
75 #: templates/boards/posting_general.html:53 templates/boards/thread.html:111
83 #: templates/boards/posting_general.html:55 templates/boards/thread.html:108
76 84 msgid "replies"
77 85 msgstr "ответов"
78 86
79 #: templates/boards/posting_general.html:54 templates/boards/thread.html:112
87 #: templates/boards/posting_general.html:56 templates/boards/thread.html:109
80 88 msgid "images"
81 89 msgstr "изображений"
82 90
83 #: templates/boards/posting_general.html:56
84 #: templates/boards/posting_general.html:127 templates/boards/thread.html:51
91 #: templates/boards/posting_general.html:58
92 #: templates/boards/posting_general.html:131 templates/boards/thread.html:48
85 93 #: templates/boards/rss/post.html:10
86 94 msgid "Tags"
87 95 msgstr "Теги"
88 96
89 #: templates/boards/posting_general.html:109
97 #: templates/boards/posting_general.html:113
90 98 msgid "Create new thread"
91 99 msgstr "Создать новую тему"
92 100
93 #: templates/boards/posting_general.html:112 templates/boards/thread.html:73
101 #: templates/boards/posting_general.html:116 templates/boards/thread.html:70
94 102 msgid "Title"
95 103 msgstr "Заголовок"
96 104
97 #: templates/boards/posting_general.html:117 templates/boards/thread.html:78
105 #: templates/boards/posting_general.html:121 templates/boards/thread.html:75
98 106 msgid "Text"
99 107 msgstr "Текст"
100 108
101 #: templates/boards/posting_general.html:122 templates/boards/thread.html:83
109 #: templates/boards/posting_general.html:126 templates/boards/thread.html:80
102 110 msgid "Image"
103 111 msgstr "Изображение"
104 112
105 #: templates/boards/posting_general.html:137 templates/boards/thread.html:94
113 #: templates/boards/posting_general.html:141 templates/boards/thread.html:91
106 114 msgid "Post"
107 115 msgstr "Отправить"
108 116
109 #: templates/boards/posting_general.html:139
117 #: templates/boards/posting_general.html:143
110 118 msgid "Tags must be delimited by spaces. Text or image is required."
111 119 msgstr ""
112 120 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
113 121
114 #: templates/boards/posting_general.html:142 templates/boards/thread.html:96
122 #: templates/boards/posting_general.html:146 templates/boards/thread.html:93
115 123 msgid "Basic markdown syntax."
116 124 msgstr "Базовый синтаксис markdown."
117 125
118 #: templates/boards/posting_general.html:152
126 #: templates/boards/posting_general.html:156
119 127 msgid "Pages:"
120 128 msgstr "Страницы: "
121 129
@@ -131,38 +139,37 b' msgstr "\xd0\xa1\xd0\xbe\xd1\x85\xd1\x80\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c"'
131 139 msgid "tags"
132 140 msgstr "тегов"
133 141
134 #: templates/boards/thread.html:39
135 msgid "Get!"
136 msgstr "Гет!"
137
138 #: templates/boards/thread.html:70
142 #: templates/boards/thread.html:67
139 143 msgid "Reply to thread"
140 144 msgstr "Ответить в тему"
141 145
142 #: templates/boards/thread.html:97
146 #: templates/boards/thread.html:94
143 147 msgid "Example: "
144 148 msgstr "Пример: "
145 149
146 #: templates/boards/thread.html:97
150 #: templates/boards/thread.html:94
147 151 msgid "italic"
148 152 msgstr "курсив"
149 153
150 #: templates/boards/thread.html:98
154 #: templates/boards/thread.html:95
151 155 msgid "bold"
152 156 msgstr "полужирный"
153 157
154 #: templates/boards/thread.html:99
158 #: templates/boards/thread.html:96
155 159 msgid "Quotes can be inserted with"
156 160 msgstr "Цитаты могут быть вставлены при помощи"
157 161
158 #: templates/boards/thread.html:100
162 #: templates/boards/thread.html:97
159 163 msgid "Links to answers can be inserted with"
160 164 msgstr "Ссылки на ответы могут быть вставлены с помощью"
161 165
162 #: templates/boards/thread.html:113
166 #: templates/boards/thread.html:110
163 167 msgid "Last update: "
164 168 msgstr "Последнее обновление: "
165 169
170 #~ msgid "Get!"
171 #~ msgstr "Гет!"
172
166 173 #~ msgid "View"
167 174 #~ msgstr "Просмотр"
168 175
@@ -3,28 +3,12 b''
3 3 {% load i18n %}
4 4
5 5 {% block head %}
6 <title>{% trans "Authors" %}</title>
6 <title>{% trans "Not found" %}</title>
7 7 {% endblock %}
8 8
9 9 {% block content %}
10 10 <div class="post">
11 <h2>Authors</h2>
12 {% for nick, values in authors.items %}
13 <p>
14 <b>{{ nick }}</b> ({{ values.name }}):
15 {% for value in values.contacts %}
16 <a href="mailto:{{ value }}">{{ value }}</a>
17 {% endfor %} -
18 {% for role in values.roles %}
19 {% trans role %}
20 {% endfor %}
21 </p>
22 {% endfor %}
23 <br />
24 <p>{% trans "Distributed under the" %}
25 <a href="http://www.gnu.org/licenses/gpl.html" >GNU GPLv3</a>
26 {% trans "license" %}</p>
27 <p><a href="https://bitbucket.org/neko259/neboard">
28 {% trans "Repository" %}</a></p>
11 <p><img src="{{ STATIC_URL }}images/404.png" width="200" /></p>
12 <p>{% trans 'This page does not exist' %}</p>
29 13 </div>
30 14 {% endblock %} No newline at end of file
@@ -231,6 +231,11 b' def you_are_banned(request):'
231 231 return render(request, 'boards/banned.html', context)
232 232
233 233
234 def page_404(request):
235 context = _init_default_context(request)
236 return render(request, 'boards/404.html', context)
237
238
234 239 def _get_theme(request):
235 240 """Get user's CSS theme"""
236 241
@@ -20,4 +20,4 b" urlpatterns = patterns('',"
20 20 url(r'^', include('boards.urls')),
21 21 ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
22 22
23
23 handler404 = 'boards.views.page_404'
General Comments 0
You need to be logged in to leave comments. Login now