mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix unclear labels and validations
This commit is contained in:
@@ -104,7 +104,7 @@ class UserSettingsForm(forms.ModelForm):
|
||||
|
||||
|
||||
class User2FADeviceAddForm(forms.Form):
|
||||
name = forms.CharField(label=_('Device name'))
|
||||
name = forms.CharField(label=_('Device name'), max_length=64)
|
||||
devicetype = forms.ChoiceField(label=_('Device type'), widget=forms.RadioSelect, choices=(
|
||||
('totp', _('Smartphone with the Authenticator application')),
|
||||
('u2f', _('U2F-compatible hardware token (e.g. Yubikey)')),
|
||||
|
||||
@@ -163,7 +163,7 @@ class CartManager:
|
||||
if not isinstance(custom_price, Decimal):
|
||||
custom_price = Decimal(custom_price.replace(",", "."))
|
||||
if custom_price > 100000000:
|
||||
return error_messages['price_too_high']
|
||||
raise CartError(error_messages['price_too_high'])
|
||||
if self.event.settings.display_net_prices:
|
||||
custom_price = round_decimal(custom_price * (100 + item.tax_rate) / 100)
|
||||
price = max(custom_price, price)
|
||||
|
||||
@@ -6709,7 +6709,7 @@ msgstr "Steuer"
|
||||
#: pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html:4
|
||||
#: pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html:6
|
||||
msgid "Send out emails"
|
||||
msgstr "E-Mails versenden"
|
||||
msgstr "E-Mails verschicken"
|
||||
|
||||
#: pretix/plugins/sendmail/__init__.py:15
|
||||
msgid "This plugin allows you to send out emails to all your customers."
|
||||
|
||||
@@ -6180,7 +6180,7 @@ msgstr "Beim Verarbeiten der Daten ist ein interner Fehler aufgetreten."
|
||||
#: pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html:21
|
||||
msgid ""
|
||||
"Your import did not contain any transactions that you did not import before."
|
||||
msgstr "Dein Import enthielt neuen Überweisungen."
|
||||
msgstr "Dein Import enthielt keine neuen Überweisungen."
|
||||
|
||||
#: pretix/plugins/banktransfer/templates/pretixplugins/banktransfer/job_detail.html:28
|
||||
msgid "Orders marked as paid"
|
||||
@@ -6687,7 +6687,7 @@ msgstr "Steuer"
|
||||
#: pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html:4
|
||||
#: pretix/plugins/sendmail/templates/pretixplugins/sendmail/send_form.html:6
|
||||
msgid "Send out emails"
|
||||
msgstr "E-Mails versenden"
|
||||
msgstr "E-Mails verschicken"
|
||||
|
||||
#: pretix/plugins/sendmail/__init__.py:15
|
||||
msgid "This plugin allows you to send out emails to all your customers."
|
||||
|
||||
@@ -94,7 +94,7 @@ class SenderView(EventPermissionRequiredMixin, FormView):
|
||||
if failures:
|
||||
messages.error(self.request, _('Failed to send mails to the following users: {}'.format(' '.join(failures))))
|
||||
else:
|
||||
messages.success(self.request, _('Your message has been queued to be sent to the selected users.'))
|
||||
messages.success(self.request, _('Your message has been queued and will be sent to the selected users.'))
|
||||
|
||||
return redirect(
|
||||
'plugins:sendmail:send',
|
||||
|
||||
Reference in New Issue
Block a user