Wording: re-usable --> reusable

This commit is contained in:
Martin Gross
2026-05-29 12:27:26 +02:00
committed by Raphael Michel
parent 753556e134
commit 8dbefca9c6
3 changed files with 12 additions and 12 deletions

View File

@@ -453,8 +453,8 @@ class Item(LoggedModel):
MEDIA_POLICY_NEW = 'new' MEDIA_POLICY_NEW = 'new'
MEDIA_POLICY_REUSE_OR_NEW = 'reuse_or_new' MEDIA_POLICY_REUSE_OR_NEW = 'reuse_or_new'
MEDIA_POLICIES = ( MEDIA_POLICIES = (
(None, _("Don't use re-usable media, use regular one-off tickets")), (None, _("Don't use reusable media, use regular one-off tickets")),
(MEDIA_POLICY_REUSE, _('Require an existing medium to be re-used')), (MEDIA_POLICY_REUSE, _('Require an existing medium to be reused')),
(MEDIA_POLICY_NEW, _('Require a previously unknown medium to be newly added')), (MEDIA_POLICY_NEW, _('Require a previously unknown medium to be newly added')),
(MEDIA_POLICY_REUSE_OR_NEW, _('Require either an existing or a new medium to be used')), (MEDIA_POLICY_REUSE_OR_NEW, _('Require either an existing or a new medium to be used')),
) )
@@ -769,7 +769,7 @@ class Item(LoggedModel):
null=True, blank=True, max_length=16, null=True, blank=True, max_length=16,
verbose_name=_('Reusable media policy'), verbose_name=_('Reusable media policy'),
help_text=_( help_text=_(
'If this product should be stored on a re-usable physical medium, you can attach a physical media policy. ' 'If this product should be stored on a reusable physical medium, you can attach a physical media policy. '
'This is not required for regular tickets, which just use a one-time barcode, but only for products like ' 'This is not required for regular tickets, which just use a one-time barcode, but only for products like '
'renewable season tickets or re-chargeable gift card wristbands. ' 'renewable season tickets or re-chargeable gift card wristbands. '
'This is an advanced feature that also requires specific configuration of ticketing and printing settings.' 'This is an advanced feature that also requires specific configuration of ticketing and printing settings.'
@@ -778,7 +778,7 @@ class Item(LoggedModel):
media_type = models.CharField( media_type = models.CharField(
max_length=100, max_length=100,
null=True, blank=True, null=True, blank=True,
choices=[(None, _("Don't use re-usable media, use regular one-off tickets"))] + [(k, v) for k, v in MEDIA_TYPES.items()], choices=[(None, _("Don't use reusable media, use regular one-off tickets"))] + [(k, v) for k, v in MEDIA_TYPES.items()],
verbose_name=_('Reusable media type'), verbose_name=_('Reusable media type'),
help_text=_( help_text=_(
'Select the type of physical medium that should be used for this product. Note that not all media types ' 'Select the type of physical medium that should be used for this product. Note that not all media types '
@@ -2220,7 +2220,7 @@ class Quota(LoggedModel):
class ItemMetaProperty(LoggedModel): class ItemMetaProperty(LoggedModel):
""" """
An event can have ItemMetaProperty objects attached to define meta information fields An event can have ItemMetaProperty objects attached to define meta information fields
for its items. This information can be re-used for example in ticket layouts. for its items. This information can be reused for example in ticket layouts.
:param event: The event this property is defined for. :param event: The event this property is defined for.
:type event: Event :type event: Event

View File

@@ -211,9 +211,9 @@ DEFAULTS = {
'form_class': forms.BooleanField, 'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField, 'serializer_class': serializers.BooleanField,
'form_kwargs': dict( 'form_kwargs': dict(
label=_("Activate re-usable media"), label=_("Activate reusable media"),
help_text=_("The re-usable media feature allows you to connect tickets and gift cards with physical media " help_text=_("The reusable media feature allows you to connect tickets and gift cards with physical media "
"such as wristbands or chip cards that may be re-used for different tickets or gift cards " "such as wristbands or chip cards that may be reused for different tickets or gift cards "
"later.") "later.")
) )
}, },
@@ -223,9 +223,9 @@ DEFAULTS = {
'form_class': forms.BooleanField, 'form_class': forms.BooleanField,
'serializer_class': serializers.BooleanField, 'serializer_class': serializers.BooleanField,
'form_kwargs': dict( 'form_kwargs': dict(
label=_("Enforce the usage of issued re-usable media for check-in"), label=_("Enforce the usage of issued reusable media for check-in"),
help_text=_("If enabled, a ticket barcode will not be accepted anymore, if a re-usable medium has been " help_text=_("If enabled, a ticket barcode will not be accepted anymore, if a reusable medium has been "
"created and linked to a ticket. Keeping this option turned off will treat the re-usable " "created and linked to a ticket. Keeping this option turned off will treat the reusable "
"medium and ticket as equals."), "medium and ticket as equals."),
widget=forms.CheckboxInput(attrs={'data-display-dependency': '#id_settings-reusable_media_active'}), widget=forms.CheckboxInput(attrs={'data-display-dependency': '#id_settings-reusable_media_active'}),
) )

View File

@@ -86,7 +86,7 @@
<h3 class="nomargin-top">{% trans "Media exchange required" %}</h3> <h3 class="nomargin-top">{% trans "Media exchange required" %}</h3>
<p> <p>
{% blocktrans trimmed with media_policy=media_policies|getitem:result.media_policy media_type=media_types|getitem:result.media_type %} {% blocktrans trimmed with media_policy=media_policies|getitem:result.media_policy media_type=media_types|getitem:result.media_type %}
This ticket needs to be exchanged into a <strong>{{ media_type }}</strong> re-usable medium. This ticket needs to be exchanged into a <strong>{{ media_type }}</strong> reusable medium.
<strong>{{ media_policy }}</strong>. <strong>{{ media_policy }}</strong>.
{% endblocktrans %} {% endblocktrans %}
</p> </p>