mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-29 20:30:39 +00:00 
			
		
		
		
	Fix missed translation of overallocation string (#4681)
* Fix missed translation of overallocation string * Added missing translation prefix on string for Overallocation REJECT choice * Fix missing translation in part admin panel * Added missing translation prefix on string for "variant of" column in admin panel
This commit is contained in:
		| @@ -489,7 +489,7 @@ class OverallocationChoice(): | ||||
|     TRIM = 'trim' | ||||
|  | ||||
|     OPTIONS = { | ||||
|         REJECT: ('Not permitted'), | ||||
|         REJECT: _('Not permitted'), | ||||
|         ACCEPT: _('Accept as consumed by this build order'), | ||||
|         TRIM: _('Deallocate before completing this build order'), | ||||
|     } | ||||
|   | ||||
| @@ -43,7 +43,7 @@ class PartResource(InvenTreeResource): | ||||
|     category_name = Field(attribute='category__name', column_name=_('Category Name'), readonly=True) | ||||
|     default_location = Field(attribute='default_location', column_name=_('Default Location ID'), widget=widgets.ForeignKeyWidget(StockLocation)) | ||||
|     default_supplier = Field(attribute='default_supplier', column_name=_('Default Supplier ID'), widget=widgets.ForeignKeyWidget(SupplierPart)) | ||||
|     variant_of = Field(attribute='variant_of', column_name=('Variant Of'), widget=widgets.ForeignKeyWidget(models.Part)) | ||||
|     variant_of = Field(attribute='variant_of', column_name=_('Variant Of'), widget=widgets.ForeignKeyWidget(models.Part)) | ||||
|     minimum_stock = Field(attribute='minimum_stock', column_name=_('Minimum Stock')) | ||||
|  | ||||
|     # Part Attributes | ||||
|   | ||||
		Reference in New Issue
	
	Block a user