From ac2bf5fce0bddb3d687562c70dc7f4b90758b95d Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 5 Apr 2018 10:37:51 +0200 Subject: [PATCH] restore "remind me" button --- prawokultury/context_processors.py | 6 +- prawokultury/locale/pl/LC_MESSAGES/django.mo | Bin 9565 -> 9569 bytes prawokultury/locale/pl/LC_MESSAGES/django.po | 63 +++++++++++-------- prawokultury/templates/base.html | 2 +- 4 files changed, 44 insertions(+), 27 deletions(-) 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 a6e39bfc0295b0c4172925332a205bab8946cd3a..71476532452d219d951941a8e4cb4fe81418b538 100644 GIT binary patch delta 808 zcmXxiO-K}B9LMqh?&geJt(yz>Lg|jXX~KKF>2e&olq$nfYG$QFwJLRE~ypHbg+Iw{hRckl>)z(M?nIqbJYTJaw0 z`h|)gaf0zGY7O~DkrA9iJ&WHc<@K6=@<3}!r$qX&4f8mQQ@DuShs4t&SxlnNAFp@` zIj3Aj14|X>a3|x3Sc5Nd6E0yDE~m>u#cy~}&x5bH8ULVe^dEHtgR9h=NTMzr!a5wq z9azL&cpr8BQ`7?IQRgqA?)Mt^;5*c>{mr7IS6bZ^Ozc6OIEZ?pGhWo_wU5y|N5;r` zqOFJUDdi&39kgvB9bU;ekkMa2o8FqXlVt09FZkW``n6?9C+YUS80n^VdJfUjn#o}@ zL{5>7W_$H!cPQ&km>pI6jdI=-GZ#AQub7@0Jv;3dXD(arv_BdD750Y{P9)Z4JDs+Z lwK7h=J?B5FOGIPCv$sn(Z@4qXYnEH|pEt}!{FYQUvIan*U)%ry delta 804 zcmXxiUr3Wt7{~Evo4&7amVX8-W4Wf&nY!85(yf_kS>Yc<#9%6RF{BU#6}K*wWEXYY zMZ6b51VKd>K=Yiio=e#@T-E+>_uZf=%`$bR55Rt`3 zk&C#58Qj7?bZ``ZV-H4~MDF4YUPl|__zk0Yf?e3s?5-QZ7~_}Nfd{Dbe&8_vZiV};4{@IH z5o!&wHuizDsC)T{!&q*UQl+LqyIWHTAMnLB%;GBMaR)gUsgH>CV-R&OGgTLmeaaFV z_^j%4Y+?KY8}J?0;4aqUex&49e#nDX9vtC0JVt%dKhzg^IZ{25AnL+#4B#|g!Y6nc zw^7%>K`rnD>ik{Q_Z{FB{DOMxAR4QCo=J5CY\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 }}
-- 2.20.1