mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
Translation test : Add context (#5987)
* Translation test : Add context - Adds extra context to the SKU field - Ref: https://github.com/inventree/InvenTree/issues/5984 * remove trailing comma
This commit is contained in:
parent
e11725078f
commit
2185bf0437
@ -13,6 +13,7 @@ from django.db.models.signals import post_delete, post_save
|
|||||||
from django.dispatch import receiver
|
from django.dispatch import receiver
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
from django.utils.translation import pgettext_lazy as __
|
||||||
|
|
||||||
from moneyed import CURRENCIES
|
from moneyed import CURRENCIES
|
||||||
from stdimage.models import StdImageField
|
from stdimage.models import StdImageField
|
||||||
@ -702,7 +703,7 @@ class SupplierPart(MetadataMixin, InvenTreeBarcodeMixin, common.models.MetaMixin
|
|||||||
|
|
||||||
SKU = models.CharField(
|
SKU = models.CharField(
|
||||||
max_length=100,
|
max_length=100,
|
||||||
verbose_name=_('SKU'),
|
verbose_name=__("SKU = Stock Keeping Unit (supplier part number)", 'SKU'),
|
||||||
help_text=_('Supplier stock keeping unit')
|
help_text=_('Supplier stock keeping unit')
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user