From 26f71b3fac87a26d5aa2fac7b7e29867781bb2fa Mon Sep 17 00:00:00 2001 From: Oliver Date: Thu, 26 Jan 2023 22:34:30 +1100 Subject: [PATCH] Improve translation source text (#4254) * Improve translation source text * Add migration file for translation --- .../part/migrations/0094_alter_part_units.py | 18 ++++++++++++++++++ InvenTree/part/models.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 InvenTree/part/migrations/0094_alter_part_units.py diff --git a/InvenTree/part/migrations/0094_alter_part_units.py b/InvenTree/part/migrations/0094_alter_part_units.py new file mode 100644 index 0000000000..fc08e18292 --- /dev/null +++ b/InvenTree/part/migrations/0094_alter_part_units.py @@ -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'), + ), + ] diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index 21cceacaec..8b3d6055b7 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -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(