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:
commit
628c9edd09
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user