mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix missing pluralization of error message
This commit is contained in:
@@ -141,9 +141,10 @@ error_messages = {
|
|||||||
'price_not_a_number': gettext_lazy('The entered price is not a number.'),
|
'price_not_a_number': gettext_lazy('The entered price is not a number.'),
|
||||||
'price_too_high': gettext_lazy('The entered price is to high.'),
|
'price_too_high': gettext_lazy('The entered price is to high.'),
|
||||||
'voucher_invalid': gettext_lazy('This voucher code is not known in our database.'),
|
'voucher_invalid': gettext_lazy('This voucher code is not known in our database.'),
|
||||||
'voucher_min_usages': gettext_lazy(
|
'voucher_min_usages': ngettext_lazy(
|
||||||
'The voucher code "%(voucher)s" can only be used if you select at least %(number)s '
|
'The voucher code "%(voucher)s" can only be used if you select at least %(number)s matching products.',
|
||||||
'matching products.'
|
'The voucher code "%(voucher)s" can only be used if you select at least %(number)s matching products.',
|
||||||
|
'number'
|
||||||
),
|
),
|
||||||
'voucher_min_usages_removed': ngettext_lazy(
|
'voucher_min_usages_removed': ngettext_lazy(
|
||||||
'The voucher code "%(voucher)s" can only be used if you select at least %(number)s matching products. '
|
'The voucher code "%(voucher)s" can only be used if you select at least %(number)s matching products. '
|
||||||
|
|||||||
Reference in New Issue
Block a user