# HG changeset patch # User neko259 # Date 2013-08-04 11:08:34 # Node ID 6d34bf73fbd7569b4498037d03579f0eb779cae6 # Parent 2032ea58a14bdb5324c0e69df2fe0571862e86a8 Added authors page. This fixes #22 diff --git a/boards/authors.py b/boards/authors.py new file mode 100644 --- /dev/null +++ b/boards/authors.py @@ -0,0 +1,14 @@ +__author__ = 'neko259' + +authors = { + 'neko259': { + 'name': 'Pavel Ryapolov', + 'contacts': ['neko259@gmail.com'], + 'roles': ['author', 'developer'], + }, + 'ilyas': { + 'name': 'Ilyas Babayev', + 'contacts': ['zamesilyasa@gmail.com'], + 'roles': ['author', 'developer'], + } +} \ No newline at end of file diff --git a/boards/locale/ru/LC_MESSAGES/django.mo b/boards/locale/ru/LC_MESSAGES/django.mo index 8971f1db4a1b7dc7088fff73f5fa2ba43cb75c97..e33b26854d053b910da1dfc0b351fb2e0d8165f9 GIT binary patch literal 2592 zc$|$>U2GIp6u#&}+eJ}P{KKDH1(YiMg*2dkowp)zGmudIXj_l4XGqbcc zJaj=Iq(DJpAW=~?!52+Rf9%pfUVPESc*h45U+}@i#0Q^DeD=FP{UL$GN#=fc&iT$c z-#PcrosE%?37#!@pTpa#`|V?Id8dSDz_155&+1g3$H2_A40&;ix~KLkdA z7c^c5t_5BNJ`B7D+zR{#xDNP>=KThY0`CAf1OL)-YvFtZxIUu%navB1-?K+I~ahw-MF%l*W0@{~pT>X7z*CR{{AU z;3Z&#=o9!7@JHY)z`ubTfSYPmA6sfvz8y7cp05M91KWXb1BZYcfn4Js+W#-G6-aAU zo`G6*Zho!GbFo(Ozt%WgtLF5R#$U0V2L7(&57#OC(K^NdpibG(YrG140{B&(%3sy^ zbDiq-pq><=cI8x%B@d}WmG}ZJS*5mTV(AWrhdulV}6Y0*ib-SPpP1`Pd#?DY>; z1FXnM&JGHU^puDtM@o9#LZ0N=F;;L(%p)?`Cw5>J>^_2*K|k>z*oHX}N;*CFebyHk zZF%DmW@Ecff_A13zL{!G(?jX5?zWEhsOZQGjI7^p=Zyp9e&5Ks2^#I}$Qkmi5M(sV zS?@ICy9{%;VK&luW5R4~Fn5_Ih(;GXX8S9=chadYBims#r|26UiELZLyB+Q6s5mww z=i!(N7Uq|rEj^hGZBJ#>v?-lUwPp6Fnwz`Q-Q9aZb^6O_&d4#Vn4ptEp{s8^0=+p_7E4&yO1deC(O=Ahtk36uas-BBu7wzG%!4OpJff@Dvw#n`>V z6T%KN&qzCcZXPF^pu2nRAlg|ddse|{alN9SpiW7C`pI2;sM;o9b+*RMWHL^-ZKGmq z)+gg}x{sPPA;0$~cP_b_l8s_3Bh03_Nsk{_A>f$X5fewu&h2}mgntxP_%sbq@M%6D zjuL*6PvB!Q91$Ov_&A^8i!hDyTNKPHUx0U<&x(CmS^nu_gkJ}5hEMVF@I-iy@&y@o zGQ6;q`y}CCz**t9!x7}KfHs0m3*i`_#=a7cQGOdiQ-psGPnFNZK7yOhKS8`KOZa8M zttb4dlyy^P_)fUNpGKfa%;#X3f@vC!36|0#&5|c_UPr-Em}YrZXdMR;6(*#VQHt7& zd=lzUP!t(e9Zd+$sHZc5h5<;)V25YJbKwP%SGR@noDN4tscVS3EsYZ}BGrB5i}@}} z^I2sI#|Xb6LgY;Uw<=kzx=IP7DegL=X&E>p>n_TJxFruaJhj}I?BO$U zn6leNeoM@e@GlWODO#4BWs49q1=bvTl>(Q<%Y@?2Oy4bDoS86$==Eb>|W3vwSm#i5PJ-)Dk|2Ex\n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,22 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" +#: templates/boards/authors.html:6 +msgid "Authors" +msgstr "Авторы" + +#: templates/boards/authors.html:24 +msgid "Distributed under the" +msgstr "Распространяется под" + +#: templates/boards/authors.html:26 +msgid "license" +msgstr "лицензией" + +#: templates/boards/authors.html:28 +msgid "Repository" +msgstr "Репозиторий" + #: templates/boards/base.html:12 msgid "Feed" msgstr "Лента" @@ -41,7 +57,6 @@ msgstr "Тег: " #: templates/boards/posting_general.html:35 #: templates/boards/posting_general.html:79 templates/boards/thread.html:27 #: templates/boards/rss/post.html:5 -#, fuzzy msgid "Post image" msgstr "Изображение сообщения" @@ -49,16 +64,16 @@ msgstr "Изображение сообщения" msgid "Reply" msgstr "Ответ" -#: templates/boards/posting_general.html:53 templates/boards/thread.html:108 +#: templates/boards/posting_general.html:53 templates/boards/thread.html:111 msgid "replies" msgstr "ответов" -#: templates/boards/posting_general.html:54 templates/boards/thread.html:109 +#: templates/boards/posting_general.html:54 templates/boards/thread.html:112 msgid "images" msgstr "изображений" #: templates/boards/posting_general.html:56 -#: templates/boards/posting_general.html:127 templates/boards/thread.html:49 +#: templates/boards/posting_general.html:127 templates/boards/thread.html:51 #: templates/boards/rss/post.html:10 msgid "Tags" msgstr "Теги" @@ -67,28 +82,28 @@ msgstr "Теги" msgid "Create new thread" msgstr "Создать новую тему" -#: templates/boards/posting_general.html:112 templates/boards/thread.html:71 +#: templates/boards/posting_general.html:112 templates/boards/thread.html:73 msgid "Title" msgstr "Заголовок" -#: templates/boards/posting_general.html:117 templates/boards/thread.html:76 +#: templates/boards/posting_general.html:117 templates/boards/thread.html:78 msgid "Text" msgstr "Текст" -#: templates/boards/posting_general.html:122 templates/boards/thread.html:81 +#: templates/boards/posting_general.html:122 templates/boards/thread.html:83 msgid "Image" msgstr "Изображение" -#: templates/boards/posting_general.html:136 templates/boards/thread.html:91 +#: templates/boards/posting_general.html:137 templates/boards/thread.html:94 msgid "Post" msgstr "Отправить" -#: templates/boards/posting_general.html:138 +#: templates/boards/posting_general.html:139 msgid "Tags must be delimited by spaces. Text or image is required." msgstr "" "Теги должны быть разделены пробелами. Текст или изображение обязательны." -#: templates/boards/posting_general.html:141 templates/boards/thread.html:93 +#: templates/boards/posting_general.html:142 templates/boards/thread.html:96 msgid "Basic markdown syntax." msgstr "Базовый синтаксис markdown." @@ -112,31 +127,31 @@ msgstr "тегов" msgid "Get!" msgstr "Гет!" -#: templates/boards/thread.html:68 +#: templates/boards/thread.html:70 msgid "Reply to thread" msgstr "Ответить в тему" -#: templates/boards/thread.html:94 +#: templates/boards/thread.html:97 msgid "Example: " msgstr "Пример: " -#: templates/boards/thread.html:94 +#: templates/boards/thread.html:97 msgid "italic" msgstr "курсив" -#: templates/boards/thread.html:95 +#: templates/boards/thread.html:98 msgid "bold" msgstr "полужирный" -#: templates/boards/thread.html:96 +#: templates/boards/thread.html:99 msgid "Quotes can be inserted with" msgstr "Цитаты могут быть вставлены при помощи" -#: templates/boards/thread.html:97 +#: templates/boards/thread.html:100 msgid "Links to answers can be inserted with" msgstr "Ссылки на ответы могут быть вставлены с помощью" -#: templates/boards/thread.html:110 +#: templates/boards/thread.html:113 msgid "Last update: " msgstr "Последнее обновление: " @@ -145,3 +160,9 @@ msgstr "Последнее обновление: " #~ msgid "gets" #~ msgstr "гетов" + +msgid "author" +msgstr "автор" + +msgid "developer" +msgstr "разработчик" \ No newline at end of file diff --git a/boards/templates/boards/authors.html b/boards/templates/boards/authors.html new file mode 100644 --- /dev/null +++ b/boards/templates/boards/authors.html @@ -0,0 +1,30 @@ +{% extends "boards/base.html" %} + +{% load i18n %} + +{% block head %} + {% trans "Authors" %} +{% endblock %} + +{% block content %} +
+

Authors

+ {% for nick, values in authors.items %} +

+ {{ nick }} ({{ values.name }}): + {% for value in values.contacts %} + {{ value }} + {% endfor %} - + {% for role in values.roles %} + {% trans role %} + {% endfor %} +

+ {% endfor %} +
+

{% trans "Distributed under the" %} + GNU GPLv3 + {% trans "license" %}

+

+ {% trans "Repository" %}

+
+{% endblock %} \ No newline at end of file diff --git a/boards/templates/boards/posting_general.html b/boards/templates/boards/posting_general.html --- a/boards/templates/boards/posting_general.html +++ b/boards/templates/boards/posting_general.html @@ -148,8 +148,7 @@ {% block metapanel %} - Neboard - pre1.0 + Neboard pre1.0 {% trans "Pages:" %} {% for page in pages %} [