2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 11:36:44 +00:00

Merge pull request #2929 from SchrodingersGat/spelling-fixes

Fix speling errors in translated strings
This commit is contained in:
Oliver 2022-05-04 09:56:47 +10:00 committed by GitHub
commit 628c9edd09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -537,7 +537,7 @@ def extract_serial_numbers(serials, expected_quantity, next_number: int):
# The number of extracted serial numbers must match the expected quantity # The number of extracted serial numbers must match the expected quantity
if not expected_quantity == len(numbers): if not expected_quantity == len(numbers):
raise ValidationError([_("Number of unique serial number ({s}) must match quantity ({q})").format(s=len(numbers), q=expected_quantity)]) raise ValidationError([_("Number of unique serial numbers ({s}) must match quantity ({q})").format(s=len(numbers), q=expected_quantity)])
return numbers return numbers

View File

@ -1177,7 +1177,7 @@ class BuildItem(models.Model):
a = normalize(self.stock_item.quantity) a = normalize(self.stock_item.quantity)
raise ValidationError({ raise ValidationError({
'quantity': _(f'Allocated quantity ({q}) must not execed available stock quantity ({a})') 'quantity': _(f'Allocated quantity ({q}) must not exceed available stock quantity ({a})')
}) })
# Allocated quantity cannot cause the stock item to be over-allocated # Allocated quantity cannot cause the stock item to be over-allocated

View File

@ -387,7 +387,7 @@ class BuildOutputCompleteSerializer(serializers.Serializer):
default=False, default=False,
required=False, required=False,
label=_('Accept Incomplete Allocation'), label=_('Accept Incomplete Allocation'),
help_text=_('Complete ouputs if stock has not been fully allocated'), help_text=_('Complete outputs if stock has not been fully allocated'),
) )
notes = serializers.CharField( notes = serializers.CharField(