Improve translation source text (#4254)

* Improve translation source text

* Add migration file for translation
This commit is contained in:
Oliver 2023-01-26 22:34:30 +11:00 committed by GitHub
parent c838bddc19
commit 26f71b3fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.16 on 2023-01-25 02:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('part', '0093_auto_20230115_1404'),
]
operations = [
migrations.AlterField(
model_name='part',
name='units',
field=models.CharField(blank=True, default='', help_text='Units of measure for this part', max_length=20, null=True, verbose_name='Units'),
),
]

View File

@ -950,7 +950,7 @@ class Part(InvenTreeBarcodeMixin, MetadataMixin, MPTTModel):
max_length=20, default="",
blank=True, null=True,
verbose_name=_('Units'),
help_text=_('Stock keeping units for this part')
help_text=_('Units of measure for this part')
)
assembly = models.BooleanField(