mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
improve wording of category types
This commit is contained in:
@@ -112,7 +112,7 @@ class ItemCategory(LoggedModel):
|
|||||||
)
|
)
|
||||||
CROSS_SELLING_MODES = (
|
CROSS_SELLING_MODES = (
|
||||||
(None, _('Normal category')),
|
(None, _('Normal category')),
|
||||||
('both', _('Combined cross-selling category')),
|
('both', _('Normal + cross-selling category')),
|
||||||
('only', _('Cross-selling category')),
|
('only', _('Cross-selling category')),
|
||||||
)
|
)
|
||||||
cross_selling_mode = models.CharField(
|
cross_selling_mode = models.CharField(
|
||||||
@@ -152,7 +152,7 @@ class ItemCategory(LoggedModel):
|
|||||||
|
|
||||||
def get_category_type_display(self):
|
def get_category_type_display(self):
|
||||||
if self.is_addon:
|
if self.is_addon:
|
||||||
return _('Add-on products')
|
return _('Add-on category')
|
||||||
elif self.cross_selling_mode:
|
elif self.cross_selling_mode:
|
||||||
return self.get_cross_selling_mode_display()
|
return self.get_cross_selling_mode_display()
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user