Fix speling errors in translated strings

This commit is contained in:
Oliver Walters 2022-05-04 09:17:42 +10:00
parent a191e45511
commit 75e24635b5
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
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

View File

@ -1177,7 +1177,7 @@ class BuildItem(models.Model):
a = normalize(self.stock_item.quantity)
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

View File

@ -387,7 +387,7 @@ class BuildOutputCompleteSerializer(serializers.Serializer):
default=False,
required=False,
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(