##// END OF EJS Templates
Fixed some translation issues. Changed default captcha setting to "off" to pass tests. Removed the maximum page scale. This refs #36 and fixes #26, #2
neko259 -
r85:895eadaa default
parent child Browse files
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: 2013-06-09 17:35+0300\n"
10 "POT-Creation-Date: 2013-06-10 22:27+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"
@@ -18,115 +18,119 b' msgstr ""'
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 #: templates/base.html:27
21 #: templates/boards/base.html:27
22 msgid "All threads"
22 msgid "All threads"
23 msgstr "Все темы"
23 msgstr "Все темы"
24
24
25 #: templates/base.html:33
25 #: templates/boards/base.html:33
26 msgid "Settings"
26 msgid "Settings"
27 msgstr "Настройки"
27 msgstr "Настройки"
28
28
29 #: templates/base.html:40
29 #: templates/boards/base.html:40
30 msgid "Up"
30 msgid "Up"
31 msgstr "Вверх"
31 msgstr "Вверх"
32
32
33 #: templates/posting_general.html:18
33 #: templates/boards/posting_general.html:18
34 msgid "Tag: "
34 msgid "Tag: "
35 msgstr "Тег: "
35 msgstr "Тег: "
36
36
37 #: templates/posting_general.html:35 templates/posting_general.html.py:79
37 #: templates/boards/posting_general.html:35
38 #: templates/thread.html:27
38 #: templates/boards/posting_general.html:79 templates/boards/thread.html:27
39 #, fuzzy
39 #, fuzzy
40 msgid "Post image"
40 msgid "Post image"
41 msgstr "Изображение сообщения"
41 msgstr "Изображение сообщения"
42
42
43 #: templates/posting_general.html:46
43 #: templates/boards/posting_general.html:46
44 msgid "Reply"
44 msgid "Reply"
45 msgstr "Ответ"
45 msgstr "Ответ"
46
46
47 #: templates/posting_general.html:53 templates/thread.html:107
47 #: templates/boards/posting_general.html:53 templates/boards/thread.html:107
48 msgid "replies"
48 msgid "replies"
49 msgstr "ответов"
49 msgstr "ответов"
50
50
51 #: templates/posting_general.html:54 templates/thread.html:108
51 #: templates/boards/posting_general.html:54 templates/boards/thread.html:108
52 msgid "images"
52 msgid "images"
53 msgstr "изображений"
53 msgstr "изображений"
54
54
55 #: templates/posting_general.html:56 templates/posting_general.html.py:127
55 #: templates/boards/posting_general.html:56
56 #: templates/thread.html:49
56 #: templates/boards/posting_general.html:127 templates/boards/thread.html:49
57 msgid "Tags"
57 msgid "Tags"
58 msgstr "Теги"
58 msgstr "Теги"
59
59
60 #: templates/posting_general.html:109
60 #: templates/boards/posting_general.html:109
61 msgid "Create new thread"
61 msgid "Create new thread"
62 msgstr "Создать новую тему"
62 msgstr "Создать новую тему"
63
63
64 #: templates/posting_general.html:112 templates/thread.html:71
64 #: templates/boards/posting_general.html:112 templates/boards/thread.html:71
65 msgid "Title"
65 msgid "Title"
66 msgstr "Заголовок"
66 msgstr "Заголовок"
67
67
68 #: templates/posting_general.html:117 templates/thread.html:76
68 #: templates/boards/posting_general.html:117 templates/boards/thread.html:76
69 msgid "Text"
69 msgid "Text"
70 msgstr "Текст"
70 msgstr "Текст"
71
71
72 #: templates/posting_general.html:122 templates/thread.html:81
72 #: templates/boards/posting_general.html:122 templates/boards/thread.html:81
73 msgid "Image"
73 msgid "Image"
74 msgstr "Изображение"
74 msgstr "Изображение"
75
75
76 #: templates/posting_general.html:136 templates/thread.html:91
76 #: templates/boards/posting_general.html:136 templates/boards/thread.html:91
77 msgid "Post"
77 msgid "Post"
78 msgstr "Отправить"
78 msgstr "Отправить"
79
79
80 #: templates/posting_general.html:152
80 #: templates/boards/posting_general.html:138
81 #, fuzzy
81 msgid "Tags must be delimited by spaces. Text or image is required."
82 msgstr ""
83 "Теги должны быть разделены пробелами. Текст или изображение обязательны."
84
85 #: templates/boards/posting_general.html:141 templates/boards/thread.html:93
86 msgid "Basic markdown syntax."
87 msgstr "Базовый синтаксис markdown."
88
89 #: templates/boards/posting_general.html:152
82 msgid "Pages:"
90 msgid "Pages:"
83 msgstr "Страницы: "
91 msgstr "Страницы: "
84
92
85 #: templates/settings.html:13
93 #: templates/boards/settings.html:13
86 msgid "Theme"
94 msgid "Theme"
87 msgstr "Тема"
95 msgstr "Тема"
88
96
89 #: templates/settings.html:29
97 #: templates/boards/settings.html:29
90 msgid "Save"
98 msgid "Save"
91 msgstr "Сохранить"
99 msgstr "Сохранить"
92
100
93 #: templates/tags.html:7
101 #: templates/boards/tags.html:7
94 msgid "tags"
102 msgid "tags"
95 msgstr "тегов"
103 msgstr "тегов"
96
104
97 #: templates/thread.html:39
105 #: templates/boards/thread.html:39
98 msgid "Get!"
106 msgid "Get!"
99 msgstr "Гет!"
107 msgstr "Гет!"
100
108
101 #: templates/thread.html:68
109 #: templates/boards/thread.html:68
102 msgid "Reply to thread"
110 msgid "Reply to thread"
103 msgstr "Ответить в тему"
111 msgstr "Ответить в тему"
104
112
105 #: templates/thread.html:93
113 #: templates/boards/thread.html:94
106 msgid "Basic markdown syntax."
107 msgstr "Базовый синтаксис markdown."
108
109 #: templates/thread.html:94
110 msgid "Example: "
114 msgid "Example: "
111 msgstr "Пример: "
115 msgstr "Пример: "
112
116
113 #: templates/thread.html:94
117 #: templates/boards/thread.html:94
114 msgid "italic"
118 msgid "italic"
115 msgstr "курсив"
119 msgstr "курсив"
116
120
117 #: templates/thread.html:95
121 #: templates/boards/thread.html:95
118 msgid "bold"
122 msgid "bold"
119 msgstr "полужирный"
123 msgstr "полужирный"
120
124
121 #: templates/thread.html:96
125 #: templates/boards/thread.html:96
122 msgid "Quotes can be inserted with"
126 msgid "Quotes can be inserted with"
123 msgstr "Цитаты могут быть вставлены при помощи"
127 msgstr "Цитаты могут быть вставлены при помощи"
124
128
125 #: templates/thread.html:97
129 #: templates/boards/thread.html:97
126 msgid "Links to answers can be inserted with"
130 msgid "Links to answers can be inserted with"
127 msgstr "Ссылки на ответы могут быть вставлены с помощью"
131 msgstr "Ссылки на ответы могут быть вставлены с помощью"
128
132
129 #: templates/thread.html:109
133 #: templates/boards/thread.html:109
130 msgid "Last update: "
134 msgid "Last update: "
131 msgstr "Последнее обновление: "
135 msgstr "Последнее обновление: "
132
136
@@ -135,7 +139,3 b' msgstr "\xd0\x9f\xd0\xbe\xd1\x81\xd0\xbb\xd0\xb5\xd0\xb4\xd0\xbd\xd0\xb5\xd0\xb5 \xd0\xbe\xd0\xb1\xd0\xbd\xd0\xbe\xd0\xb2\xd0\xbb\xd0\xb5\xd0\xbd\xd0\xb8\xd0\xb5: "'
135
139
136 #~ msgid "gets"
140 #~ msgid "gets"
137 #~ msgstr "гетов"
141 #~ msgstr "гетов"
138
139 #~ msgid "Tags must be delimited by spaces. Text or image is required."
140 #~ msgstr ""
141 #~ "Теги должны быть разделены пробелами. Текст или изображение обязательны."
@@ -22,7 +22,7 b' NO_PARENT = -1'
22 NO_IP = '0.0.0.0'
22 NO_IP = '0.0.0.0'
23 UNKNOWN_UA = ''
23 UNKNOWN_UA = ''
24 ALL_PAGES = -1
24 ALL_PAGES = -1
25 OPENING_POST_WEIGHT = 5
25 OPENING_POST_POPULARITY_WEIGHT = 2
26 IMAGES_DIRECTORY = 'images/'
26 IMAGES_DIRECTORY = 'images/'
27 FILE_EXTENSION_DELIMITER = '.'
27 FILE_EXTENSION_DELIMITER = '.'
28
28
@@ -187,7 +187,7 b' class Tag(models.Model):'
187 reply_count = 0
187 reply_count = 0
188 for post in posts_with_tag:
188 for post in posts_with_tag:
189 reply_count += post.get_reply_count()
189 reply_count += post.get_reply_count()
190 reply_count += OPENING_POST_WEIGHT
190 reply_count += OPENING_POST_POPULARITY_WEIGHT
191
191
192 return reply_count
192 return reply_count
193
193
@@ -8,7 +8,7 b''
8 href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/>
8 href="{{ STATIC_URL }}css/jquery.fancybox.css" media="all"/>
9 <link rel="stylesheet" type="text/css"
9 <link rel="stylesheet" type="text/css"
10 href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/>
10 href="{{ STATIC_URL }}css/{{ theme }}/base_page.css" media="all"/>
11 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
11 <meta name="viewport" content="width=device-width, initial-scale=1"/>
12 {% block head %}{% endblock %}
12 {% block head %}{% endblock %}
13 </head>
13 </head>
14 <body>
14 <body>
@@ -134,11 +134,11 b''
134 </div>
134 </div>
135 <div class="form-submit">
135 <div class="form-submit">
136 <input type="submit" value="{% trans "Post" %}"/></div>
136 <input type="submit" value="{% trans "Post" %}"/></div>
137 <div>Tags must be delimited by spaces. Text or image is required
137 <div>
138 </div>
138 {% trans 'Tags must be delimited by spaces. Text or image is required.' %}
139 <div>Use <a
139 </div>
140 href="http://daringfireball.net/projects/markdown/basics">
140 <div><a href="http://daringfireball.net/projects/markdown/basics">
141 markdown</a> syntax for posting.</div>
141 {% trans 'Basic markdown syntax.' %}</a></div>
142 </div>
142 </div>
143 </form>
143 </form>
144
144
@@ -148,7 +148,7 b''
148
148
149 <span class="metapanel">
149 <span class="metapanel">
150 <b><a href="https://bitbucket.org/neko259/neboard/">Neboard</a>
150 <b><a href="https://bitbucket.org/neko259/neboard/">Neboard</a>
151 2013-05 (dev)</b>
151 pre1.0</b>
152 {% trans "Pages:" %}
152 {% trans "Pages:" %}
153 {% for page in pages %}
153 {% for page in pages %}
154 [<a href="
154 [<a href="
@@ -192,4 +192,4 b" DEFAULT_THEME = 'md'"
192 POPULAR_TAGS = 10
192 POPULAR_TAGS = 10
193 LAST_REPLIES_COUNT = 3
193 LAST_REPLIES_COUNT = 3
194
194
195 ENABLE_CAPTCHA = True No newline at end of file
195 ENABLE_CAPTCHA = False No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now