diff --git a/InvenTree/InvenTree/urls.py b/InvenTree/InvenTree/urls.py index 391541861b..e7530035d6 100644 --- a/InvenTree/InvenTree/urls.py +++ b/InvenTree/InvenTree/urls.py @@ -75,12 +75,12 @@ settings_urls = [ ] dynamic_javascript_urls = [ - url(r'^part.js', DynamicJsView.as_view(template_name='js/part.js'), name='part.js'), - url(r'^stock.js', DynamicJsView.as_view(template_name='js/stock.js'), name='stock.js'), - url(r'^build.js', DynamicJsView.as_view(template_name='js/build.js'), name='build.js'), - url(r'^order.js', DynamicJsView.as_view(template_name='js/order.js'), name='order.js'), - url(r'^company.js', DynamicJsView.as_view(template_name='js/company.js'), name='company.js'), - url(r'^bom.js', DynamicJsView.as_view(template_name='js/bom.js'), name='bom.js'), + url(r'^part.js', DynamicJsView.as_view(template_name='js/part.html'), name='part.js'), + url(r'^stock.js', DynamicJsView.as_view(template_name='js/stock.html'), name='stock.js'), + url(r'^build.js', DynamicJsView.as_view(template_name='js/build.html'), name='build.js'), + url(r'^order.js', DynamicJsView.as_view(template_name='js/order.html'), name='order.js'), + url(r'^company.js', DynamicJsView.as_view(template_name='js/company.html'), name='company.js'), + url(r'^bom.js', DynamicJsView.as_view(template_name='js/bom.html'), name='bom.js'), ] urlpatterns = [ diff --git a/InvenTree/locale/de/LC_MESSAGES/django.mo b/InvenTree/locale/de/LC_MESSAGES/django.mo index 84a39a22c6..83b96a9ff9 100644 Binary files a/InvenTree/locale/de/LC_MESSAGES/django.mo and b/InvenTree/locale/de/LC_MESSAGES/django.mo differ diff --git a/InvenTree/locale/de/LC_MESSAGES/django.po b/InvenTree/locale/de/LC_MESSAGES/django.po index 1fe40e8b54..f39f917874 100644 --- a/InvenTree/locale/de/LC_MESSAGES/django.po +++ b/InvenTree/locale/de/LC_MESSAGES/django.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-02 12:07+0000\n" +"POT-Creation-Date: 2020-05-02 12:11+0000\n" "PO-Revision-Date: 2020-02-02 08:07+0100\n" "Last-Translator: Christian Schlüter \n" "Language-Team: C \n" @@ -158,7 +158,7 @@ msgstr "Lagerobjekt bearbeiten" #: InvenTree/status_codes.py:214 build/templates/build/allocate.html:349 #: order/templates/order/sales_order_detail.html:220 -#: part/templates/part/tabs.html:21 +#: part/templates/part/tabs.html:21 templates/js/build.html:120 msgid "Allocated" msgstr "Zugeordnet" @@ -187,7 +187,7 @@ msgstr "Überschuss darf 100% nicht überschreiten" msgid "Overage must be an integer value or a percentage" msgstr "Überschuss muss eine Ganzzahl oder ein Prozentwert sein" -#: InvenTree/views.py:548 +#: InvenTree/views.py:547 msgid "Database Statistics" msgstr "" @@ -230,7 +230,9 @@ msgstr "" #: order/templates/order/order_wizard/select_parts.html:30 #: order/templates/order/purchase_order_detail.html:145 #: part/templates/part/part_app_base.html:7 -#: part/templates/part/set_category.html:13 +#: part/templates/part/set_category.html:13 templates/js/bom.html:135 +#: templates/js/build.html:41 templates/js/company.html:109 +#: templates/js/part.html:111 msgid "Part" msgstr "Teil" @@ -309,6 +311,7 @@ msgstr "Link zu einer externen URL" #: order/templates/order/purchase_order_detail.html:200 #: order/templates/order/so_tabs.html:23 part/templates/part/tabs.html:63 #: stock/models.py:439 stock/templates/stock/tabs.html:17 +#: templates/js/bom.html:229 msgid "Notes" msgstr "Notizen" @@ -403,7 +406,8 @@ msgstr "Seriennummer" #: stock/templates/stock/item_base.html:20 #: stock/templates/stock/item_base.html:26 #: stock/templates/stock/item_base.html:154 -#: stock/templates/stock/stock_adjust.html:18 +#: stock/templates/stock/stock_adjust.html:18 templates/js/bom.html:172 +#: templates/js/build.html:52 msgid "Quantity" msgstr "Anzahl" @@ -415,20 +419,20 @@ msgid "Location" msgstr "Standort" #: build/templates/build/allocate.html:201 -#: order/templates/order/sales_order_detail.html:92 +#: order/templates/order/sales_order_detail.html:92 templates/js/build.html:124 #, fuzzy #| msgid "Edit Stock Location" msgid "Edit stock allocation" msgstr "Lagerobjekt-Standort bearbeiten" #: build/templates/build/allocate.html:202 -#: order/templates/order/sales_order_detail.html:93 +#: order/templates/order/sales_order_detail.html:93 templates/js/build.html:125 #, fuzzy #| msgid "Delete Stock Location" msgid "Delete stock allocation" msgstr "Standort löschen" -#: build/templates/build/allocate.html:229 +#: build/templates/build/allocate.html:229 templates/js/bom.html:288 #, fuzzy #| msgid "No serial numbers found" msgid "No BOM items found" @@ -439,11 +443,15 @@ msgstr "Keine Seriennummern gefunden" #: company/templates/company/supplier_part_detail.html:27 #: order/templates/order/purchase_order_detail.html:157 #: part/templates/part/detail.html:38 part/templates/part/set_category.html:14 +#: templates/js/bom.html:157 templates/js/company.html:60 +#: templates/js/order.html:157 templates/js/order.html:230 +#: templates/js/part.html:167 msgid "Description" msgstr "Beschreibung" #: build/templates/build/allocate.html:333 #: order/templates/order/purchase_order_detail.html:170 +#: templates/js/bom.html:164 msgid "Reference" msgstr "Referenz" @@ -504,7 +512,8 @@ msgstr "Lagerobjekt dem Bau zuweisen" #: build/templates/build/build_base.html:8 #: build/templates/build/build_base.html:34 #: build/templates/build/complete.html:6 -#: stock/templates/stock/item_base.html:168 templates/navbar.html:12 +#: stock/templates/stock/item_base.html:168 templates/js/build.html:33 +#: templates/navbar.html:12 msgid "Build" msgstr "Bau" @@ -526,7 +535,8 @@ msgstr "Bau-Status" #: build/templates/build/build_base.html:80 #: build/templates/build/detail.html:42 -#: stock/templates/stock/item_base.html:221 +#: stock/templates/stock/item_base.html:221 templates/js/build.html:57 +#: templates/js/order.html:162 templates/js/order.html:235 msgid "Status" msgstr "Status" @@ -536,7 +546,7 @@ msgstr "Status" #: order/templates/order/sales_order_notes.html:10 #: order/templates/order/sales_order_ship.html:25 #: part/templates/part/allocation.html:27 -#: stock/templates/stock/item_base.html:122 +#: stock/templates/stock/item_base.html:122 templates/js/order.html:209 #, fuzzy #| msgid "Sales Orders" msgid "Sales Order" @@ -622,7 +632,7 @@ msgstr "Los" #: build/templates/build/detail.html:61 #: order/templates/order/order_base.html:93 -#: order/templates/order/sales_order_base.html:92 +#: order/templates/order/sales_order_base.html:92 templates/js/build.html:65 msgid "Created" msgstr "Erstellt" @@ -638,7 +648,7 @@ msgstr "Ja" msgid "No" msgstr "Nein" -#: build/templates/build/detail.html:80 +#: build/templates/build/detail.html:80 templates/js/build.html:70 msgid "Completed" msgstr "Fertig" @@ -951,7 +961,7 @@ msgid "Part packaging" msgstr "Teile-Packaging" #: company/templates/company/company_base.html:7 -#: company/templates/company/company_base.html:22 +#: company/templates/company/company_base.html:22 templates/js/company.html:38 msgid "Company" msgstr "Firma" @@ -962,7 +972,7 @@ msgstr "Firma" msgid "Company Details" msgstr "Firmenbemerkungen" -#: company/templates/company/company_base.html:48 +#: company/templates/company/company_base.html:48 templates/js/company.html:65 msgid "Website" msgstr "" @@ -985,6 +995,7 @@ msgstr "" #: company/templates/company/detail.html:16 #: company/templates/company/supplier_part_base.html:76 #: company/templates/company/supplier_part_detail.html:30 +#: templates/js/company.html:48 templates/js/company.html:158 msgid "Manufacturer" msgstr "Hersteller" @@ -993,12 +1004,14 @@ msgstr "Hersteller" #: company/templates/company/supplier_part_detail.html:21 order/models.py:111 #: order/templates/order/order_base.html:74 #: order/templates/order/order_wizard/select_pos.html:30 -#: stock/templates/stock/item_base.html:196 +#: stock/templates/stock/item_base.html:196 templates/js/company.html:52 +#: templates/js/company.html:134 templates/js/order.html:144 msgid "Supplier" msgstr "Zulieferer" #: company/templates/company/detail.html:26 order/models.py:275 -#: order/templates/order/sales_order_base.html:73 +#: order/templates/order/sales_order_base.html:73 templates/js/company.html:44 +#: templates/js/order.html:217 msgid "Customer" msgstr "Kunde" @@ -1137,7 +1150,7 @@ msgstr "Bestellungen" #: company/templates/company/supplier_part_base.html:6 #: company/templates/company/supplier_part_base.html:19 stock/models.py:344 -#: stock/templates/stock/item_base.html:201 +#: stock/templates/stock/item_base.html:201 templates/js/company.html:150 msgid "Supplier Part" msgstr "Zulieferer-Teil" @@ -1181,6 +1194,7 @@ msgstr "" #: company/templates/company/supplier_part_base.html:80 #: company/templates/company/supplier_part_detail.html:31 +#: templates/js/company.html:174 #, fuzzy #| msgid "IPN" msgid "MPN" @@ -1222,6 +1236,7 @@ msgid "New Price Break" msgstr "" #: company/templates/company/supplier_part_pricing.html:28 +#: templates/js/bom.html:213 msgid "Price" msgstr "" @@ -1259,7 +1274,8 @@ msgstr "Teile-Packaging" #: company/templates/company/supplier_part_tabs.html:8 #: company/templates/company/tabs.html:12 part/templates/part/tabs.html:17 -#: stock/templates/stock/location.html:12 templates/navbar.html:11 +#: stock/templates/stock/location.html:12 templates/js/part.html:194 +#: templates/navbar.html:11 msgid "Stock" msgstr "Lagerbestand" @@ -1473,7 +1489,7 @@ msgstr "Position - Notizen" #: order/models.py:427 order/templates/order/order_base.html:9 #: order/templates/order/order_base.html:23 -#: stock/templates/stock/item_base.html:175 +#: stock/templates/stock/item_base.html:175 templates/js/order.html:136 msgid "Purchase Order" msgstr "Kaufvertrag" @@ -1544,7 +1560,7 @@ msgstr "Bestell-Referenz" msgid "Order Status" msgstr "Teile bestellen" -#: order/templates/order/order_base.html:80 +#: order/templates/order/order_base.html:80 templates/js/order.html:151 #, fuzzy #| msgid "Reference" msgid "Supplier Reference" @@ -1609,7 +1625,8 @@ msgid "Select existing purchase orders, or create new orders." msgstr "" #: order/templates/order/order_wizard/select_pos.html:31 -#: order/templates/order/po_tabs.html:5 +#: order/templates/order/po_tabs.html:5 templates/js/order.html:175 +#: templates/js/order.html:253 msgid "Items" msgstr "Positionen" @@ -1737,7 +1754,7 @@ msgstr "Teile" msgid "Sales Order Details" msgstr "Bestelldetails" -#: order/templates/order/sales_order_base.html:79 +#: order/templates/order/sales_order_base.html:79 templates/js/order.html:224 #, fuzzy #| msgid "Reference" msgid "Customer Reference" @@ -2257,7 +2274,7 @@ msgstr "bestellt" #: stock/templates/stock/item_base.html:8 #: stock/templates/stock/item_base.html:52 #: stock/templates/stock/item_base.html:183 -#: stock/templates/stock/stock_adjust.html:16 +#: stock/templates/stock/stock_adjust.html:16 templates/js/build.html:106 msgid "Stock Item" msgstr "Lagerobjekt" @@ -2364,6 +2381,7 @@ msgid "Variant Of" msgstr "Variante von" #: part/templates/part/detail.html:57 part/templates/part/set_category.html:15 +#: templates/js/part.html:181 msgid "Category" msgstr "Kategorie" @@ -2379,7 +2397,7 @@ msgstr "Einheiten" msgid "Minimum Stock" msgstr "Minimaler Lagerbestand" -#: part/templates/part/detail.html:101 +#: part/templates/part/detail.html:101 templates/js/order.html:243 #, fuzzy #| msgid "Create new Stock Item" msgid "Creation Date" @@ -2539,7 +2557,8 @@ msgstr "" msgid "This part is a variant of" msgstr "Dieses Teil ist nicht aktiv" -#: part/templates/part/part_base.html:30 +#: part/templates/part/part_base.html:30 templates/js/company.html:125 +#: templates/js/part.html:158 msgid "Inactive" msgstr "" @@ -2571,7 +2590,7 @@ msgstr "Lagerbestand dem Bau zuweisen" msgid "Allocated to Sales Orders" msgstr "Lagerbestand dem Bau zuweisen" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:128 templates/js/part.html:210 msgid "On Order" msgstr "bestellt" @@ -2629,7 +2648,8 @@ msgstr "Zulieferer-Teil" msgid "Create New Part" msgstr "Neues Lagerobjekt hinzufügen" -#: part/templates/part/stock_count.html:7 +#: part/templates/part/stock_count.html:7 templates/js/bom.html:203 +#: templates/js/part.html:218 #, fuzzy #| msgid "Stock" msgid "No Stock" @@ -3463,6 +3483,142 @@ msgstr "Code auf GitHub ansehen" msgid "Submit Bug Report" msgstr "" +#: templates/js/bom.html:143 +msgid "Open subassembly" +msgstr "" + +#: templates/js/bom.html:194 templates/js/build.html:113 +msgid "Available" +msgstr "verfügbar" + +#: templates/js/bom.html:219 +#, fuzzy +#| msgid "Available" +msgid "No pricing available" +msgstr "verfügbar" + +#: templates/js/bom.html:239 +#, fuzzy +#| msgid "Stock Item" +msgid "Validate BOM Item" +msgstr "Lagerobjekt" + +#: templates/js/bom.html:240 +msgid "This line has been validated" +msgstr "" + +#: templates/js/bom.html:242 +#, fuzzy +#| msgid "Edit Stock Item" +msgid "Edit BOM Item" +msgstr "Lagerobjekt bearbeiten" + +#: templates/js/bom.html:243 +#, fuzzy +#| msgid "Delete Stock Item" +msgid "Delete BOM Item" +msgstr "Lagerobjekt löschen" + +#: templates/js/build.html:19 +msgid "No builds matching query" +msgstr "" + +#: templates/js/build.html:102 +#, fuzzy +#| msgid "Allocated" +msgid "No parts allocated for" +msgstr "Zugeordnet" + +#: templates/js/company.html:29 +#, fuzzy +#| msgid "Link to external company information" +msgid "No company information found" +msgstr "Link auf externe Firmeninformation" + +#: templates/js/company.html:101 +#, fuzzy +#| msgid "No serial numbers found" +msgid "No supplier parts found" +msgstr "Keine Seriennummern gefunden" + +#: templates/js/company.html:117 templates/js/part.html:136 +#, fuzzy +#| msgid "Parameter Template" +msgid "Template part" +msgstr "Parameter Vorlage" + +#: templates/js/company.html:121 templates/js/part.html:140 +#, fuzzy +#| msgid "Assembly" +msgid "Assembled part" +msgstr "Baugruppe" + +#: templates/js/company.html:178 +msgid "Link" +msgstr "" + +#: templates/js/order.html:126 +#, fuzzy +#| msgid "Purchase Order" +msgid "No purchase orders found" +msgstr "Kaufvertrag" + +#: templates/js/order.html:170 +msgid "Date" +msgstr "" + +#: templates/js/order.html:199 +#, fuzzy +#| msgid "No serial numbers found" +msgid "No sales orders found" +msgstr "Keine Seriennummern gefunden" + +#: templates/js/order.html:248 +msgid "Shipment Date" +msgstr "" + +#: templates/js/part.html:104 +#, fuzzy +#| msgid "Select part" +msgid "Select" +msgstr "Teil auswählen" + +#: templates/js/part.html:144 +#, fuzzy +#| msgid "Required Parts" +msgid "Starred part" +msgstr "benötigte Teile" + +#: templates/js/part.html:148 +#, fuzzy +#| msgid "Sellable" +msgid "Salable part" +msgstr "Verkaufbar" + +#: templates/js/part.html:187 +#, fuzzy +#| msgid "Part category" +msgid "No category" +msgstr "Teile-Kategorie" + +#: templates/js/part.html:205 templates/table_filters.html:95 +#, fuzzy +#| msgid "Stock" +msgid "Low stock" +msgstr "Lagerbestand" + +#: templates/js/part.html:214 +#, fuzzy +#| msgid "Build" +msgid "Building" +msgstr "Bau" + +#: templates/js/part.html:232 +#, fuzzy +#| msgid "No serial numbers found" +msgid "No parts found" +msgstr "Keine Seriennummern gefunden" + #: templates/navbar.html:14 msgid "Buy" msgstr "" @@ -3623,12 +3779,6 @@ msgstr "Parameter Vorlage" msgid "Stock available" msgstr "verfügbar" -#: templates/table_filters.html:95 -#, fuzzy -#| msgid "Stock" -msgid "Low stock" -msgstr "Lagerbestand" - #: templates/table_filters.html:107 msgid "Starred" msgstr "" @@ -3642,9 +3792,6 @@ msgstr "Kaufbar" #~ msgid "Allocate Stock to Build" #~ msgstr "Lagerbestand dem Bau zuweisen" -#~ msgid "Available" -#~ msgstr "verfügbar" - #~ msgid "Required Parts" #~ msgstr "benötigte Teile" diff --git a/InvenTree/locale/en/LC_MESSAGES/django.po b/InvenTree/locale/en/LC_MESSAGES/django.po index 8bc436a43d..85ebc1e513 100644 --- a/InvenTree/locale/en/LC_MESSAGES/django.po +++ b/InvenTree/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-02 12:07+0000\n" +"POT-Creation-Date: 2020-05-02 12:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -153,7 +153,7 @@ msgstr "" #: InvenTree/status_codes.py:214 build/templates/build/allocate.html:349 #: order/templates/order/sales_order_detail.html:220 -#: part/templates/part/tabs.html:21 +#: part/templates/part/tabs.html:21 templates/js/build.html:120 msgid "Allocated" msgstr "" @@ -182,7 +182,7 @@ msgstr "" msgid "Overage must be an integer value or a percentage" msgstr "" -#: InvenTree/views.py:548 +#: InvenTree/views.py:547 msgid "Database Statistics" msgstr "" @@ -221,7 +221,9 @@ msgstr "" #: order/templates/order/order_wizard/select_parts.html:30 #: order/templates/order/purchase_order_detail.html:145 #: part/templates/part/part_app_base.html:7 -#: part/templates/part/set_category.html:13 +#: part/templates/part/set_category.html:13 templates/js/bom.html:135 +#: templates/js/build.html:41 templates/js/company.html:109 +#: templates/js/part.html:111 msgid "Part" msgstr "" @@ -288,6 +290,7 @@ msgstr "" #: order/templates/order/purchase_order_detail.html:200 #: order/templates/order/so_tabs.html:23 part/templates/part/tabs.html:63 #: stock/models.py:439 stock/templates/stock/tabs.html:17 +#: templates/js/bom.html:229 msgid "Notes" msgstr "" @@ -371,7 +374,8 @@ msgstr "" #: stock/templates/stock/item_base.html:20 #: stock/templates/stock/item_base.html:26 #: stock/templates/stock/item_base.html:154 -#: stock/templates/stock/stock_adjust.html:18 +#: stock/templates/stock/stock_adjust.html:18 templates/js/bom.html:172 +#: templates/js/build.html:52 msgid "Quantity" msgstr "" @@ -383,16 +387,16 @@ msgid "Location" msgstr "" #: build/templates/build/allocate.html:201 -#: order/templates/order/sales_order_detail.html:92 +#: order/templates/order/sales_order_detail.html:92 templates/js/build.html:124 msgid "Edit stock allocation" msgstr "" #: build/templates/build/allocate.html:202 -#: order/templates/order/sales_order_detail.html:93 +#: order/templates/order/sales_order_detail.html:93 templates/js/build.html:125 msgid "Delete stock allocation" msgstr "" -#: build/templates/build/allocate.html:229 +#: build/templates/build/allocate.html:229 templates/js/bom.html:288 msgid "No BOM items found" msgstr "" @@ -401,11 +405,15 @@ msgstr "" #: company/templates/company/supplier_part_detail.html:27 #: order/templates/order/purchase_order_detail.html:157 #: part/templates/part/detail.html:38 part/templates/part/set_category.html:14 +#: templates/js/bom.html:157 templates/js/company.html:60 +#: templates/js/order.html:157 templates/js/order.html:230 +#: templates/js/part.html:167 msgid "Description" msgstr "" #: build/templates/build/allocate.html:333 #: order/templates/order/purchase_order_detail.html:170 +#: templates/js/bom.html:164 msgid "Reference" msgstr "" @@ -452,7 +460,8 @@ msgstr "" #: build/templates/build/build_base.html:8 #: build/templates/build/build_base.html:34 #: build/templates/build/complete.html:6 -#: stock/templates/stock/item_base.html:168 templates/navbar.html:12 +#: stock/templates/stock/item_base.html:168 templates/js/build.html:33 +#: templates/navbar.html:12 msgid "Build" msgstr "" @@ -470,7 +479,8 @@ msgstr "" #: build/templates/build/build_base.html:80 #: build/templates/build/detail.html:42 -#: stock/templates/stock/item_base.html:221 +#: stock/templates/stock/item_base.html:221 templates/js/build.html:57 +#: templates/js/order.html:162 templates/js/order.html:235 msgid "Status" msgstr "" @@ -480,7 +490,7 @@ msgstr "" #: order/templates/order/sales_order_notes.html:10 #: order/templates/order/sales_order_ship.html:25 #: part/templates/part/allocation.html:27 -#: stock/templates/stock/item_base.html:122 +#: stock/templates/stock/item_base.html:122 templates/js/order.html:209 msgid "Sales Order" msgstr "" @@ -553,7 +563,7 @@ msgstr "" #: build/templates/build/detail.html:61 #: order/templates/order/order_base.html:93 -#: order/templates/order/sales_order_base.html:92 +#: order/templates/order/sales_order_base.html:92 templates/js/build.html:65 msgid "Created" msgstr "" @@ -569,7 +579,7 @@ msgstr "" msgid "No" msgstr "" -#: build/templates/build/detail.html:80 +#: build/templates/build/detail.html:80 templates/js/build.html:70 msgid "Completed" msgstr "" @@ -840,7 +850,7 @@ msgid "Part packaging" msgstr "" #: company/templates/company/company_base.html:7 -#: company/templates/company/company_base.html:22 +#: company/templates/company/company_base.html:22 templates/js/company.html:38 msgid "Company" msgstr "" @@ -849,7 +859,7 @@ msgstr "" msgid "Company Details" msgstr "" -#: company/templates/company/company_base.html:48 +#: company/templates/company/company_base.html:48 templates/js/company.html:65 msgid "Website" msgstr "" @@ -872,6 +882,7 @@ msgstr "" #: company/templates/company/detail.html:16 #: company/templates/company/supplier_part_base.html:76 #: company/templates/company/supplier_part_detail.html:30 +#: templates/js/company.html:48 templates/js/company.html:158 msgid "Manufacturer" msgstr "" @@ -880,12 +891,14 @@ msgstr "" #: company/templates/company/supplier_part_detail.html:21 order/models.py:111 #: order/templates/order/order_base.html:74 #: order/templates/order/order_wizard/select_pos.html:30 -#: stock/templates/stock/item_base.html:196 +#: stock/templates/stock/item_base.html:196 templates/js/company.html:52 +#: templates/js/company.html:134 templates/js/order.html:144 msgid "Supplier" msgstr "" #: company/templates/company/detail.html:26 order/models.py:275 -#: order/templates/order/sales_order_base.html:73 +#: order/templates/order/sales_order_base.html:73 templates/js/company.html:44 +#: templates/js/order.html:217 msgid "Customer" msgstr "" @@ -995,7 +1008,7 @@ msgstr "" #: company/templates/company/supplier_part_base.html:6 #: company/templates/company/supplier_part_base.html:19 stock/models.py:344 -#: stock/templates/stock/item_base.html:201 +#: stock/templates/stock/item_base.html:201 templates/js/company.html:150 msgid "Supplier Part" msgstr "" @@ -1029,6 +1042,7 @@ msgstr "" #: company/templates/company/supplier_part_base.html:80 #: company/templates/company/supplier_part_detail.html:31 +#: templates/js/company.html:174 msgid "MPN" msgstr "" @@ -1062,6 +1076,7 @@ msgid "New Price Break" msgstr "" #: company/templates/company/supplier_part_pricing.html:28 +#: templates/js/bom.html:213 msgid "Price" msgstr "" @@ -1091,7 +1106,8 @@ msgstr "" #: company/templates/company/supplier_part_tabs.html:8 #: company/templates/company/tabs.html:12 part/templates/part/tabs.html:17 -#: stock/templates/stock/location.html:12 templates/navbar.html:11 +#: stock/templates/stock/location.html:12 templates/js/part.html:194 +#: templates/navbar.html:11 msgid "Stock" msgstr "" @@ -1265,7 +1281,7 @@ msgstr "" #: order/models.py:427 order/templates/order/order_base.html:9 #: order/templates/order/order_base.html:23 -#: stock/templates/stock/item_base.html:175 +#: stock/templates/stock/item_base.html:175 templates/js/order.html:136 msgid "Purchase Order" msgstr "" @@ -1320,7 +1336,7 @@ msgstr "" msgid "Order Status" msgstr "" -#: order/templates/order/order_base.html:80 +#: order/templates/order/order_base.html:80 templates/js/order.html:151 msgid "Supplier Reference" msgstr "" @@ -1375,7 +1391,8 @@ msgid "Select existing purchase orders, or create new orders." msgstr "" #: order/templates/order/order_wizard/select_pos.html:31 -#: order/templates/order/po_tabs.html:5 +#: order/templates/order/po_tabs.html:5 templates/js/order.html:175 +#: templates/js/order.html:253 msgid "Items" msgstr "" @@ -1479,7 +1496,7 @@ msgstr "" msgid "Sales Order Details" msgstr "" -#: order/templates/order/sales_order_base.html:79 +#: order/templates/order/sales_order_base.html:79 templates/js/order.html:224 msgid "Customer Reference" msgstr "" @@ -1928,7 +1945,7 @@ msgstr "" #: stock/templates/stock/item_base.html:8 #: stock/templates/stock/item_base.html:52 #: stock/templates/stock/item_base.html:183 -#: stock/templates/stock/stock_adjust.html:16 +#: stock/templates/stock/stock_adjust.html:16 templates/js/build.html:106 msgid "Stock Item" msgstr "" @@ -2027,6 +2044,7 @@ msgid "Variant Of" msgstr "" #: part/templates/part/detail.html:57 part/templates/part/set_category.html:15 +#: templates/js/part.html:181 msgid "Category" msgstr "" @@ -2042,7 +2060,7 @@ msgstr "" msgid "Minimum Stock" msgstr "" -#: part/templates/part/detail.html:101 +#: part/templates/part/detail.html:101 templates/js/order.html:243 msgid "Creation Date" msgstr "" @@ -2178,7 +2196,8 @@ msgstr "" msgid "This part is a variant of" msgstr "" -#: part/templates/part/part_base.html:30 +#: part/templates/part/part_base.html:30 templates/js/company.html:125 +#: templates/js/part.html:158 msgid "Inactive" msgstr "" @@ -2206,7 +2225,7 @@ msgstr "" msgid "Allocated to Sales Orders" msgstr "" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:128 templates/js/part.html:210 msgid "On Order" msgstr "" @@ -2250,7 +2269,8 @@ msgstr "" msgid "Create New Part" msgstr "" -#: part/templates/part/stock_count.html:7 +#: part/templates/part/stock_count.html:7 templates/js/bom.html:203 +#: templates/js/part.html:218 msgid "No Stock" msgstr "" @@ -2958,6 +2978,106 @@ msgstr "" msgid "Submit Bug Report" msgstr "" +#: templates/js/bom.html:143 +msgid "Open subassembly" +msgstr "" + +#: templates/js/bom.html:194 templates/js/build.html:113 +msgid "Available" +msgstr "" + +#: templates/js/bom.html:219 +msgid "No pricing available" +msgstr "" + +#: templates/js/bom.html:239 +msgid "Validate BOM Item" +msgstr "" + +#: templates/js/bom.html:240 +msgid "This line has been validated" +msgstr "" + +#: templates/js/bom.html:242 +msgid "Edit BOM Item" +msgstr "" + +#: templates/js/bom.html:243 +msgid "Delete BOM Item" +msgstr "" + +#: templates/js/build.html:19 +msgid "No builds matching query" +msgstr "" + +#: templates/js/build.html:102 +msgid "No parts allocated for" +msgstr "" + +#: templates/js/company.html:29 +msgid "No company information found" +msgstr "" + +#: templates/js/company.html:101 +msgid "No supplier parts found" +msgstr "" + +#: templates/js/company.html:117 templates/js/part.html:136 +msgid "Template part" +msgstr "" + +#: templates/js/company.html:121 templates/js/part.html:140 +msgid "Assembled part" +msgstr "" + +#: templates/js/company.html:178 +msgid "Link" +msgstr "" + +#: templates/js/order.html:126 +msgid "No purchase orders found" +msgstr "" + +#: templates/js/order.html:170 +msgid "Date" +msgstr "" + +#: templates/js/order.html:199 +msgid "No sales orders found" +msgstr "" + +#: templates/js/order.html:248 +msgid "Shipment Date" +msgstr "" + +#: templates/js/part.html:104 +msgid "Select" +msgstr "" + +#: templates/js/part.html:144 +msgid "Starred part" +msgstr "" + +#: templates/js/part.html:148 +msgid "Salable part" +msgstr "" + +#: templates/js/part.html:187 +msgid "No category" +msgstr "" + +#: templates/js/part.html:205 templates/table_filters.html:95 +msgid "Low stock" +msgstr "" + +#: templates/js/part.html:214 +msgid "Building" +msgstr "" + +#: templates/js/part.html:232 +msgid "No parts found" +msgstr "" + #: templates/navbar.html:14 msgid "Buy" msgstr "" @@ -3078,10 +3198,6 @@ msgstr "" msgid "Stock available" msgstr "" -#: templates/table_filters.html:95 -msgid "Low stock" -msgstr "" - #: templates/table_filters.html:107 msgid "Starred" msgstr "" diff --git a/InvenTree/locale/es/LC_MESSAGES/django.po b/InvenTree/locale/es/LC_MESSAGES/django.po index 8bc436a43d..85ebc1e513 100644 --- a/InvenTree/locale/es/LC_MESSAGES/django.po +++ b/InvenTree/locale/es/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-05-02 12:07+0000\n" +"POT-Creation-Date: 2020-05-02 12:11+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -153,7 +153,7 @@ msgstr "" #: InvenTree/status_codes.py:214 build/templates/build/allocate.html:349 #: order/templates/order/sales_order_detail.html:220 -#: part/templates/part/tabs.html:21 +#: part/templates/part/tabs.html:21 templates/js/build.html:120 msgid "Allocated" msgstr "" @@ -182,7 +182,7 @@ msgstr "" msgid "Overage must be an integer value or a percentage" msgstr "" -#: InvenTree/views.py:548 +#: InvenTree/views.py:547 msgid "Database Statistics" msgstr "" @@ -221,7 +221,9 @@ msgstr "" #: order/templates/order/order_wizard/select_parts.html:30 #: order/templates/order/purchase_order_detail.html:145 #: part/templates/part/part_app_base.html:7 -#: part/templates/part/set_category.html:13 +#: part/templates/part/set_category.html:13 templates/js/bom.html:135 +#: templates/js/build.html:41 templates/js/company.html:109 +#: templates/js/part.html:111 msgid "Part" msgstr "" @@ -288,6 +290,7 @@ msgstr "" #: order/templates/order/purchase_order_detail.html:200 #: order/templates/order/so_tabs.html:23 part/templates/part/tabs.html:63 #: stock/models.py:439 stock/templates/stock/tabs.html:17 +#: templates/js/bom.html:229 msgid "Notes" msgstr "" @@ -371,7 +374,8 @@ msgstr "" #: stock/templates/stock/item_base.html:20 #: stock/templates/stock/item_base.html:26 #: stock/templates/stock/item_base.html:154 -#: stock/templates/stock/stock_adjust.html:18 +#: stock/templates/stock/stock_adjust.html:18 templates/js/bom.html:172 +#: templates/js/build.html:52 msgid "Quantity" msgstr "" @@ -383,16 +387,16 @@ msgid "Location" msgstr "" #: build/templates/build/allocate.html:201 -#: order/templates/order/sales_order_detail.html:92 +#: order/templates/order/sales_order_detail.html:92 templates/js/build.html:124 msgid "Edit stock allocation" msgstr "" #: build/templates/build/allocate.html:202 -#: order/templates/order/sales_order_detail.html:93 +#: order/templates/order/sales_order_detail.html:93 templates/js/build.html:125 msgid "Delete stock allocation" msgstr "" -#: build/templates/build/allocate.html:229 +#: build/templates/build/allocate.html:229 templates/js/bom.html:288 msgid "No BOM items found" msgstr "" @@ -401,11 +405,15 @@ msgstr "" #: company/templates/company/supplier_part_detail.html:27 #: order/templates/order/purchase_order_detail.html:157 #: part/templates/part/detail.html:38 part/templates/part/set_category.html:14 +#: templates/js/bom.html:157 templates/js/company.html:60 +#: templates/js/order.html:157 templates/js/order.html:230 +#: templates/js/part.html:167 msgid "Description" msgstr "" #: build/templates/build/allocate.html:333 #: order/templates/order/purchase_order_detail.html:170 +#: templates/js/bom.html:164 msgid "Reference" msgstr "" @@ -452,7 +460,8 @@ msgstr "" #: build/templates/build/build_base.html:8 #: build/templates/build/build_base.html:34 #: build/templates/build/complete.html:6 -#: stock/templates/stock/item_base.html:168 templates/navbar.html:12 +#: stock/templates/stock/item_base.html:168 templates/js/build.html:33 +#: templates/navbar.html:12 msgid "Build" msgstr "" @@ -470,7 +479,8 @@ msgstr "" #: build/templates/build/build_base.html:80 #: build/templates/build/detail.html:42 -#: stock/templates/stock/item_base.html:221 +#: stock/templates/stock/item_base.html:221 templates/js/build.html:57 +#: templates/js/order.html:162 templates/js/order.html:235 msgid "Status" msgstr "" @@ -480,7 +490,7 @@ msgstr "" #: order/templates/order/sales_order_notes.html:10 #: order/templates/order/sales_order_ship.html:25 #: part/templates/part/allocation.html:27 -#: stock/templates/stock/item_base.html:122 +#: stock/templates/stock/item_base.html:122 templates/js/order.html:209 msgid "Sales Order" msgstr "" @@ -553,7 +563,7 @@ msgstr "" #: build/templates/build/detail.html:61 #: order/templates/order/order_base.html:93 -#: order/templates/order/sales_order_base.html:92 +#: order/templates/order/sales_order_base.html:92 templates/js/build.html:65 msgid "Created" msgstr "" @@ -569,7 +579,7 @@ msgstr "" msgid "No" msgstr "" -#: build/templates/build/detail.html:80 +#: build/templates/build/detail.html:80 templates/js/build.html:70 msgid "Completed" msgstr "" @@ -840,7 +850,7 @@ msgid "Part packaging" msgstr "" #: company/templates/company/company_base.html:7 -#: company/templates/company/company_base.html:22 +#: company/templates/company/company_base.html:22 templates/js/company.html:38 msgid "Company" msgstr "" @@ -849,7 +859,7 @@ msgstr "" msgid "Company Details" msgstr "" -#: company/templates/company/company_base.html:48 +#: company/templates/company/company_base.html:48 templates/js/company.html:65 msgid "Website" msgstr "" @@ -872,6 +882,7 @@ msgstr "" #: company/templates/company/detail.html:16 #: company/templates/company/supplier_part_base.html:76 #: company/templates/company/supplier_part_detail.html:30 +#: templates/js/company.html:48 templates/js/company.html:158 msgid "Manufacturer" msgstr "" @@ -880,12 +891,14 @@ msgstr "" #: company/templates/company/supplier_part_detail.html:21 order/models.py:111 #: order/templates/order/order_base.html:74 #: order/templates/order/order_wizard/select_pos.html:30 -#: stock/templates/stock/item_base.html:196 +#: stock/templates/stock/item_base.html:196 templates/js/company.html:52 +#: templates/js/company.html:134 templates/js/order.html:144 msgid "Supplier" msgstr "" #: company/templates/company/detail.html:26 order/models.py:275 -#: order/templates/order/sales_order_base.html:73 +#: order/templates/order/sales_order_base.html:73 templates/js/company.html:44 +#: templates/js/order.html:217 msgid "Customer" msgstr "" @@ -995,7 +1008,7 @@ msgstr "" #: company/templates/company/supplier_part_base.html:6 #: company/templates/company/supplier_part_base.html:19 stock/models.py:344 -#: stock/templates/stock/item_base.html:201 +#: stock/templates/stock/item_base.html:201 templates/js/company.html:150 msgid "Supplier Part" msgstr "" @@ -1029,6 +1042,7 @@ msgstr "" #: company/templates/company/supplier_part_base.html:80 #: company/templates/company/supplier_part_detail.html:31 +#: templates/js/company.html:174 msgid "MPN" msgstr "" @@ -1062,6 +1076,7 @@ msgid "New Price Break" msgstr "" #: company/templates/company/supplier_part_pricing.html:28 +#: templates/js/bom.html:213 msgid "Price" msgstr "" @@ -1091,7 +1106,8 @@ msgstr "" #: company/templates/company/supplier_part_tabs.html:8 #: company/templates/company/tabs.html:12 part/templates/part/tabs.html:17 -#: stock/templates/stock/location.html:12 templates/navbar.html:11 +#: stock/templates/stock/location.html:12 templates/js/part.html:194 +#: templates/navbar.html:11 msgid "Stock" msgstr "" @@ -1265,7 +1281,7 @@ msgstr "" #: order/models.py:427 order/templates/order/order_base.html:9 #: order/templates/order/order_base.html:23 -#: stock/templates/stock/item_base.html:175 +#: stock/templates/stock/item_base.html:175 templates/js/order.html:136 msgid "Purchase Order" msgstr "" @@ -1320,7 +1336,7 @@ msgstr "" msgid "Order Status" msgstr "" -#: order/templates/order/order_base.html:80 +#: order/templates/order/order_base.html:80 templates/js/order.html:151 msgid "Supplier Reference" msgstr "" @@ -1375,7 +1391,8 @@ msgid "Select existing purchase orders, or create new orders." msgstr "" #: order/templates/order/order_wizard/select_pos.html:31 -#: order/templates/order/po_tabs.html:5 +#: order/templates/order/po_tabs.html:5 templates/js/order.html:175 +#: templates/js/order.html:253 msgid "Items" msgstr "" @@ -1479,7 +1496,7 @@ msgstr "" msgid "Sales Order Details" msgstr "" -#: order/templates/order/sales_order_base.html:79 +#: order/templates/order/sales_order_base.html:79 templates/js/order.html:224 msgid "Customer Reference" msgstr "" @@ -1928,7 +1945,7 @@ msgstr "" #: stock/templates/stock/item_base.html:8 #: stock/templates/stock/item_base.html:52 #: stock/templates/stock/item_base.html:183 -#: stock/templates/stock/stock_adjust.html:16 +#: stock/templates/stock/stock_adjust.html:16 templates/js/build.html:106 msgid "Stock Item" msgstr "" @@ -2027,6 +2044,7 @@ msgid "Variant Of" msgstr "" #: part/templates/part/detail.html:57 part/templates/part/set_category.html:15 +#: templates/js/part.html:181 msgid "Category" msgstr "" @@ -2042,7 +2060,7 @@ msgstr "" msgid "Minimum Stock" msgstr "" -#: part/templates/part/detail.html:101 +#: part/templates/part/detail.html:101 templates/js/order.html:243 msgid "Creation Date" msgstr "" @@ -2178,7 +2196,8 @@ msgstr "" msgid "This part is a variant of" msgstr "" -#: part/templates/part/part_base.html:30 +#: part/templates/part/part_base.html:30 templates/js/company.html:125 +#: templates/js/part.html:158 msgid "Inactive" msgstr "" @@ -2206,7 +2225,7 @@ msgstr "" msgid "Allocated to Sales Orders" msgstr "" -#: part/templates/part/part_base.html:128 +#: part/templates/part/part_base.html:128 templates/js/part.html:210 msgid "On Order" msgstr "" @@ -2250,7 +2269,8 @@ msgstr "" msgid "Create New Part" msgstr "" -#: part/templates/part/stock_count.html:7 +#: part/templates/part/stock_count.html:7 templates/js/bom.html:203 +#: templates/js/part.html:218 msgid "No Stock" msgstr "" @@ -2958,6 +2978,106 @@ msgstr "" msgid "Submit Bug Report" msgstr "" +#: templates/js/bom.html:143 +msgid "Open subassembly" +msgstr "" + +#: templates/js/bom.html:194 templates/js/build.html:113 +msgid "Available" +msgstr "" + +#: templates/js/bom.html:219 +msgid "No pricing available" +msgstr "" + +#: templates/js/bom.html:239 +msgid "Validate BOM Item" +msgstr "" + +#: templates/js/bom.html:240 +msgid "This line has been validated" +msgstr "" + +#: templates/js/bom.html:242 +msgid "Edit BOM Item" +msgstr "" + +#: templates/js/bom.html:243 +msgid "Delete BOM Item" +msgstr "" + +#: templates/js/build.html:19 +msgid "No builds matching query" +msgstr "" + +#: templates/js/build.html:102 +msgid "No parts allocated for" +msgstr "" + +#: templates/js/company.html:29 +msgid "No company information found" +msgstr "" + +#: templates/js/company.html:101 +msgid "No supplier parts found" +msgstr "" + +#: templates/js/company.html:117 templates/js/part.html:136 +msgid "Template part" +msgstr "" + +#: templates/js/company.html:121 templates/js/part.html:140 +msgid "Assembled part" +msgstr "" + +#: templates/js/company.html:178 +msgid "Link" +msgstr "" + +#: templates/js/order.html:126 +msgid "No purchase orders found" +msgstr "" + +#: templates/js/order.html:170 +msgid "Date" +msgstr "" + +#: templates/js/order.html:199 +msgid "No sales orders found" +msgstr "" + +#: templates/js/order.html:248 +msgid "Shipment Date" +msgstr "" + +#: templates/js/part.html:104 +msgid "Select" +msgstr "" + +#: templates/js/part.html:144 +msgid "Starred part" +msgstr "" + +#: templates/js/part.html:148 +msgid "Salable part" +msgstr "" + +#: templates/js/part.html:187 +msgid "No category" +msgstr "" + +#: templates/js/part.html:205 templates/table_filters.html:95 +msgid "Low stock" +msgstr "" + +#: templates/js/part.html:214 +msgid "Building" +msgstr "" + +#: templates/js/part.html:232 +msgid "No parts found" +msgstr "" + #: templates/navbar.html:14 msgid "Buy" msgstr "" @@ -3078,10 +3198,6 @@ msgstr "" msgid "Stock available" msgstr "" -#: templates/table_filters.html:95 -msgid "Low stock" -msgstr "" - #: templates/table_filters.html:107 msgid "Starred" msgstr "" diff --git a/InvenTree/templates/js/bom.js b/InvenTree/templates/js/bom.html similarity index 100% rename from InvenTree/templates/js/bom.js rename to InvenTree/templates/js/bom.html diff --git a/InvenTree/templates/js/build.js b/InvenTree/templates/js/build.html similarity index 100% rename from InvenTree/templates/js/build.js rename to InvenTree/templates/js/build.html diff --git a/InvenTree/templates/js/company.js b/InvenTree/templates/js/company.html similarity index 100% rename from InvenTree/templates/js/company.js rename to InvenTree/templates/js/company.html diff --git a/InvenTree/templates/js/order.js b/InvenTree/templates/js/order.html similarity index 100% rename from InvenTree/templates/js/order.js rename to InvenTree/templates/js/order.html diff --git a/InvenTree/templates/js/part.js b/InvenTree/templates/js/part.html similarity index 100% rename from InvenTree/templates/js/part.js rename to InvenTree/templates/js/part.html