##// END OF EJS Templates
Added translation for javascript. This fixes #36
neko259 -
r122:3928e034 default
parent child Browse files
Show More
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-04 14:04+0300\n"
10 "POT-Creation-Date: 2013-08-27 22:50+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"
@@ -34,19 +34,27 b' msgstr "\xd0\xbb\xd0\xb8\xd1\x86\xd0\xb5\xd0\xbd\xd0\xb7\xd0\xb8\xd0\xb5\xd0\xb9"'
34 34 msgid "Repository"
35 35 msgstr "Репозиторий"
36 36
37 #: templates/boards/banned.html:6
38 msgid "Banned"
39 msgstr ""
40
41 #: templates/boards/banned.html:11
42 msgid "Your IP address has been banned. Contact the administrator"
43 msgstr ""
44
37 45 #: templates/boards/base.html:12
38 46 msgid "Feed"
39 47 msgstr "Лента"
40 48
41 #: templates/boards/base.html:31
49 #: templates/boards/base.html:35
42 50 msgid "All threads"
43 51 msgstr "Все темы"
44 52
45 #: templates/boards/base.html:37
53 #: templates/boards/base.html:41
46 54 msgid "Settings"
47 55 msgstr "Настройки"
48 56
49 #: templates/boards/base.html:45
57 #: templates/boards/base.html:49
50 58 msgid "Up"
51 59 msgstr "Вверх"
52 60
@@ -161,8 +169,8 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: "'
161 169 #~ msgid "gets"
162 170 #~ msgstr "гетов"
163 171
164 msgid "author"
165 msgstr "автор"
172 #~ msgid "author"
173 #~ msgstr "автор"
166 174
167 msgid "developer"
168 msgstr "разработчик" No newline at end of file
175 #~ msgid "developer"
176 #~ msgstr "разработчик" No newline at end of file
@@ -13,12 +13,16 b' function add_panel(after)'
13 13
14 14 tab = $('<input type="radio" class="image-mode-normal" name="image-mode" value="0" checked="checked"/>');
15 15 tab.on("change", tab_handler);
16 tab = $('<label>Normal</label>').prepend(tab);
16
17 var label_normal = gettext('Normal');
18 tab = $('<label>' + label_normal + '</label>').prepend(tab);
17 19 tab_bar.append(tab);
18 20
19 21 tab = $('<input type="radio" class="image-mode-table" name="image-mode" value="1"/>');
20 22 tab.on("change", tab_handler);
21 tab = $('<label>Gallery</label>').prepend(tab);
23
24 var label_gallery = gettext('Gallery');
25 tab = $('<label>' + label_gallery + '</label>').prepend(tab);
22 26 tab_bar.append(tab);
23 27
24 28 tab_bar.insertAfter(nav_top);
@@ -21,6 +21,7 b''
21 21 <body>
22 22 <script src="{{ STATIC_URL }}js/jquery-2.0.1.min.js"></script>
23 23 <script src="{{ STATIC_URL }}js/jquery.fancybox.pack.js"></script>
24 <script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
24 25 <script src="{{ STATIC_URL }}js/main.js"></script>
25 26 <div id="admin_panel">
26 27
@@ -2,6 +2,10 b' from django.conf.urls import patterns, u'
2 2 from boards import views
3 3 from boards.rss import AllThreadsFeed, TagThreadsFeed, ThreadPostsFeed
4 4
5 js_info_dict = {
6 'packages': ('boards',),
7 }
8
5 9 urlpatterns = patterns('',
6 10
7 11 # /boards/
@@ -34,4 +38,6 b" urlpatterns = patterns('',"
34 38 url(r'^tag/(?P<tag_name>\w+)/rss/$', TagThreadsFeed()),
35 39 url(r'^tag/(?P<tag_name>\w+)/page/(?P<page>\w+)/rss/$', TagThreadsFeed()),
36 40 url(r'^thread/(?P<post_id>\w+)/rss/$', ThreadPostsFeed()),
41
42 url(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', js_info_dict),
37 43 ) No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now