forked from CGM_Public/pretix_original
Improve string quality and consistency
This commit is contained in:
@@ -24,7 +24,7 @@ from collections import namedtuple
|
||||
from functools import partial
|
||||
|
||||
from django.db.models import Max, Q
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _, pgettext_lazy
|
||||
|
||||
from pretix.base.models import Checkin, InvoiceAddress, Order, Question
|
||||
from pretix.base.settings import PERSON_NAME_SCHEMES
|
||||
@@ -132,7 +132,7 @@ CAT_PRODUCT = DataFieldCategory(20, _('Product details'))
|
||||
CAT_ORDER = DataFieldCategory(21, _('Order details'))
|
||||
CAT_INVOICE_ADDRESS = DataFieldCategory(22, _('Invoice address'))
|
||||
CAT_EVENT = DataFieldCategory(30, _('Event information'))
|
||||
CAT_EVENT_OR_SUBEVENT = DataFieldCategory(31, _('Event or subevent information'))
|
||||
CAT_EVENT_OR_SUBEVENT = DataFieldCategory(31, pgettext_lazy('subevent', 'Event or date information'))
|
||||
|
||||
DataFieldInfo = namedtuple(
|
||||
'DataFieldInfo',
|
||||
@@ -524,7 +524,7 @@ def get_data_fields(event, for_model=None):
|
||||
ORDER,
|
||||
CAT_ORDER,
|
||||
"order_locale",
|
||||
_("Order language code"),
|
||||
_("Order locale"),
|
||||
Question.TYPE_CHOICE,
|
||||
[(lc, lc) for lc in event.settings.locales],
|
||||
lambda order: [order.locale],
|
||||
@@ -542,7 +542,7 @@ def get_data_fields(event, for_model=None):
|
||||
ORDER,
|
||||
CAT_ORDER,
|
||||
"presale_order_url",
|
||||
_("Order URL"),
|
||||
_("Order link"),
|
||||
Question.TYPE_STRING,
|
||||
None,
|
||||
lambda order: build_absolute_uri(
|
||||
@@ -557,7 +557,7 @@ def get_data_fields(event, for_model=None):
|
||||
ORDER_POSITION,
|
||||
CAT_ORDER_POSITION,
|
||||
"presale_ticket_url",
|
||||
_("Ticket URL"),
|
||||
_("Ticket link"),
|
||||
Question.TYPE_STRING,
|
||||
None,
|
||||
lambda op: build_absolute_uri(
|
||||
|
||||
@@ -50,7 +50,7 @@ class ItalianSdITransmissionType(TransmissionType):
|
||||
required=False,
|
||||
),
|
||||
"transmission_it_sdi_pec": forms.EmailField(
|
||||
label=pgettext_lazy("italian_invoice", "Address for certified electronical mail"),
|
||||
label=pgettext_lazy("italian_invoice", "Address for certified electronic mail"),
|
||||
widget=forms.EmailInput()
|
||||
),
|
||||
"transmission_it_sdi_recipient_code": forms.CharField(
|
||||
|
||||
@@ -527,7 +527,7 @@ def pretixcontrol_orderposition_blocked_display(sender: Event, orderposition, bl
|
||||
'pretix.event.order.invoice.sent': _('The invoice {full_invoice_no} has been sent.'),
|
||||
'pretix.event.order.invoice.sending_failed': _('The transmission of invoice {full_invoice_no} has failed.'),
|
||||
'pretix.event.order.invoice.testmode_ignored': _('Invoice {full_invoice_no} has not been transmitted because '
|
||||
'no transmission provider supports test mode invoices.'),
|
||||
'the transmission provider does not support test mode invoices.'),
|
||||
'pretix.event.order.invoice.retransmitted': _('The invoice {full_invoice_no} has been scheduled for retransmission.'),
|
||||
'pretix.event.order.comment': _('The order\'s internal comment has been updated.'),
|
||||
'pretix.event.order.custom_followup_at': _('The order\'s follow-up date has been updated.'),
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
{% elif plugin.level == "event_organizer" %}
|
||||
<p>
|
||||
{% blocktrans trimmed with name=plugin.name %}
|
||||
The plugin "{{ name }}" is enabled for your organizer account, but also needs to be enabled for the
|
||||
The plugin "{{ name }}" is enabled for your organizer account, but also needs to be enabled for the
|
||||
specific events you want to use it with.
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
@@ -93,6 +93,7 @@ csv
|
||||
Customer
|
||||
CZK
|
||||
Dashboard
|
||||
Datensynchronisation
|
||||
Debug
|
||||
dekodi
|
||||
deliverability
|
||||
@@ -242,6 +243,7 @@ PayPals
|
||||
PayU
|
||||
PCI
|
||||
Personalisierung
|
||||
PEPPOl
|
||||
PKCE
|
||||
Platzhalterzeichen
|
||||
Play
|
||||
@@ -298,6 +300,7 @@ schiefgeht
|
||||
schiefgelaufen
|
||||
Scope
|
||||
Scopes
|
||||
SdI
|
||||
sechsstelligen
|
||||
Secret
|
||||
Security
|
||||
@@ -330,6 +333,7 @@ Stripe
|
||||
Stripes
|
||||
Strong
|
||||
Swish
|
||||
Synchronisations
|
||||
systemweiten
|
||||
Tab
|
||||
tag
|
||||
@@ -377,6 +381,7 @@ USt
|
||||
Überweisungs
|
||||
Überzahlten
|
||||
Validierung
|
||||
Validierungsregeln
|
||||
Venmo
|
||||
Veranstalterdomain
|
||||
Veranstaltereinstellungen
|
||||
|
||||
@@ -108,6 +108,7 @@ overpayment
|
||||
OXXO
|
||||
Pago
|
||||
PayU
|
||||
PEPPOL
|
||||
PCI
|
||||
PKCE
|
||||
PDFs
|
||||
@@ -134,12 +135,15 @@ redemptions
|
||||
Referer
|
||||
renderer
|
||||
renderers
|
||||
retransmission
|
||||
Retransmit
|
||||
Revolut
|
||||
Sa
|
||||
Samplecity
|
||||
SAQ
|
||||
SCA
|
||||
selectable
|
||||
SdI
|
||||
SEPA
|
||||
silvicultural
|
||||
smtp
|
||||
|
||||
Reference in New Issue
Block a user