diff --git a/digitalglarus/static/blog.ungleich.ch/css/clean-blog.css b/digitalglarus/static/blog.ungleich.ch/css/clean-blog.css index 41583e3f..3c8f4e29 100755 --- a/digitalglarus/static/blog.ungleich.ch/css/clean-blog.css +++ b/digitalglarus/static/blog.ungleich.ch/css/clean-blog.css @@ -323,9 +323,6 @@ footer .copyright { color: #0085a1; } -.form-group{ - font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; -} form .row:first-child .floating-label-form-group { border-top: 1px solid #eeeeee; diff --git a/digitalglarus/views.py b/digitalglarus/views.py index 86838336..05437941 100644 --- a/digitalglarus/views.py +++ b/digitalglarus/views.py @@ -4,10 +4,11 @@ from django.shortcuts import get_object_or_404, render from django.forms import ModelForm from django.http import HttpResponseRedirect from django.core.urlresolvers import reverse_lazy +from django.utils.translation import ugettext_lazy as _ + from django.utils.translation import get_language from djangocms_blog.models import Post from django.contrib import messages -from django.utils.translation import ugettext as _ from .models import Supporter diff --git a/ungleich_page/locale/de/LC_MESSAGES/django.mo b/ungleich_page/locale/de/LC_MESSAGES/django.mo new file mode 100644 index 00000000..0b16e963 Binary files /dev/null and b/ungleich_page/locale/de/LC_MESSAGES/django.mo differ diff --git a/ungleich_page/locale/de/LC_MESSAGES/django.po b/ungleich_page/locale/de/LC_MESSAGES/django.po new file mode 100644 index 00000000..2d6e21aa --- /dev/null +++ b/ungleich_page/locale/de/LC_MESSAGES/django.po @@ -0,0 +1,35 @@ +# 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: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2016-04-11 21:02-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: urls.py:7 +msgid "contact/?$" +msgstr "" + +#: views.py:13 +msgid "Message Successfully Sent" +msgstr "" + +#: views.py:23 +msgid "Contact Us" +msgstr "Kontaktiere Uns" + +#: views.py:24 +msgid "If you have any question, just send us an email." +msgstr "Wenn Sie irgendwelche Fragen haben, schicken Sie uns einfach eine E-Mail." diff --git a/ungleich_page/urls.py b/ungleich_page/urls.py index 1b03b20c..686a4b64 100644 --- a/ungleich_page/urls.py +++ b/ungleich_page/urls.py @@ -1,6 +1,8 @@ from django.conf.urls import url from .views import ContactView +from django.utils.translation import ugettext_lazy as _ + urlpatterns = [ - url(r'contact/?$', ContactView.as_view(), name='contact'), + url(_(r'contact/?$'), ContactView.as_view(), name='contact'), ] diff --git a/ungleich_page/views.py b/ungleich_page/views.py index 997c713b..f0e306c0 100644 --- a/ungleich_page/views.py +++ b/ungleich_page/views.py @@ -1,7 +1,7 @@ from django.contrib import messages from django.views.generic.edit import FormView -from django.utils.translation import ugettext as _ +from django.utils.translation import ugettext_lazy as _ from django.core.urlresolvers import reverse_lazy from utils.forms import ContactUsForm