From b77b9d20ddc6460fe04648058f41b82a7a5488cf Mon Sep 17 00:00:00 2001 From: Marce Date: Mon, 29 Apr 2024 09:47:47 -0600 Subject: [PATCH] Translations discard field --- src/laboratory/shelfobject/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/laboratory/shelfobject/forms.py b/src/laboratory/shelfobject/forms.py index 48e7f4ab..15e40f2a 100644 --- a/src/laboratory/shelfobject/forms.py +++ b/src/laboratory/shelfobject/forms.py @@ -701,7 +701,7 @@ class Meta: class EditEquimentShelfobjectForm(forms.ModelForm, GTForm): description = forms.CharField(widget=genwidgets.Textarea, label=_("Description")) status = forms.ModelChoiceField(queryset=Catalog.objects.filter(key='shelfobject_status'), label=_("Status"), widget=genwidgets.Select) - marked_as_discard = forms.BooleanField(widget=genwidgets.YesNoInput, required=False) + marked_as_discard = forms.BooleanField(widget=genwidgets.YesNoInput, required=False, label=_("Mark as discard")) def __init__(self, *args, **kwargs): org = kwargs.pop("org_pk")