Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Unify label contextes

akjanik756d766cb450
diff --git a/saleor/dashboard/category/forms.py b/saleor/dashboard/category/forms.py
index a594aeea61..fff38a2b0b 100644
--- a/saleor/dashboard/category/forms.py
+++ b/saleor/dashboard/category/forms.py
@@ -28,7 +28,7 @@ class CategoryForm(forms.ModelForm):
'Item name',
'Name'),
'description': pgettext_lazy(
- 'Item description',
+ 'Description',
'Description'),
'is_hidden': pgettext_lazy(
'Hide in site navigation toggle',
diff --git a/saleor/dashboard/order/forms.py b/saleor/dashboard/order/forms.py
index ece6b87122..c861ea936d 100644
--- a/saleor/dashboard/order/forms.py
+++ b/saleor/dashboard/order/forms.py
@@ -194,7 +194,7 @@ class ShipGroupForm(forms.ModelForm):
model = DeliveryGroup
fields = ['tracking_number']
labels = {
- 'tracking_number': pgettext_lazy(
+ 'Shipment tracking number': pgettext_lazy(
'Integer number', 'Tracking number')}
def __init__(self, *args, **kwargs):
diff --git a/saleor/dashboard/product/forms.py b/saleor/dashboard/product/forms.py
index 6b59c86141..d1a45dfb40 100644
--- a/saleor/dashboard/product/forms.py
+++ b/saleor/dashboard/product/forms.py
@@ -117,9 +117,9 @@ class ProductForm(forms.ModelForm):
exclude = ['attributes', 'product_class', 'updated_at']
labels = {
'name': pgettext_lazy('Item name', 'Name'),
- 'description': pgettext_lazy('Item description', 'Description'),
+ 'description': pgettext_lazy('Description', 'Description'),
'categories': pgettext_lazy('Categories', 'Categories'),
- 'price': pgettext_lazy('Price', 'Price'),
+ 'price': pgettext_lazy('Currency amount', 'Price'),
'available_on': pgettext_lazy(
'Availability date', 'Availability date'),
'is_published': pgettext_lazy(
@@ -263,7 +263,7 @@ class ProductImageForm(forms.ModelForm):
labels = {
'image': pgettext_lazy('Product image', 'Image'),
'alt': pgettext_lazy(
- 'Product image description', 'Short description')}
+ 'Description', 'Description')}
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
@@ -318,7 +318,7 @@ class AttributeChoiceValueForm(forms.ModelForm):
widgets = {'attribute': forms.widgets.HiddenInput()}
labels = {
'name': pgettext_lazy(
- 'Name', 'Name'),
+ 'Item name', 'Name'),
'color': pgettext_lazy(
'Color', 'Color')}
diff --git a/saleor/dashboard/shipping/forms.py b/saleor/dashboard/shipping/forms.py
index 28ad25b7a9..efd0848b67 100644
--- a/saleor/dashboard/shipping/forms.py
+++ b/saleor/dashboard/shipping/forms.py
@@ -26,4 +26,4 @@ class ShippingMethodCountryForm(forms.ModelForm):
'country_code': pgettext_lazy(
'List of countries', 'Country'),
'price': pgettext_lazy(
- 'Decimal number (currency field)', 'Price')}
+ 'Currency amount', 'Price')}
diff --git a/saleor/dashboard/sites/forms.py b/saleor/dashboard/sites/forms.py
index da15ca9b71..ca8facf754 100644
--- a/saleor/dashboard/sites/forms.py
+++ b/saleor/dashboard/sites/forms.py
@@ -32,8 +32,6 @@ class AuthorizationKeyForm(forms.ModelForm):
model = AuthorizationKey
exclude = []
labels = {
- 'site_settings': pgettext_lazy(
- 'Site settings', 'Settings'),
'key': pgettext_lazy(
'Key for chosen authorization method', 'Key'),
'password': pgettext_lazy(
diff --git a/saleor/userprofile/i18n.py b/saleor/userprofile/i18n.py
index 04bff66023..c811e0f935 100644
--- a/saleor/userprofile/i18n.py
+++ b/saleor/userprofile/i18n.py
@@ -93,9 +93,9 @@ class AddressForm(forms.ModelForm):
exclude = []
labels = {
'first_name': pgettext_lazy(
- 'Person\'s name', 'Given name'),
+ 'Personal name', 'Given name'),
'last_name': pgettext_lazy(
- 'Person\'s surname', 'Family name'),
+ 'Personal name', 'Family name'),
'company_name': pgettext_lazy(
'Company or organization', 'Company or organization'),
'street_address_1': pgettext_lazy(