revamp subscription page
authorJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 10:00:35 +0000 (12:00 +0200)
committerJan Szejko <janek37@gmail.com>
Fri, 31 Aug 2018 10:00:35 +0000 (12:00 +0200)
21 files changed:
src/paypal/forms.py
src/paypal/locale/de/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/de/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/en/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/en/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/es/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/es/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/fr/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/fr/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/it/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/it/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/lt/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/lt/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/pl/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/pl/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/ru/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/ru/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/locale/uk/LC_MESSAGES/django.mo [new file with mode: 0644]
src/paypal/locale/uk/LC_MESSAGES/django.po [new file with mode: 0644]
src/paypal/templates/paypal/form.html
src/wolnelektury/static/img/btn_subscribe_LG_pl.gif [new file with mode: 0644]

index 849810d..84098d8 100644 (file)
@@ -7,4 +7,4 @@ from django.utils.translation import ugettext_lazy as _
 
 
 class PaypalSubscriptionForm(forms.Form):
-    amount = forms.IntegerField(min_value=10, max_value=30000, initial=20, label=_('amount'))
+    amount = forms.IntegerField(min_value=10, max_value=30000, initial=20, label=_('amount in PLN'))
diff --git a/src/paypal/locale/de/LC_MESSAGES/django.mo b/src/paypal/locale/de/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..68082f1
Binary files /dev/null and b/src/paypal/locale/de/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/de/LC_MESSAGES/django.po b/src/paypal/locale/de/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..b1136e4
--- /dev/null
@@ -0,0 +1,63 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/en/LC_MESSAGES/django.mo b/src/paypal/locale/en/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..9df4926
Binary files /dev/null and b/src/paypal/locale/en/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/en/LC_MESSAGES/django.po b/src/paypal/locale/en/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..1f7a225
--- /dev/null
@@ -0,0 +1,62 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/es/LC_MESSAGES/django.mo b/src/paypal/locale/es/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..68082f1
Binary files /dev/null and b/src/paypal/locale/es/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/es/LC_MESSAGES/django.po b/src/paypal/locale/es/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..b1136e4
--- /dev/null
@@ -0,0 +1,63 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/fr/LC_MESSAGES/django.mo b/src/paypal/locale/fr/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..c2032a2
Binary files /dev/null and b/src/paypal/locale/fr/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/fr/LC_MESSAGES/django.po b/src/paypal/locale/fr/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..63184dd
--- /dev/null
@@ -0,0 +1,63 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/it/LC_MESSAGES/django.mo b/src/paypal/locale/it/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..68082f1
Binary files /dev/null and b/src/paypal/locale/it/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/it/LC_MESSAGES/django.po b/src/paypal/locale/it/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..b1136e4
--- /dev/null
@@ -0,0 +1,63 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/lt/LC_MESSAGES/django.mo b/src/paypal/locale/lt/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..d81c2f9
Binary files /dev/null and b/src/paypal/locale/lt/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/lt/LC_MESSAGES/django.po b/src/paypal/locale/lt/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..b908555
--- /dev/null
@@ -0,0 +1,64 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && (n"
+"%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/pl/LC_MESSAGES/django.mo b/src/paypal/locale/pl/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..a32f524
Binary files /dev/null and b/src/paypal/locale/pl/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/pl/LC_MESSAGES/django.po b/src/paypal/locale/pl/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..7bf6a88
--- /dev/null
@@ -0,0 +1,64 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"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"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr "kwota w złotych"
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr "Błąd PayPala"
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr "Dowiedz się więcej"
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr "Klub Przyjaciół Wolnych Lektur"
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr "Subskrypcja przez PayPal"
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr "Musisz się zalogować, aby ustawić subskrypcję."
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/ru/LC_MESSAGES/django.mo b/src/paypal/locale/ru/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..6937917
Binary files /dev/null and b/src/paypal/locale/ru/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/ru/LC_MESSAGES/django.po b/src/paypal/locale/ru/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..c0d0d14
--- /dev/null
@@ -0,0 +1,64 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
diff --git a/src/paypal/locale/uk/LC_MESSAGES/django.mo b/src/paypal/locale/uk/LC_MESSAGES/django.mo
new file mode 100644 (file)
index 0000000..6937917
Binary files /dev/null and b/src/paypal/locale/uk/LC_MESSAGES/django.mo differ
diff --git a/src/paypal/locale/uk/LC_MESSAGES/django.po b/src/paypal/locale/uk/LC_MESSAGES/django.po
new file mode 100644 (file)
index 0000000..c0d0d14
--- /dev/null
@@ -0,0 +1,64 @@
+# 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 <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-08-30 15:57+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
+"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#: forms.py:10
+msgid "amount in PLN"
+msgstr ""
+
+#: templates/paypal/cancel.html:5
+msgid "Zrezygnowano z płatności :("
+msgstr ""
+
+#: templates/paypal/error.html:1
+msgid "PayPal Error"
+msgstr ""
+
+#: templates/paypal/error.html:5
+msgid "Learn more"
+msgstr ""
+
+#: templates/paypal/form.html:6 templates/paypal/form.html.py:9
+msgid "Wolne Lektury Friend Club"
+msgstr ""
+
+#: templates/paypal/form.html:17
+msgid "Subscribe with PayPal"
+msgstr ""
+
+#: templates/paypal/form.html:20
+msgid "You must be logged in to subscribe."
+msgstr ""
+
+#: templates/paypal/return.html:8
+msgid "Dziękujemy, że jesteś z nami i pomagasz nam rozwijać Wolne Lektury!"
+msgstr ""
+
+#: templates/paypal/return.html:9
+msgid "Pamiętaj, że zawsze możesz się z nami skontaktować:"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Do przeczytania!"
+msgstr ""
+
+#: templates/paypal/return.html:11
+msgid "Zespół Wolnych Lektur"
+msgstr ""
index de8382f..99f7273 100644 (file)
@@ -1,18 +1,23 @@
 {% extends "base/base.html" %}
 {% load i18n %}
+{% load chunks %}
+{% load static from staticfiles %}
 
-{% block title %}{% trans "Subscription" %}{% endblock %}
+{% block title %}{% trans "Wolne Lektury Friend Club" %}{% endblock %}
 
 {% block body %}
+  <h1>{% trans "Wolne Lektury Friend Club" %}</h1>
+  <p>Poniżej możesz ustawić comiesięczną płatność <strong>(co najmniej 10 zł)</strong>, aby dołączyć do Przyjaciół Wolnych Lektur.</p>
   {# https://www.facebook.com/sharer/sharer.php?u=https%3A//wolnelektury.pl{% url 'paypal_form' %} #}
   {% if user.is_authenticated %}
     <form method="post">
       {% csrf_token %}
-      {{ form.as_p }}
+      {{ form.amount.label_tag }}{{ form.amount }}
       {# paypal submit button #}
-      <button type="submit">{% trans "Subscribe with PayPal" %}</button>
+      <input type="image" src="{% static 'img/btn_subscribe_LG_pl.gif' %}" alt="{% trans "Subscribe with PayPal" %}" style="margin-left: 2em; vertical-align: bottom;">
     </form>
   {% else %}
     {% trans "You must be logged in to subscribe." %}
   {% endif %}
+  {% chunk "klub_info" %}
 {% endblock %}
\ No newline at end of file
diff --git a/src/wolnelektury/static/img/btn_subscribe_LG_pl.gif b/src/wolnelektury/static/img/btn_subscribe_LG_pl.gif
new file mode 100644 (file)
index 0000000..c628e17
Binary files /dev/null and b/src/wolnelektury/static/img/btn_subscribe_LG_pl.gif differ