fnp
/
prawokultury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7be7739
)
restore "remind me" button
author
Jan Szejko
<janek37@gmail.com>
Thu, 5 Apr 2018 08:37:51 +0000
(10:37 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 5 Apr 2018 08:37:51 +0000
(10:37 +0200)
prawokultury/context_processors.py
patch
|
blob
|
history
prawokultury/locale/pl/LC_MESSAGES/django.mo
patch
|
blob
|
history
prawokultury/locale/pl/LC_MESSAGES/django.po
patch
|
blob
|
history
prawokultury/templates/base.html
patch
|
blob
|
history
diff --git
a/prawokultury/context_processors.py
b/prawokultury/context_processors.py
index
cb671da
..
b944366
100644
(file)
--- a/
prawokultury/context_processors.py
+++ b/
prawokultury/context_processors.py
@@
-1,5
+1,6
@@
# -*- coding: utf-8 -*-
from django.core.urlresolvers import reverse
# -*- 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
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"])
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"])
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"])
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
(file)
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
(file)
--- 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"
msgstr ""
"Project-Id-Version: prawokultury\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 201
7-08-18 15:03
+0200\n"
+"POT-Creation-Date: 201
8-04-05 10:27
+0200\n"
"PO-Revision-Date: 2014-09-30 16:25+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: FNP <fundacja@nowoczesnapolska.org.pl>\n"
"PO-Revision-Date: 2014-09-30 16:25+0100\n"
"Last-Translator: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>\n"
"Language-Team: FNP <fundacja@nowoczesnapolska.org.pl>\n"
@@
-19,24
+19,24
@@
msgstr ""
"|| n%100>=20) ? 1 : 2);\n"
"X-Generator: Poedit 1.5.4\n"
"|| 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"
msgid "Registration"
msgstr "Rejestracja"
-#: contact_forms.py:33 contact_forms.py:217 contact_forms.py:32
2
+#: contact_forms.py:33 contact_forms.py:217 contact_forms.py:32
3
msgid "First name"
msgstr "Imię"
msgid "First name"
msgstr "Imię"
-#: contact_forms.py:34 contact_forms.py:218 contact_forms.py:32
3
+#: contact_forms.py:34 contact_forms.py:218 contact_forms.py:32
4
msgid "Last name"
msgstr "Nazwisko"
msgid "Last name"
msgstr "Nazwisko"
-#: contact_forms.py:35 contact_forms.py:307 contact_forms.py:32
4
+#: contact_forms.py:35 contact_forms.py:307 contact_forms.py:32
5
msgid "E-mail"
msgstr "E-mail"
#: contact_forms.py:36 contact_forms.py:219 contact_forms.py:308
msgid "E-mail"
msgstr "E-mail"
#: contact_forms.py:36 contact_forms.py:219 contact_forms.py:308
-#: contact_forms.py:32
5
+#: contact_forms.py:32
6
msgid "Organization"
msgstr "Organizacja"
msgid "Organization"
msgstr "Organizacja"
@@
-263,7
+263,7
@@
msgstr "możliwość networkingu"
msgid "partnering with organisations present at the event"
msgstr ""
msgid "partnering with organisations present at the event"
msgstr ""
-#: contact_forms.py:127 contact_forms.py:222 contact_forms.py:3
73
+#: contact_forms.py:127 contact_forms.py:222 contact_forms.py:3
89
msgid ""
"I am interested in receiving information about the Modern Poland "
"Foundation's activities by e-mail"
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"
"Jestem zainteresowana/y otrzymywaniem drogą mailową informacji dotyczących "
"działalności Fundacji Nowoczesna Polska"
-#: contact_forms.py:131 contact_forms.py:3
76
+#: contact_forms.py:131 contact_forms.py:3
92
msgid "Permission for data processing"
msgstr "Zgoda na przetwarzanie danych"
msgid "Permission for data processing"
msgstr "Zgoda na przetwarzanie danych"
-#: contact_forms.py:132 contact_forms.py:3
78
+#: contact_forms.py:132 contact_forms.py:3
94
msgid ""
"I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. "
"Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data "
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."
"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:3
82
+#: contact_forms.py:135 contact_forms.py:226 contact_forms.py:3
98
msgid "Permission for publication"
msgstr "Zgoda na publikację"
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 <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed"
msgid ""
"I agree to having materials, recorded during the conference, released under "
"the terms of <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed"
@@
-299,7
+299,7
@@
msgstr ""
"licencji <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.pl"
"\">CC BY-SA</a> oraz rozpowszechnianie wizerunku."
"licencji <a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.pl"
"\">CC BY-SA</a> oraz rozpowszechnianie wizerunku."
-#: contact_forms.py:148 contact_forms.py:
395
+#: contact_forms.py:148 contact_forms.py:
411
#, python-format
msgid "I accept <a href=\"%s\">Terms and Conditions of CopyCamp</a>"
msgstr "Akceptuję <a href=\"%s\">Regulamin CopyCampu</a>"
#, python-format
msgid "I accept <a href=\"%s\">Terms and Conditions of CopyCamp</a>"
msgstr "Akceptuję <a href=\"%s\">Regulamin CopyCampu</a>"
@@
-430,42
+430,56
@@
msgstr "Imię i nazwisko"
msgid "Workshop"
msgstr "Warsztat"
msgid "Workshop"
msgstr "Warsztat"
-#: contact_forms.py:32
6
+#: contact_forms.py:32
7
msgid "Country"
msgstr "Kraj"
msgid "Country"
msgstr "Kraj"
-#: contact_forms.py:3
29
+#: contact_forms.py:3
30
msgid "<h3>I'll take a part in workshops</h3>"
msgstr "<h3>Wezmę udział w warsztatach</h3>"
msgid "<h3>I'll take a part in workshops</h3>"
msgstr "<h3>Wezmę udział w warsztatach</h3>"
-#: contact_forms.py:33
0
+#: contact_forms.py:33
1
msgid "Only workshops with any spots left are visible here."
msgstr "Widoczne są tylko warsztaty, w których są jeszcze miejsca."
msgid "Only workshops with any spots left are visible here."
msgstr "Widoczne są tylko warsztaty, w których są jeszcze miejsca."
-#: contact_forms.py:33
2
+#: contact_forms.py:33
3
msgid "<strong>Thursday, September 28th, 10 a.m.–12 noon</strong>"
msgstr ""
msgid "<strong>Thursday, September 28th, 10 a.m.–12 noon</strong>"
msgstr ""
-#: contact_forms.py:3
39
+#: contact_forms.py:3
40
msgid "<strong>Thursday, September 28th, 12 noon–2 p.m.</strong>"
msgstr ""
msgid "<strong>Thursday, September 28th, 12 noon–2 p.m.</strong>"
msgstr ""
-#: contact_forms.py:343
+#: contact_forms.py:344
+msgid "<strong>Friday, September 29th, 9 a.m.–11 noon</strong>"
+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 "<strong>Friday, September 29th, 10 a.m.–12 noon</strong>"
msgstr ""
msgid "<strong>Friday, September 29th, 10 a.m.–12 noon</strong>"
msgstr ""
-#: contact_forms.py:3
4
8
+#: contact_forms.py:3
5
8
msgid "<strong>Friday, September 29th, 12 noon–2 p.m.</strong>"
msgstr ""
msgid "<strong>Friday, September 29th, 12 noon–2 p.m.</strong>"
msgstr ""
-#: contact_forms.py:4
22
+#: contact_forms.py:4
38
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"
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:4
24
+#: contact_forms.py:4
40
msgid "Please choose at least one workshop."
msgstr "Proszę wybrać co najmniej jeden warsztat."
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"
#: settings.d/60-custom.py:5
msgid "info"
msgstr "info"
@@
-494,10
+508,6
@@
msgstr "CopyCamp"
msgid "Search"
msgstr "Szukaj"
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 <a "
#: templates/base.html:105
msgid ""
"If not explicitly stated otherwise, all texts are licensed under the <a "
@@
-582,6
+592,9
@@
msgstr ""
"Dziękujemy za wypełnienie formularza rejestracji na warsztaty na stronie "
"%(site_name)s."
"Dziękujemy za wypełnienie formularza rejestracji na warsztaty na stronie "
"%(site_name)s."
+#~ msgid "Workshops"
+#~ msgstr "Warsztaty"
+
#~ msgid "3. How far will you travel to attend CopyCamp?"
#~ msgstr "3. Aby wziąć udział w CopyCampie przejadę:"
#~ msgid "3. How far will you travel to attend CopyCamp?"
#~ msgstr "3. Aby wziąć udział w CopyCampie przejadę:"
diff --git
a/prawokultury/templates/base.html
b/prawokultury/templates/base.html
index
5e9a90e
..
2ea8154
100755
(executable)
--- a/
prawokultury/templates/base.html
+++ b/
prawokultury/templates/base.html
@@
-57,7
+57,7
@@
{% endblock %}
<li id="item-lang">{% lang_switcher %}</li>
</ul>
{% endblock %}
<li id="item-lang">{% lang_switcher %}</li>
</ul>
- {# <a href="{{ REGISTRATION_URL }}" style="float: right; margin: 0 10px; width: 220px; text-align:center; background: #ED7F00; color: white; font-size: 24px; text-transform: uppercase;">{% trans "Registration" %}</a> #}
+ <a href="{{ REGISTRATION_URL }}" style="float: right; margin: 0 10px; width: 220px; text-align:center; background: #ED7F00; color: white; font-size: 24px; text-transform: uppercase;">{{ REGISTRATION_BUTTON_LABEL }}</a>
<div style="clear: both;"></div>
</div>
<div style="clear: both;"></div>
</div>