Fix #499 -- Refactor paymentinfo to payment_info (#501)

* Refactor paymentinfo to payment_info, resolve #499

* Fix calling of object attribute on tuple

* Minor update to setup documentation

* Do not use short words for typochecks

* Text clarification

* Refactor paymentinfo to payment_info, resolve #499

* Include data migration for existing event settings, resolve #499
This commit is contained in:
Heok Hong Low
2017-05-22 20:06:19 +08:00
committed by Raphael Michel
parent fb716eb498
commit 48b3621f1e
8 changed files with 44 additions and 19 deletions

View File

@@ -2012,7 +2012,7 @@ msgid ""
"we successfully received your order for {event} with a total value\n"
"of {total} {currency}. Please complete your payment before {date}.\n"
"\n"
"{paymentinfo}\n"
"{payment_info}\n"
"\n"
"You can change your order details and view the status of your order at\n"
"{url}\n"
@@ -2025,7 +2025,7 @@ msgstr ""
"wir haben Ihre Bestellung für {event} mit einem Gesamtbetrag von\n"
"{total} {currency} erhalten. Bitte schließen Sie die Bezahlung bis {date} "
"ab.\n"
"{paymentinfo}\n"
"{payment_info}\n"
"\n"
"Sie können Ihre Bestellung unter folgender Adresse einsehen und ändern:\n"
"{url}\n"
@@ -2862,10 +2862,10 @@ msgstr "Text"
#: pretix/control/forms/event.py:493
#, python-brace-format
msgid ""
"Available placeholders: {event}, {total}, {currency}, {date}, {paymentinfo}, "
"Available placeholders: {event}, {total}, {currency}, {date}, {payment_info}, "
"{url}, {invoice_name}, {invoice_company}"
msgstr ""
"Verfügbare Platzhalter: {event}, {total}, {currency}, {date}, {paymentinfo}, "
"Verfügbare Platzhalter: {event}, {total}, {currency}, {date}, {payment_info}, "
"{url}, {invoice_name}, {invoice_company}"
#: pretix/control/forms/event.py:502
@@ -9320,7 +9320,7 @@ msgstr "Deutsch (Du)"
#~ "\n"
#~ "we successfully received your order for %(event)s with a total value\n"
#~ "of %(total)s %(currency)s. Please complete your payment before %(date)s.\n"
#~ "%(paymentinfo)s\n"
#~ "%(payment_info)s\n"
#~ "\n"
#~ "You can change your order details and view the status of your order at\n"
#~ "\n"
@@ -9334,7 +9334,7 @@ msgstr "Deutsch (Du)"
#~ "wir haben Ihre Bestellung für %(event)s mit einem Gesamtbetrag von\n"
#~ "%(total)s %(currency)s erhalten. Bitte schließen Sie die Bezahlung bis "
#~ "%(date)s ab.\n"
#~ "%(paymentinfo)s\n"
#~ "%(payment_info)s\n"
#~ "\n"
#~ "Sie können Ihrer Bestellung unter folgender Adresse einsehen und ändern:\n"
#~ "%(url)s\n"