Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Set label for cls_name field
Marcin Gębalafaee6e45594f
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.pyindex 371f8a739f..98720f6bfb 100644--- a/saleor/dashboard/product/forms.py+++ b/saleor/dashboard/product/forms.py@@ -1,9 +1,9 @@from __future__ import unicode_literalsfrom django import forms-from django.forms.formsets import formset_factoryfrom django.forms.models import inlineformset_factoryfrom django.forms.widgets import ClearableFileInput+from django.utils.translation import pgettext_lazyfrom ...product.models import (ProductImage, Product, ShirtVariant, BagVariant,Shirt, Bag)@@ -15,6 +15,7 @@ PRODUCT_CLASSES = {class ProductClassForm(forms.Form):cls_name = forms.ChoiceField(+ label=pgettext_lazy('Product class form label', 'Product class'),widget=forms.RadioSelect,choices=[(name, name.capitalize()) for name in PRODUCT_CLASSES.keys()])