diff --git a/zsite/locale/ru/LC_MESSAGES/django.mo b/zsite/locale/ru/LC_MESSAGES/django.mo new file mode 100644 index 0000000..e184a0c Binary files /dev/null and b/zsite/locale/ru/LC_MESSAGES/django.mo differ diff --git a/zsite/locale/ru/LC_MESSAGES/django.po b/zsite/locale/ru/LC_MESSAGES/django.po new file mode 100644 index 0000000..87f8057 --- /dev/null +++ b/zsite/locale/ru/LC_MESSAGES/django.po @@ -0,0 +1,44 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: 0.10\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-07-06 10:23+0300\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Alexander Kondratev \n" +"Language-Team: Zuykov and partners\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"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" + +#: zsite/templates/base.html:28 +msgid "Protection of intellectual property" +msgstr "Защита интеллектуальной собственности" + +#: zsite/templates/base.html:35 +msgid "London" +msgstr "Лондон" + +#: zsite/templates/base.html:37 +msgid "Free Consultation" +msgstr "Бесплатная консультация" + +#: zsite/templates/base.html:39 +msgid "Callback" +msgstr "Обратный звонок" + +#: zsite/templates/base.html:47 +msgid "Our Services" +msgstr "Наши сервисы" + +#: zsite/templates/language_chooser.html:6 +msgid "Change to language:" +msgstr "Изменить язык на:" diff --git a/zsite/settings.py b/zsite/settings.py index e31e0fd..9da94d2 100644 --- a/zsite/settings.py +++ b/zsite/settings.py @@ -185,6 +185,9 @@ LANGUAGES = ( ('en', u'English'), ) +LOCALE_PATHS = ( + BASE_DIR + '/zsite/locale', ) + CMS_LANGUAGES = { ## Customize this 'default': { diff --git a/zsite/static/less/main.less b/zsite/static/less/main.less index 174697f..a3e0be4 100644 --- a/zsite/static/less/main.less +++ b/zsite/static/less/main.less @@ -2,17 +2,99 @@ @import 'grid.less'; +@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic); +@import url(http://fonts.googleapis.com/css?family=Roboto+Slab); + +@font-family-sans-serif: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; +@font-family-serif: Georgia, "Times New Roman", Times, serif; +@font-family-monospace: 'Roboto Slab', Menlo, Monaco, Consolas, "Courier New", monospace; +@font-family-base: @font-family-sans-serif; + + .wrapper { .make-row(); + + margin-top: 10px; + margin-bottom: -10px; } .header-logo { .make-lg-column(8); + + .slogan { + position: absolute; + top: 58px; + left: 176px; + width: 160px; + + opacity: 0.5; + + line-height: 17px; + } } + .header-contacts { .make-lg-column(3); .make-lg-column-offset(1); + + text-align: right; + + margin-top: -4px; + + ul { + margin-right: -5px; + margin-bottom: 0; + } + + p { + margin: 0; + } +} + +.consultation { + h5 { + opacity: 0.5; + + margin-bottom: 3px; + margin-top: 0; + } + + h3 { + margin: 0; + } + + button { + margin-bottom: 5px; + } } + .logo { height: 100px; +} + + +.background-line-pattern { + background: url('/static/imgs/pattern.svg'); + opacity: 0.06; + + width: 100%; + height: 28px; + + position: absolute; + z-index: -1; + left: 0; +} + +.menu-header { + font-family: 'Roboto Slab'; +} + +.menu { + font-family: 'Roboto Slab'; + font-size: 16px; + + li { + margin-top: 1px; + margin-right: 35px; + } } \ No newline at end of file diff --git a/zsite/templates/base.html b/zsite/templates/base.html index 3786a30..076ea29 100644 --- a/zsite/templates/base.html +++ b/zsite/templates/base.html @@ -25,15 +25,31 @@ {% endwith %} "> +
{% trans 'Protection of intellectual property' %}
- {% language_chooser 'language_chooser.html' %} - {% page_attribute "page_title" "about" %} + +

{% trans 'London' %}

+
+
{% trans 'Free Consultation' %}
+

+7 800 700-16-37

+ + +
-