mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Added translation strings for stock.models
This commit is contained in:
parent
5ffbfe8eb8
commit
81a226c760
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-11-18 21:41+0000\n"
|
"POT-Creation-Date: 2019-11-18 21:46+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -733,6 +733,46 @@ msgstr ""
|
|||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:297
|
||||||
|
msgid "Base part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:304
|
||||||
|
msgid "Select a matching supplier part for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:308
|
||||||
|
msgid "Where is this stock item located?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:312
|
||||||
|
msgid "Is this item installed in another item?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:316
|
||||||
|
msgid "Item assigned to customer?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:319
|
||||||
|
msgid "Serial number for this item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:324
|
||||||
|
msgid "Batch code for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:333
|
||||||
|
msgid "Build for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:342
|
||||||
|
msgid "Purchase order for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:353
|
||||||
|
msgid "Delete this Stock Item when stock is depleted"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:360
|
#: stock/models.py:360
|
||||||
msgid "Stock Item Notes"
|
msgid "Stock Item Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -767,6 +807,18 @@ msgstr ""
|
|||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:725
|
||||||
|
msgid "Tracking entry title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:727
|
||||||
|
msgid "Entry notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:729
|
||||||
|
msgid "Link to external page for further information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/item.html:8
|
#: stock/templates/stock/item.html:8
|
||||||
msgid "Stock Item Details"
|
msgid "Stock Item Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-11-18 21:41+0000\n"
|
"POT-Creation-Date: 2019-11-18 21:46+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -733,6 +733,46 @@ msgstr ""
|
|||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:297
|
||||||
|
msgid "Base part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:304
|
||||||
|
msgid "Select a matching supplier part for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:308
|
||||||
|
msgid "Where is this stock item located?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:312
|
||||||
|
msgid "Is this item installed in another item?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:316
|
||||||
|
msgid "Item assigned to customer?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:319
|
||||||
|
msgid "Serial number for this item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:324
|
||||||
|
msgid "Batch code for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:333
|
||||||
|
msgid "Build for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:342
|
||||||
|
msgid "Purchase order for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:353
|
||||||
|
msgid "Delete this Stock Item when stock is depleted"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:360
|
#: stock/models.py:360
|
||||||
msgid "Stock Item Notes"
|
msgid "Stock Item Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -767,6 +807,18 @@ msgstr ""
|
|||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:725
|
||||||
|
msgid "Tracking entry title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:727
|
||||||
|
msgid "Entry notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:729
|
||||||
|
msgid "Link to external page for further information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/item.html:8
|
#: stock/templates/stock/item.html:8
|
||||||
msgid "Stock Item Details"
|
msgid "Stock Item Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2019-11-18 21:41+0000\n"
|
"POT-Creation-Date: 2019-11-18 21:46+0000\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -733,6 +733,46 @@ msgstr ""
|
|||||||
msgid "Item cannot belong to itself"
|
msgid "Item cannot belong to itself"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:297
|
||||||
|
msgid "Base part"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:304
|
||||||
|
msgid "Select a matching supplier part for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:308
|
||||||
|
msgid "Where is this stock item located?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:312
|
||||||
|
msgid "Is this item installed in another item?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:316
|
||||||
|
msgid "Item assigned to customer?"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:319
|
||||||
|
msgid "Serial number for this item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:324
|
||||||
|
msgid "Batch code for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:333
|
||||||
|
msgid "Build for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:342
|
||||||
|
msgid "Purchase order for this stock item"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:353
|
||||||
|
msgid "Delete this Stock Item when stock is depleted"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/models.py:360
|
#: stock/models.py:360
|
||||||
msgid "Stock Item Notes"
|
msgid "Stock Item Notes"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
@ -767,6 +807,18 @@ msgstr ""
|
|||||||
msgid "Serialized {n} items"
|
msgid "Serialized {n} items"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:725
|
||||||
|
msgid "Tracking entry title"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:727
|
||||||
|
msgid "Entry notes"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: stock/models.py:729
|
||||||
|
msgid "Link to external page for further information"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#: stock/templates/stock/item.html:8
|
#: stock/templates/stock/item.html:8
|
||||||
msgid "Stock Item Details"
|
msgid "Stock Item Details"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -294,34 +294,34 @@ class StockItem(models.Model):
|
|||||||
)
|
)
|
||||||
|
|
||||||
part = models.ForeignKey('part.Part', on_delete=models.CASCADE,
|
part = models.ForeignKey('part.Part', on_delete=models.CASCADE,
|
||||||
related_name='stock_items', help_text='Base part',
|
related_name='stock_items', help_text=_('Base part'),
|
||||||
limit_choices_to={
|
limit_choices_to={
|
||||||
'is_template': False,
|
'is_template': False,
|
||||||
'active': True,
|
'active': True,
|
||||||
})
|
})
|
||||||
|
|
||||||
supplier_part = models.ForeignKey('company.SupplierPart', blank=True, null=True, on_delete=models.SET_NULL,
|
supplier_part = models.ForeignKey('company.SupplierPart', blank=True, null=True, on_delete=models.SET_NULL,
|
||||||
help_text='Select a matching supplier part for this stock item')
|
help_text=_('Select a matching supplier part for this stock item'))
|
||||||
|
|
||||||
location = TreeForeignKey(StockLocation, on_delete=models.DO_NOTHING,
|
location = TreeForeignKey(StockLocation, on_delete=models.DO_NOTHING,
|
||||||
related_name='stock_items', blank=True, null=True,
|
related_name='stock_items', blank=True, null=True,
|
||||||
help_text='Where is this stock item located?')
|
help_text=_('Where is this stock item located?'))
|
||||||
|
|
||||||
belongs_to = models.ForeignKey('self', on_delete=models.DO_NOTHING,
|
belongs_to = models.ForeignKey('self', on_delete=models.DO_NOTHING,
|
||||||
related_name='owned_parts', blank=True, null=True,
|
related_name='owned_parts', blank=True, null=True,
|
||||||
help_text='Is this item installed in another item?')
|
help_text=_('Is this item installed in another item?'))
|
||||||
|
|
||||||
customer = models.ForeignKey('company.Company', on_delete=models.SET_NULL,
|
customer = models.ForeignKey('company.Company', on_delete=models.SET_NULL,
|
||||||
related_name='stockitems', blank=True, null=True,
|
related_name='stockitems', blank=True, null=True,
|
||||||
help_text='Item assigned to customer?')
|
help_text=_('Item assigned to customer?'))
|
||||||
|
|
||||||
serial = models.PositiveIntegerField(blank=True, null=True,
|
serial = models.PositiveIntegerField(blank=True, null=True,
|
||||||
help_text='Serial number for this item')
|
help_text=_('Serial number for this item'))
|
||||||
|
|
||||||
URL = InvenTreeURLField(max_length=125, blank=True)
|
URL = InvenTreeURLField(max_length=125, blank=True)
|
||||||
|
|
||||||
batch = models.CharField(max_length=100, blank=True, null=True,
|
batch = models.CharField(max_length=100, blank=True, null=True,
|
||||||
help_text='Batch code for this stock item')
|
help_text=_('Batch code for this stock item'))
|
||||||
|
|
||||||
quantity = models.PositiveIntegerField(validators=[MinValueValidator(0)], default=1)
|
quantity = models.PositiveIntegerField(validators=[MinValueValidator(0)], default=1)
|
||||||
|
|
||||||
@ -330,7 +330,7 @@ class StockItem(models.Model):
|
|||||||
build = models.ForeignKey(
|
build = models.ForeignKey(
|
||||||
'build.Build', on_delete=models.SET_NULL,
|
'build.Build', on_delete=models.SET_NULL,
|
||||||
blank=True, null=True,
|
blank=True, null=True,
|
||||||
help_text='Build for this stock item',
|
help_text=_('Build for this stock item'),
|
||||||
related_name='build_outputs',
|
related_name='build_outputs',
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -339,7 +339,7 @@ class StockItem(models.Model):
|
|||||||
on_delete=models.SET_NULL,
|
on_delete=models.SET_NULL,
|
||||||
related_name='stock_items',
|
related_name='stock_items',
|
||||||
blank=True, null=True,
|
blank=True, null=True,
|
||||||
help_text='Purchase order for this stock item'
|
help_text=_('Purchase order for this stock item')
|
||||||
)
|
)
|
||||||
|
|
||||||
# last time the stock was checked / counted
|
# last time the stock was checked / counted
|
||||||
@ -350,7 +350,7 @@ class StockItem(models.Model):
|
|||||||
|
|
||||||
review_needed = models.BooleanField(default=False)
|
review_needed = models.BooleanField(default=False)
|
||||||
|
|
||||||
delete_on_deplete = models.BooleanField(default=True, help_text='Delete this Stock Item when stock is depleted')
|
delete_on_deplete = models.BooleanField(default=True, help_text=_('Delete this Stock Item when stock is depleted'))
|
||||||
|
|
||||||
status = models.PositiveIntegerField(
|
status = models.PositiveIntegerField(
|
||||||
default=StockStatus.OK,
|
default=StockStatus.OK,
|
||||||
@ -722,11 +722,11 @@ class StockItemTracking(models.Model):
|
|||||||
|
|
||||||
date = models.DateTimeField(auto_now_add=True, editable=False)
|
date = models.DateTimeField(auto_now_add=True, editable=False)
|
||||||
|
|
||||||
title = models.CharField(blank=False, max_length=250, help_text='Tracking entry title')
|
title = models.CharField(blank=False, max_length=250, help_text=_('Tracking entry title'))
|
||||||
|
|
||||||
notes = models.CharField(blank=True, max_length=512, help_text='Entry notes')
|
notes = models.CharField(blank=True, max_length=512, help_text=_('Entry notes'))
|
||||||
|
|
||||||
URL = InvenTreeURLField(blank=True, help_text='Link to external page for further information')
|
URL = InvenTreeURLField(blank=True, help_text=_('Link to external page for further information'))
|
||||||
|
|
||||||
user = models.ForeignKey(User, on_delete=models.SET_NULL, blank=True, null=True)
|
user = models.ForeignKey(User, on_delete=models.SET_NULL, blank=True, null=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user