From 96d01dae2c8363247f6953022e147fd4a3e4e624 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 2 Apr 2014 13:16:51 +0000 Subject: [PATCH] Old changes --- contact/admin.py | 1 + contact/templates/contact/mail_body.txt | 2 +- prawokultury/contact_forms.py | 10 ++ prawokultury/locale/pl/LC_MESSAGES/django.mo | Bin 3564 -> 3584 bytes prawokultury/locale/pl/LC_MESSAGES/django.po | 103 ++++++++++++------ .../templates/contact/register/form.html | 2 +- .../templates/contact/register/mail_body.txt | 5 +- 7 files changed, 83 insertions(+), 40 deletions(-) diff --git a/contact/admin.py b/contact/admin.py index 3fd337f..3776fc4 100644 --- a/contact/admin.py +++ b/contact/admin.py @@ -21,6 +21,7 @@ class ContactAdmin(admin.ModelAdmin): ["admin_list_%d" % i for i in range(admin_list_width)] fields = ['form_tag', 'created_at', 'contact', 'ip'] readonly_fields = ['form_tag', 'created_at', 'contact', 'ip'] + list_filter = ['form_tag'] def admin_list(self, obj, nr): try: diff --git a/contact/templates/contact/mail_body.txt b/contact/templates/contact/mail_body.txt index 5015757..5d38977 100644 --- a/contact/templates/contact/mail_body.txt +++ b/contact/templates/contact/mail_body.txt @@ -1,6 +1,6 @@ {% load i18n %} {% blocktrans %}Thank you for contacting us at {{ site_name }}.{% endblocktrans %} -{% trans "Your submission has been referred to the project coordinator." %} +{% trans "Thank you for registering to the CopyCamp 2013 conference. Please arrive early to obtain your name badge and conference materials." %} -- {% trans "Message sent automatically. Please do not reply to it." %} diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index d01d5e4..bb6a54c 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -36,3 +36,13 @@ class RegistrationForm(ContactForm): if self.limit_reached: for field in ('title', 'summary'): self.fields[field].required = True + +class NextForm(ContactForm): + form_tag = 'next' + form_title = _('Next CopyCamp') + + name = forms.CharField(label=_('Name'), max_length=128) + contact = forms.EmailField(label=_('E-mail'), max_length=128) + organization = forms.CharField(label=_('Organization'), + max_length=256, required=False) + diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.mo b/prawokultury/locale/pl/LC_MESSAGES/django.mo index c58a18ae4624181fac9da195261c283cf2f83380..9d25776bdca0b3e61b63aec5fa53d787a01cdb17 100644 GIT binary patch delta 838 zcmY+>OK1~87{KvKThkbgt@Uw;vCKgPsfl?&eNaKDC@7Q&UOh}V(`5754ZB;z1|d?= zgQy3C2hoEUQ7>L{5j@&>@=(yLUc87}Q0S=$`k#=1e(cO|cXnpJZ)blTx|!;Ho|$+k zh=a5g?LF-h+`+YA>~qsdM0{8)dyP2imipvJ6}qRJ0t;k@;+{AT8Hf(VliJ zorxFgTKQTk&$F*P_`pOch!@QYG}EvN@b=wrGHk-hB9eX-Oq@t73I{- zeA&GaJ<>fEz1`i6E=?EG+0*G9xb<(6Y5`NlVvPr5iBPP>!vnUD8evuGlpd fxE_zAV*6`vdo7YBhG!5~ozSXu3yD+RWa8dm44kCU delta 826 zcmYk(J!q3b9LMpCscEW4YkdP-^;~q&q~hEc6L+8i%(EK`E}` z4!nUov51F-m=^)XLH=0mO?ZiB;T6o`Tik}5n8#me0!=dMB+lSIT*fJUg=>W0z&yX- zklF_EyQ8Wmz%5Q8{_ciD!8dQ_->r!H2<{=+PkHEmGdFj9DEb6PG47Ci)O5XN$MLD5# zwDyaxXNTI)wZ5gU431|lD?2tJE$iI4bz;nFU+xbQ`RRCbUsaUJ<5XN(cOq)ft-fo| z%Ie?D3`9Bz?bU|Vf!k@8Jh!tP&gI%G>7U8g9N`YfBvsI=P9L8LsFy8DtQ fSEQ\n" "Language-Team: FNP \n" @@ -15,55 +15,70 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2)\n" -#: contact_forms.py:11 -#: menu_items.py:22 +#: contact_forms.py:11 menu_items.py:22 msgid "Take part!" msgstr "Weź udział!" -#: contact_forms.py:13 +#: contact_forms.py:14 msgid "Name" msgstr "Imię i nazwisko" -#: contact_forms.py:14 +#: contact_forms.py:15 msgid "E-mail" msgstr "E-mail" -#: contact_forms.py:15 +#: contact_forms.py:16 msgid "Organization" msgstr "Organizacja" -#: contact_forms.py:17 +#: contact_forms.py:18 msgid "Title of presentation" msgstr "Tytuł prezentacji" -#: contact_forms.py:19 +#: contact_forms.py:20 msgid "Presentation" msgstr "Prezentacja" -#: contact_forms.py:21 +#: contact_forms.py:22 msgid "Summary of presentation (max. 1800 characters)" msgstr "Krótki opis prezentacji (maks. 1800 znaków)" -#: contact_forms.py:24 +#: contact_forms.py:25 msgid "Permission for data processing" msgstr "Zgoda na przetwarzanie danych" -#: contact_forms.py:25 -msgid "I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data (name, e-mail address) for purposes of registration for CopyCamp conference." -msgstr "Wyrażam zgodę na przetwarzanie moich danych osobowych (imię, nazwisko, adres poczty elektronicznej) przez Fundację Nowoczesna Polska (ul. Marszałkowska 84/92, 00-514 Warszawa) w związku z rejestracją na konferencję CopyCamp." +#: contact_forms.py:26 +msgid "" +"I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. " +"Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data " +"(name, e-mail address) for purposes of registration for CopyCamp conference." +msgstr "" +"Wyrażam zgodę na przetwarzanie moich danych osobowych (imię, nazwisko, adres " +"poczty elektronicznej) przez Fundację Nowoczesna Polska (ul. Marszałkowska " +"84/92, 00-514 Warszawa) w związku z rejestracją na konferencję CopyCamp." -#: contact_forms.py:28 +#: contact_forms.py:29 msgid "Permission for publication" msgstr "Zgoda na publikację" -#: contact_forms.py:29 -msgid "I agree to having materials recorded during the conference released under the terms of CC BY-SA license." -msgstr "Wyrażam zgodę na publikację materiałów zarejestrowanych na konferencji na licencji CC BY-SA." +#: contact_forms.py:30 +msgid "" +"I agree to having materials recorded during the conference released under " +"the terms of CC BY-SA license." +msgstr "" +"Wyrażam zgodę na publikację materiałów zarejestrowanych na konferencji na " +"licencji CC BY-SA." + +#: settings.d/60-custom.py:5 +msgid "info" +msgstr "" -#: templates/404.html:5 -#: templates/404.html.py:10 +#: templates/404.html:5 templates/404.html.py:10 msgid "Page not found" msgstr "Strona nie znaleziona" @@ -71,39 +86,49 @@ msgstr "Strona nie znaleziona" msgid "The page you were looking for doesn't exist." msgstr "Strona, której szukasz, nie istnieje." -#: templates/base.html:16 -msgid "CopyCamp Conference is the first large-scale meeting in Poland devoted to the issues of copyright in both ideological and practical terms." -msgstr "CopyCamp jest pierwszym w Polsce, organizowanym na dużą skalę spotkaniem osób zajmujących się problematyką praw autorskich." +#: templates/base.html:18 +msgid "" +"CopyCamp Conference is the first large-scale meeting in Poland devoted to " +"the issues of copyright in both ideological and practical terms." +msgstr "" +"CopyCamp jest pierwszym w Polsce, organizowanym na dużą skalę spotkaniem " +"osób zajmujących się problematyką praw autorskich." -#: templates/base.html:26 +#: templates/base.html:28 msgid "CopyCamp" msgstr "CopyCamp" -#: templates/base.html:42 +#: templates/base.html:44 msgid "Search" msgstr "Szukaj" -#: templates/base.html:85 -msgid "If not explicitly stated otherwise, all texts are licensed under the Creative Commons Attribution-Share Alike free license." -msgstr "Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją Creative Commons Uznanie autorstwa – Na tych samych warunkach." - -#: templates/contact/register/form.html:8 +#: templates/base.html:87 msgid "" -"Conference registration limit has been reached." +"If not explicitly stated otherwise, all texts are licensed under the Creative Commons " +"Attribution-Share Alike free license." msgstr "" -"Limit rejestracji uczestników konferencji został osiągnięty." +"Jeśli nie oznaczono inaczej, wszystkie teksty są objęte wolną licencją Creative " +"Commons Uznanie autorstwa – Na tych samych warunkach." #: templates/contact/register/mail_body.txt:2 #: templates/contact/register/mail_subject.txt:1 #, python-format msgid "Thank you for submitting the registration form at %(site_name)s." -msgstr "Dziękujemy za wypełnienie formularza rejestracyjnego na stronie %(site_name)s." +msgstr "" +"Dziękujemy za wypełnienie formularza rejestracyjnego na stronie " +"%(site_name)s." #: templates/contact/register/mail_body.txt:3 -msgid "Your submission has been referred to the project coordinator." -msgstr "Twoje zgłoszenie zostało przekazane osobie koordynującej projekt." +msgid "" +"Thank you for registering to the CopyCamp 2013 conference.\n" +"Please arrive early to obtain your name badge and conference materials." +msgstr "" +"Dziękujemy za rejestrację na konferencję CopyCamp 2013." +"Prosimy o wcześniejsze przybycie w celu otrzymania identyfikatora i materiałów konferencyjnych." -#: templates/contact/register/mail_body.txt:6 +#: templates/contact/register/mail_body.txt:7 msgid "Message sent automatically. Please do not reply to it." msgstr "Wiadomość wysłana automatycznie, prosimy nie odpowiadać." @@ -111,6 +136,12 @@ msgstr "Wiadomość wysłana automatycznie, prosimy nie odpowiadać." msgid "Thank you for submitting the registration form." msgstr "Dziękujemy za wypełnienie formularza rejestracyjnego." +#~ msgid "Your submission has been referred to the project coordinator." +#~ msgstr "Twoje zgłoszenie zostało przekazane osobie koordynującej projekt." + +#~ msgid "Conference registration limit has been reached." +#~ msgstr "Limit rejestracji uczestników konferencji został osiągnięty." + #~ msgid "Registration form" #~ msgstr "Formularz rejestracyjny" diff --git a/prawokultury/templates/contact/register/form.html b/prawokultury/templates/contact/register/form.html index 42e127d..2c19f4d 100644 --- a/prawokultury/templates/contact/register/form.html +++ b/prawokultury/templates/contact/register/form.html @@ -4,7 +4,6 @@ {% block "titleextra" %}{{ form.form_title }} :: {% endblock %} {% block "body" %} -

{% block contact_form_title %}{{ form.form_title }}{% endblock %}

@@ -26,5 +25,6 @@ {% endif %} + {% endblock %} diff --git a/prawokultury/templates/contact/register/mail_body.txt b/prawokultury/templates/contact/register/mail_body.txt index 4c30ef7..2c256cc 100755 --- a/prawokultury/templates/contact/register/mail_body.txt +++ b/prawokultury/templates/contact/register/mail_body.txt @@ -1,6 +1,7 @@ {% load i18n %} -{% blocktrans %}Thank you for submitting the registration form at {{ site_name }}.{% endblocktrans %} -{% trans "Your submission has been referred to the project coordinator." %} +{% comment %}{% blocktrans %}Thank you for submitting the registration form at {{ site_name }}.{% endblocktrans %}{% endcomment %} +{% blocktrans %}Thank you for registering to the CopyCamp 2013 conference. +Please arrive early to obtain your name badge and conference materials.{% endblocktrans %} -- {% trans "Message sent automatically. Please do not reply to it." %} -- 2.20.1