##// END OF EJS Templates
Fixed style of 'no threads' text in the main page. Added translation for this string.
neko259 -
r143:d303170c 1.1
parent child Browse files
Show More
@@ -67,7 +67,6 b' class PostForm(forms.Form):'
67 67 self._errors['image'] = self.error_class([error_message])
68 68
69 69
70
71 70 class ThreadForm(PostForm):
72 71 regex_tags = re.compile(ur'^[\w\s\d]+$', re.UNICODE)
73 72 tags = forms.CharField(max_length=100)
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-30 18:54+0300\n"
10 "POT-Creation-Date: 2013-09-06 21:15+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"
@@ -54,15 +54,15 b' msgstr "\xd0\x92\xd0\xb0\xd1\x88 IP \xd0\xb0\xd0\xb4\xd1\x80\xd0\xb5\xd1\x81 \xd0\xb1\xd1\x8b\xd0\xbb \xd0\xb7\xd0\xb0\xd0\xb1\xd0\xbb\xd0\xbe\xd0\xba\xd0\xb8\xd1\x80\xd0\xbe\xd0\xb2\xd0\xb0\xd0\xbd. \xd0\xa1\xd0\xb2\xd1\x8f\xd0\xb6\xd0\xb8\xd1\x82\xd0\xb5\xd1\x81\xd1\x8c \xd1\x81 \xd0\xb0\xd0\xb4\xd0\xbc\xd0\xb8\xd0\xbd\xd0\xb8\xd1\x81\xd1\x82\xd1\x80\xd0\xb0\xd1\x82\xd0\xbe\xd1\x80\xd0\xbe\xd0\xbc"'
54 54 msgid "Feed"
55 55 msgstr "Лента"
56 56
57 #: templates/boards/base.html:36
57 #: templates/boards/base.html:29
58 58 msgid "All threads"
59 59 msgstr "Все темы"
60 60
61 #: templates/boards/base.html:42
61 #: templates/boards/base.html:35
62 62 msgid "Settings"
63 63 msgstr "Настройки"
64 64
65 #: templates/boards/base.html:50
65 #: templates/boards/base.html:43
66 66 msgid "Up"
67 67 msgstr "Вверх"
68 68
@@ -71,7 +71,7 b' msgid "Tag: "'
71 71 msgstr "Тег: "
72 72
73 73 #: templates/boards/posting_general.html:35
74 #: templates/boards/posting_general.html:81 templates/boards/thread.html:27
74 #: templates/boards/posting_general.html:89 templates/boards/thread.html:27
75 75 #: templates/boards/rss/post.html:5
76 76 msgid "Post image"
77 77 msgstr "Изображение сообщения"
@@ -80,54 +80,58 b' msgstr "\xd0\x98\xd0\xb7\xd0\xbe\xd0\xb1\xd1\x80\xd0\xb0\xd0\xb6\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5 \xd1\x81\xd0\xbe\xd0\xbe\xd0\xb1\xd1\x89\xd0\xb5\xd0\xbd\xd0\xb8\xd1\x8f"'
80 80 msgid "Reply"
81 81 msgstr "Ответ"
82 82
83 #: templates/boards/posting_general.html:52 templates/boards/thread.html:49
83 #: templates/boards/posting_general.html:54 templates/boards/thread.html:46
84 84 msgid "Delete"
85 85 msgstr "Удалить"
86 86
87 #: templates/boards/posting_general.html:55 templates/boards/thread.html:108
87 #: templates/boards/posting_general.html:63 templates/boards/thread.html:113
88 88 msgid "replies"
89 89 msgstr "ответов"
90 90
91 #: templates/boards/posting_general.html:56 templates/boards/thread.html:109
91 #: templates/boards/posting_general.html:64 templates/boards/thread.html:114
92 92 msgid "images"
93 93 msgstr "изображений"
94 94
95 #: templates/boards/posting_general.html:58
96 #: templates/boards/posting_general.html:131 templates/boards/thread.html:48
95 #: templates/boards/posting_general.html:66
96 #: templates/boards/posting_general.html:139 templates/boards/thread.html:56
97 97 #: templates/boards/rss/post.html:10
98 98 msgid "Tags"
99 99 msgstr "Теги"
100 100
101 #: templates/boards/posting_general.html:113
101 #: templates/boards/posting_general.html:115
102 msgid "No threads exist. Create the first one!"
103 msgstr "Нет тем. Создайте первую!"
104
105 #: templates/boards/posting_general.html:121
102 106 msgid "Create new thread"
103 107 msgstr "Создать новую тему"
104 108
105 #: templates/boards/posting_general.html:116 templates/boards/thread.html:70
109 #: templates/boards/posting_general.html:124 templates/boards/thread.html:75
106 110 msgid "Title"
107 111 msgstr "Заголовок"
108 112
109 #: templates/boards/posting_general.html:121 templates/boards/thread.html:75
113 #: templates/boards/posting_general.html:129 templates/boards/thread.html:80
110 114 msgid "Text"
111 115 msgstr "Текст"
112 116
113 #: templates/boards/posting_general.html:126 templates/boards/thread.html:80
117 #: templates/boards/posting_general.html:134 templates/boards/thread.html:85
114 118 msgid "Image"
115 119 msgstr "Изображение"
116 120
117 #: templates/boards/posting_general.html:141 templates/boards/thread.html:91
121 #: templates/boards/posting_general.html:149 templates/boards/thread.html:96
118 122 msgid "Post"
119 123 msgstr "Отправить"
120 124
121 #: templates/boards/posting_general.html:143
125 #: templates/boards/posting_general.html:151
122 126 msgid "Tags must be delimited by spaces. Text or image is required."
123 127 msgstr ""
124 128 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
125 129
126 #: templates/boards/posting_general.html:146 templates/boards/thread.html:93
130 #: templates/boards/posting_general.html:154 templates/boards/thread.html:98
127 131 msgid "Basic markdown syntax."
128 132 msgstr "Базовый синтаксис markdown."
129 133
130 #: templates/boards/posting_general.html:156
134 #: templates/boards/posting_general.html:164
131 135 msgid "Pages:"
132 136 msgstr "Страницы: "
133 137
@@ -151,35 +155,31 b' msgstr "\xd0\xa1\xd0\xbe\xd1\x85\xd1\x80\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x82\xd1\x8c"'
151 155 msgid "tags"
152 156 msgstr "тегов"
153 157
154 #: templates/boards/thread.html:39
155 msgid "Get!"
156 msgstr "Гет!"
157
158 #: templates/boards/thread.html:67
158 #: templates/boards/thread.html:72
159 159 msgid "Reply to thread"
160 160 msgstr "Ответить в тему"
161 161
162 #: templates/boards/thread.html:94
162 #: templates/boards/thread.html:99
163 163 msgid "Example: "
164 164 msgstr "Пример: "
165 165
166 #: templates/boards/thread.html:94
166 #: templates/boards/thread.html:99
167 167 msgid "italic"
168 168 msgstr "курсив"
169 169
170 #: templates/boards/thread.html:95
170 #: templates/boards/thread.html:100
171 171 msgid "bold"
172 172 msgstr "полужирный"
173 173
174 #: templates/boards/thread.html:96
174 #: templates/boards/thread.html:101
175 175 msgid "Quotes can be inserted with"
176 176 msgstr "Цитаты могут быть вставлены при помощи"
177 177
178 #: templates/boards/thread.html:97
178 #: templates/boards/thread.html:102
179 179 msgid "Links to answers can be inserted with"
180 180 msgstr "Ссылки на ответы могут быть вставлены с помощью"
181 181
182 #: templates/boards/thread.html:110
182 #: templates/boards/thread.html:115
183 183 msgid "Last update: "
184 184 msgstr "Последнее обновление: "
185 185
@@ -31,6 +31,7 b' RANK_ADMIN = 0'
31 31 RANK_MODERATOR = 10
32 32 RANK_USER = 100
33 33
34
34 35 class PostManager(models.Manager):
35 36 def create_post(self, title, text, image=None, parent_id=NO_PARENT,
36 37 ip=NO_IP, tags=None, user=None):
@@ -111,8 +111,8 b''
111 111 </div>
112 112 {% endfor %}
113 113 {% else %}
114 No threads found.
115 <hr />
114 <div class="post">
115 {% trans 'No threads exist. Create the first one!' %}</div>
116 116 {% endif %}
117 117
118 118 <form enctype="multipart/form-data" method="post">{% csrf_token %}
@@ -64,9 +64,6 b''
64 64 </div>
65 65 {% endfor %}
66 66 </div>
67 {% else %}
68 No thread found.
69 <hr />
70 67 {% endif %}
71 68
72 69 <form id="form" enctype="multipart/form-data" method="post"
General Comments 0
You need to be logged in to leave comments. Login now