mirror of
https://github.com/pretix/pretix.git
synced 2026-05-07 15:34:02 +00:00
Fix gettext singular forms in cart error_messages (#6147)
This commit is contained in:
@@ -162,12 +162,12 @@ error_messages = {
|
|||||||
'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': ngettext_lazy(
|
'voucher_min_usages': 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 product.',
|
||||||
'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.',
|
||||||
'number'
|
'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 product. '
|
||||||
'We have therefore removed some positions from your cart that can no longer be purchased like this.',
|
'We have therefore removed some positions from your cart that can no longer be purchased like this.',
|
||||||
'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. '
|
||||||
'We have therefore removed some positions from your cart that can no longer be purchased like this.',
|
'We have therefore removed some positions from your cart that can no longer be purchased like this.',
|
||||||
|
|||||||
Reference in New Issue
Block a user