Manually merge changes from #672 (thanks @koebi!)

This commit is contained in:
Raphael Michel
2017-11-04 11:29:02 +01:00
parent b94f307379
commit 1c7df4d9f7
5 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
{% if possible %}
<p>{% blocktrans %}Are you sure you want to delete the product <strong>{{ item }}</strong>?{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}You cannot delete the product <strong>{{ item }}</strong> because it already has been ordered, but you can deactive it.{% endblocktrans %}</p>
<p>{% blocktrans %}You cannot delete the product <strong>{{ item }}</strong> because it already has been ordered, but you can deactivate it.{% endblocktrans %}</p>
{% endif %}
<div class="form-group submit-group">
<a href="{% url "control:event.items" organizer=request.event.organizer.slug event=request.event.slug %}" class="btn btn-default btn-cancel">

View File

@@ -6192,7 +6192,7 @@ msgstr "Möchten Sie das Produkt <strong>%(item)s</strong> wirklich löschen?"
#, python-format
msgid ""
"You cannot delete the product <strong>%(item)s</strong> because it already "
"has been ordered, but you can deactive it."
"has been ordered, but you can deactivate it."
msgstr ""
"Das Produkt <strong>%(item)s</strong> kann nicht gelöscht werden, da es "
"bereits bestellt wurde, aber Sie können es deaktivieren."
@@ -9847,7 +9847,7 @@ msgstr "Stripe meldete ein Ereignis: {}"
msgid ""
"The Stripe transaction <a %(stripe_href)s>%(charge)s</a> has succeeded, but "
"the order %(order)s is expired and the product was sold out in the meantime. "
"Therefore, the payment could not be acceped. Please contact the user and "
"Therefore, the payment could not be accepted. Please contact the user and "
"refund the money via Stripe's interface."
msgstr ""
"Die Stripe-Zahlung <a %(stripe_href)s>%(charge)s</a> war erfolgreich, aber "
@@ -10327,7 +10327,7 @@ msgid "Invoice address: name"
msgstr "Rechnungsadresse: Name"
#: pretix/plugins/ticketoutputpdf/ticketoutput.py:133
msgid "Invocie address: company"
msgid "Invoice address: company"
msgstr "Rechnungsadresse: Firma"
#: pretix/plugins/ticketoutputpdf/ticketoutput.py:134

View File

@@ -6179,7 +6179,7 @@ msgstr "Möchtest du das Produkt <strong>%(item)s</strong> wirklich löschen?"
#, python-format
msgid ""
"You cannot delete the product <strong>%(item)s</strong> because it already "
"has been ordered, but you can deactive it."
"has been ordered, but you can deactivate it."
msgstr ""
"Das Produkt <strong>%(item)s</strong> kann nicht gelöscht werden, da es "
"bereits bestellt wurde, aber du kannst es deaktivieren."
@@ -9825,7 +9825,7 @@ msgstr "Stripe meldete ein Ereignis: {}"
msgid ""
"The Stripe transaction <a %(stripe_href)s>%(charge)s</a> has succeeded, but "
"the order %(order)s is expired and the product was sold out in the meantime. "
"Therefore, the payment could not be acceped. Please contact the user and "
"Therefore, the payment could not be accepted. Please contact the user and "
"refund the money via Stripe's interface."
msgstr ""
"Die Stripe-Zahlung <a %(stripe_href)s>%(charge)s</a> war erfolgreich, aber "
@@ -10308,7 +10308,7 @@ msgid "Invoice address: name"
msgstr "Rechnungsadresse: Name"
#: pretix/plugins/ticketoutputpdf/ticketoutput.py:133
msgid "Invocie address: company"
msgid "Invoice address: company"
msgstr "Rechnungsadresse: Firma"
#: pretix/plugins/ticketoutputpdf/ticketoutput.py:134

View File

@@ -4,7 +4,7 @@
{% url "control:event.order" organizer=event.organizer.slug event=event.slug code=data.order as ourl %}
{% blocktrans trimmed with charge=data.charge stripe_href="href='https://dashboard.stripe.com/payments/"|add:data.charge|add:"' target='_blank'"|safe order="<a href='"|add:ourl|add:"'>"|add:data.order|add:"</a>"|safe %}
The Stripe transaction <a {{ stripe_href }}>{{ charge }}</a> has succeeded, but the order {{ order }} is
expired and the product was sold out in the meantime. Therefore, the payment could not be acceped. Please
expired and the product was sold out in the meantime. Therefore, the payment could not be accepted. Please
contact the user and refund the money via Stripe's interface.
{% endblocktrans %}
</p>

View File

@@ -130,7 +130,7 @@ DEFAULT_VARIABLES = OrderedDict((
"evaluate": lambda op, order, ev: order.invoice_address.name if getattr(order, 'invoice_address') else ''
}),
("invoice_company", {
"label": _("Invocie address: company"),
"label": _("Invoice address: company"),
"editor_sample": _("Sample company"),
"evaluate": lambda op, order, ev: order.invoice_address.company if getattr(order, 'invoice_address') else ''
}),