From: Jan Szejko Date: Thu, 5 Apr 2018 08:37:51 +0000 (+0200) Subject: restore "remind me" button X-Git-Url: https://git.mdrn.pl/prawokultury.git/commitdiff_plain/ac2bf5fce0bddb3d687562c70dc7f4b90758b95d restore "remind me" button --- diff --git a/prawokultury/context_processors.py b/prawokultury/context_processors.py index cb671da..b944366 100644 --- a/prawokultury/context_processors.py +++ b/prawokultury/context_processors.py @@ -1,5 +1,6 @@ # -*- coding: utf-8 -*- from django.core.urlresolvers import reverse +from django.utils.translation import ugettext as _ from prawokultury.contact_forms import RegistrationForm from .contact_forms import RegisterSpeaker @@ -10,8 +11,11 @@ def registration_url(request): registration_form = RegistrationForm() if speaker_form.started and not speaker_form.closed: url = reverse("contact_form", args=["register-speaker"]) + label = _('Registration') elif speaker_form.closed and not registration_form.started: url = reverse("contact_form", args=["remind-me"]) + label = _('Remind me') else: url = reverse("contact_form", args=["register"]) - return {'REGISTRATION_URL': url} + label = _('Registration') + return {'REGISTRATION_URL': url, 'REGISTRATION_BUTTON_LABEL': label} diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.mo b/prawokultury/locale/pl/LC_MESSAGES/django.mo index a6e39bf..7147653 100644 Binary files a/prawokultury/locale/pl/LC_MESSAGES/django.mo and b/prawokultury/locale/pl/LC_MESSAGES/django.mo differ diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.po b/prawokultury/locale/pl/LC_MESSAGES/django.po index abafc9d..d197d46 100644 --- a/prawokultury/locale/pl/LC_MESSAGES/django.po +++ b/prawokultury/locale/pl/LC_MESSAGES/django.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: prawokultury\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-08-18 15:03+0200\n" +"POT-Creation-Date: 2018-04-05 10:27+0200\n" "PO-Revision-Date: 2014-09-30 16:25+0100\n" "Last-Translator: Radek Czajka \n" "Language-Team: FNP \n" @@ -19,24 +19,24 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" "X-Generator: Poedit 1.5.4\n" -#: contact_forms.py:28 templates/base.html:61 +#: contact_forms.py:28 context_processors.py:14 context_processors.py:20 msgid "Registration" msgstr "Rejestracja" -#: contact_forms.py:33 contact_forms.py:217 contact_forms.py:322 +#: contact_forms.py:33 contact_forms.py:217 contact_forms.py:323 msgid "First name" msgstr "Imię" -#: contact_forms.py:34 contact_forms.py:218 contact_forms.py:323 +#: contact_forms.py:34 contact_forms.py:218 contact_forms.py:324 msgid "Last name" msgstr "Nazwisko" -#: contact_forms.py:35 contact_forms.py:307 contact_forms.py:324 +#: contact_forms.py:35 contact_forms.py:307 contact_forms.py:325 msgid "E-mail" msgstr "E-mail" #: contact_forms.py:36 contact_forms.py:219 contact_forms.py:308 -#: contact_forms.py:325 +#: contact_forms.py:326 msgid "Organization" msgstr "Organizacja" @@ -263,7 +263,7 @@ msgstr "możliwość networkingu" msgid "partnering with organisations present at the event" msgstr "" -#: contact_forms.py:127 contact_forms.py:222 contact_forms.py:373 +#: contact_forms.py:127 contact_forms.py:222 contact_forms.py:389 msgid "" "I am interested in receiving information about the Modern Poland " "Foundation's activities by e-mail" @@ -271,11 +271,11 @@ msgstr "" "Jestem zainteresowana/y otrzymywaniem drogą mailową informacji dotyczących " "działalności Fundacji Nowoczesna Polska" -#: contact_forms.py:131 contact_forms.py:376 +#: contact_forms.py:131 contact_forms.py:392 msgid "Permission for data processing" msgstr "Zgoda na przetwarzanie danych" -#: contact_forms.py:132 contact_forms.py:378 +#: contact_forms.py:132 contact_forms.py:394 msgid "" "I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. " "Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data " @@ -285,11 +285,11 @@ msgstr "" "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:135 contact_forms.py:226 contact_forms.py:382 +#: contact_forms.py:135 contact_forms.py:226 contact_forms.py:398 msgid "Permission for publication" msgstr "Zgoda na publikację" -#: contact_forms.py:136 contact_forms.py:227 contact_forms.py:384 +#: contact_forms.py:136 contact_forms.py:227 contact_forms.py:400 msgid "" "I agree to having materials, recorded during the conference, released under " "the terms of CC BY-SA oraz rozpowszechnianie wizerunku." -#: contact_forms.py:148 contact_forms.py:395 +#: contact_forms.py:148 contact_forms.py:411 #, python-format msgid "I accept Terms and Conditions of CopyCamp" msgstr "Akceptuję Regulamin CopyCampu" @@ -430,42 +430,56 @@ msgstr "Imię i nazwisko" msgid "Workshop" msgstr "Warsztat" -#: contact_forms.py:326 +#: contact_forms.py:327 msgid "Country" msgstr "Kraj" -#: contact_forms.py:329 +#: contact_forms.py:330 msgid "

I'll take a part in workshops

" msgstr "

Wezmę udział w warsztatach

" -#: contact_forms.py:330 +#: contact_forms.py:331 msgid "Only workshops with any spots left are visible here." msgstr "Widoczne są tylko warsztaty, w których są jeszcze miejsca." -#: contact_forms.py:332 +#: contact_forms.py:333 msgid "Thursday, September 28th, 10 a.m.–12 noon" msgstr "" -#: contact_forms.py:339 +#: contact_forms.py:340 msgid "Thursday, September 28th, 12 noon–2 p.m." msgstr "" -#: contact_forms.py:343 +#: contact_forms.py:344 +msgid "Friday, September 29th, 9 a.m.–11 noon" +msgstr "" + +#: contact_forms.py:349 +msgid "" +"Please describe the most important recent changes to copyright user rights " +"in your national law. (max 1500 characters)" +msgstr "" + +#: contact_forms.py:353 msgid "Friday, September 29th, 10 a.m.–12 noon" msgstr "" -#: contact_forms.py:348 +#: contact_forms.py:358 msgid "Friday, September 29th, 12 noon–2 p.m." msgstr "" -#: contact_forms.py:422 +#: contact_forms.py:438 msgid "You can't choose more than one workshop during the same period" msgstr "Nie możesz wybrać warsztatów odbywających się w tym samym czasie" -#: contact_forms.py:424 +#: contact_forms.py:440 msgid "Please choose at least one workshop." msgstr "Proszę wybrać co najmniej jeden warsztat." +#: context_processors.py:17 +msgid "Remind me" +msgstr "Przypomnij mi" + #: settings.d/60-custom.py:5 msgid "info" msgstr "info" @@ -494,10 +508,6 @@ msgstr "CopyCamp" msgid "Search" msgstr "Szukaj" -#: templates/base.html:68 -msgid "Workshops" -msgstr "Warsztaty" - #: templates/base.html:105 msgid "" "If not explicitly stated otherwise, all texts are licensed under the {% lang_switcher %} - {# {% trans "Registration" %} #} + {{ REGISTRATION_BUTTON_LABEL }}