From 72372896a5ca0be19f6f68bf326cd8874c4f1fa3 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 5 Oct 2021 13:43:04 +1100 Subject: [PATCH] Fix: New translations django.po from Crowdin --- InvenTree/locale/zh/LC_MESSAGES/django.po | 876 +++++++++++----------- 1 file changed, 442 insertions(+), 434 deletions(-) diff --git a/InvenTree/locale/zh/LC_MESSAGES/django.po b/InvenTree/locale/zh/LC_MESSAGES/django.po index 5f5fdcb35c..30ffbeaeef 100644 --- a/InvenTree/locale/zh/LC_MESSAGES/django.po +++ b/InvenTree/locale/zh/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: inventree\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-10-05 01:33+0000\n" -"PO-Revision-Date: 2021-10-05 01:41\n" +"POT-Creation-Date: 2021-10-05 02:21+0000\n" +"PO-Revision-Date: 2021-10-05 02:43\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -34,9 +34,9 @@ msgid "Enter date" msgstr "输入日期" #: InvenTree/forms.py:111 build/forms.py:102 build/forms.py:123 -#: build/forms.py:145 build/forms.py:169 build/forms.py:185 build/forms.py:227 -#: order/forms.py:30 order/forms.py:41 order/forms.py:52 order/forms.py:63 -#: order/forms.py:74 part/forms.py:108 templates/js/translated/forms.js:564 +#: build/forms.py:145 build/forms.py:173 build/forms.py:215 order/forms.py:30 +#: order/forms.py:41 order/forms.py:52 order/forms.py:63 order/forms.py:74 +#: part/forms.py:108 templates/js/translated/forms.js:564 msgid "Confirm" msgstr "确认" @@ -119,7 +119,7 @@ msgid "File comment" msgstr "文件注释" #: InvenTree/models.py:75 InvenTree/models.py:76 common/models.py:993 -#: common/models.py:994 part/models.py:2051 +#: common/models.py:994 part/models.py:2055 #: report/templates/report/inventree_test_report_base.html:91 #: templates/js/translated/stock.js:1690 msgid "User" @@ -159,7 +159,7 @@ msgid "Invalid choice" msgstr "选择无效" #: InvenTree/models.py:200 InvenTree/models.py:201 company/models.py:415 -#: label/models.py:112 part/models.py:658 part/models.py:2212 +#: label/models.py:112 part/models.py:659 part/models.py:2216 #: part/templates/part/part_base.html:241 report/models.py:181 #: templates/js/translated/company.js:637 templates/js/translated/part.js:477 #: templates/js/translated/part.js:614 templates/js/translated/part.js:1141 @@ -167,18 +167,18 @@ msgstr "选择无效" msgid "Name" msgstr "名称" -#: InvenTree/models.py:207 build/models.py:187 +#: InvenTree/models.py:207 build/models.py:189 #: build/templates/build/detail.html:24 company/models.py:354 #: company/models.py:570 company/templates/company/manufacturer_part.html:76 #: company/templates/company/supplier_part.html:75 label/models.py:119 -#: order/models.py:158 part/models.py:681 +#: order/models.py:158 part/models.py:682 #: part/templates/part/part_base.html:246 #: part/templates/part/set_category.html:14 report/models.py:194 #: report/models.py:551 report/models.py:590 #: report/templates/report/inventree_build_order_base.html:118 #: templates/InvenTree/settings/header.html:9 -#: templates/js/translated/bom.js:230 templates/js/translated/build.js:891 -#: templates/js/translated/build.js:1179 templates/js/translated/company.js:344 +#: templates/js/translated/bom.js:230 templates/js/translated/build.js:1207 +#: templates/js/translated/build.js:1495 templates/js/translated/company.js:344 #: templates/js/translated/company.js:547 #: templates/js/translated/company.js:836 templates/js/translated/order.js:341 #: templates/js/translated/order.js:486 templates/js/translated/order.js:710 @@ -197,7 +197,7 @@ msgstr "描述 (可选)" msgid "parent" msgstr "上级项" -#: InvenTree/serializers.py:55 part/models.py:2454 +#: InvenTree/serializers.py:55 part/models.py:2475 msgid "Must be a valid number" msgstr "必须是有效数字" @@ -522,6 +522,10 @@ msgstr "条码哈希值已经匹配库存项目" msgid "Barcode associated with StockItem" msgstr "与库存项关联的条形码" +#: build/api.py:213 +msgid "Matching build order does not exist" +msgstr "" + #: build/forms.py:37 msgid "Build Order reference" msgstr "相关生产订单" @@ -535,18 +539,17 @@ msgstr "订单预计日期" #: order/templates/order/order_base.html:124 #: order/templates/order/sales_order_base.html:119 #: report/templates/report/inventree_build_order_base.html:126 -#: templates/js/translated/build.js:962 templates/js/translated/order.js:358 +#: templates/js/translated/build.js:1278 templates/js/translated/order.js:358 #: templates/js/translated/order.js:728 msgid "Target Date" msgstr "预计日期" -#: build/forms.py:43 build/models.py:277 +#: build/forms.py:43 build/models.py:279 msgid "Target date for build completion. Build will be overdue after this date." msgstr "生产完成的目标日期。生产将在此日期之后逾期。" -#: build/forms.py:48 build/forms.py:90 build/forms.py:266 build/models.py:1402 +#: build/forms.py:48 build/forms.py:90 build/models.py:1281 #: build/templates/build/allocation_card.html:23 -#: build/templates/build/auto_allocate.html:17 #: build/templates/build/build_base.html:133 #: build/templates/build/detail.html:34 common/models.py:1025 #: company/forms.py:42 company/templates/company/supplier_part.html:226 @@ -557,7 +560,7 @@ msgstr "生产完成的目标日期。生产将在此日期之后逾期。" #: order/templates/order/sales_order_detail.html:208 #: order/templates/order/sales_order_detail.html:293 #: order/templates/order/sales_order_detail.html:365 part/forms.py:249 -#: part/forms.py:265 part/forms.py:281 part/models.py:2356 +#: part/forms.py:265 part/forms.py:281 part/models.py:2377 #: part/templates/part/bom_upload/match_parts.html:31 #: part/templates/part/detail.html:943 part/templates/part/detail.html:1029 #: part/templates/part/part_pricing.html:16 @@ -568,9 +571,9 @@ msgstr "生产完成的目标日期。生产将在此日期之后逾期。" #: stock/forms.py:140 stock/templates/stock/item_base.html:269 #: stock/templates/stock/stock_adjust.html:18 #: templates/js/translated/barcode.js:386 templates/js/translated/bom.js:245 -#: templates/js/translated/build.js:298 templates/js/translated/build.js:629 -#: templates/js/translated/build.js:1189 -#: templates/js/translated/model_renderers.js:59 +#: templates/js/translated/build.js:303 templates/js/translated/build.js:627 +#: templates/js/translated/build.js:966 templates/js/translated/build.js:1505 +#: templates/js/translated/model_renderers.js:74 #: templates/js/translated/order.js:522 templates/js/translated/order.js:824 #: templates/js/translated/part.js:1364 templates/js/translated/part.js:1487 #: templates/js/translated/part.js:1565 templates/js/translated/stock.js:1675 @@ -606,82 +609,73 @@ msgstr "确认删除生产产出" msgid "Confirm unallocation of stock" msgstr "确认取消分配库存" -#: build/forms.py:169 -msgid "Confirm stock allocation" -msgstr "确认库存分配" - -#: build/forms.py:186 +#: build/forms.py:174 msgid "Mark build as complete" msgstr "标记生产已完成" -#: build/forms.py:210 build/templates/build/auto_allocate.html:18 -#: order/serializers.py:216 order/serializers.py:276 stock/forms.py:280 -#: stock/templates/stock/item_base.html:299 +#: build/forms.py:198 order/serializers.py:217 order/serializers.py:277 +#: stock/forms.py:280 stock/templates/stock/item_base.html:299 #: stock/templates/stock/stock_adjust.html:17 #: templates/js/translated/barcode.js:385 -#: templates/js/translated/barcode.js:555 templates/js/translated/build.js:283 -#: templates/js/translated/build.js:643 templates/js/translated/order.js:809 +#: templates/js/translated/barcode.js:555 templates/js/translated/build.js:288 +#: templates/js/translated/build.js:639 templates/js/translated/order.js:809 #: templates/js/translated/part.js:179 templates/js/translated/stock.js:203 #: templates/js/translated/stock.js:329 templates/js/translated/stock.js:942 #: templates/js/translated/stock.js:1567 msgid "Location" msgstr "地点" -#: build/forms.py:211 +#: build/forms.py:199 msgid "Location of completed parts" msgstr "已完成商品所在仓储地点" -#: build/forms.py:215 build/templates/build/build_base.html:138 +#: build/forms.py:203 build/templates/build/build_base.html:138 #: build/templates/build/detail.html:62 order/models.py:563 -#: order/serializers.py:230 order/templates/order/receive_parts.html:24 +#: order/serializers.py:231 order/templates/order/receive_parts.html:24 #: stock/templates/stock/item_base.html:422 -#: templates/js/translated/barcode.js:141 templates/js/translated/build.js:925 +#: templates/js/translated/barcode.js:141 templates/js/translated/build.js:1241 #: templates/js/translated/order.js:345 templates/js/translated/order.js:715 #: templates/js/translated/stock.js:917 templates/js/translated/stock.js:1644 #: templates/js/translated/stock.js:1866 msgid "Status" msgstr "状态" -#: build/forms.py:216 +#: build/forms.py:204 msgid "Build output stock status" msgstr "生产产出库存状态" -#: build/forms.py:223 +#: build/forms.py:211 msgid "Confirm incomplete" msgstr "确认未完成" -#: build/forms.py:224 +#: build/forms.py:212 msgid "Confirm completion with incomplete stock allocation" msgstr "确认以未完成库存分配方式完成" -#: build/forms.py:227 +#: build/forms.py:215 msgid "Confirm build completion" msgstr "确认生产完成" -#: build/forms.py:252 +#: build/forms.py:240 msgid "Confirm cancel" msgstr "确认取消" -#: build/forms.py:252 build/views.py:65 +#: build/forms.py:240 build/views.py:65 msgid "Confirm build cancellation" msgstr "确认生产取消" -#: build/forms.py:266 -msgid "Select quantity of stock to allocate" -msgstr "选择要分配的库存数量" - -#: build/models.py:113 +#: build/models.py:115 msgid "Invalid choice for parent build" msgstr "上级生产选项无效" -#: build/models.py:117 build/templates/build/build_base.html:9 +#: build/models.py:119 build/templates/build/build_base.html:9 #: build/templates/build/build_base.html:73 #: report/templates/report/inventree_build_order_base.html:106 -#: templates/js/translated/build.js:260 +#: templates/js/translated/build.js:265 msgid "Build Order" msgstr "生产订单" -#: build/models.py:118 build/templates/build/index.html:8 +#: build/models.py:120 build/templates/build/index.html:8 #: build/templates/build/index.html:15 #: order/templates/order/sales_order_detail.html:34 #: order/templates/order/so_navbar.html:19 @@ -693,43 +687,42 @@ msgstr "生产订单" msgid "Build Orders" msgstr "生产订单" -#: build/models.py:178 +#: build/models.py:180 msgid "Build Order Reference" msgstr "相关生产订单" -#: build/models.py:179 order/models.py:246 order/models.py:547 +#: build/models.py:181 order/models.py:246 order/models.py:547 #: order/models.py:727 order/templates/order/sales_order_detail.html:360 -#: part/models.py:2365 part/templates/part/bom_upload/match_parts.html:30 +#: part/models.py:2386 part/templates/part/bom_upload/match_parts.html:30 #: report/templates/report/inventree_po_report.html:92 #: report/templates/report/inventree_so_report.html:92 -#: templates/js/translated/bom.js:237 templates/js/translated/build.js:718 -#: templates/js/translated/build.js:1183 templates/js/translated/order.js:517 +#: templates/js/translated/bom.js:237 templates/js/translated/build.js:723 +#: templates/js/translated/build.js:1499 templates/js/translated/order.js:517 msgid "Reference" msgstr "引用" -#: build/models.py:190 +#: build/models.py:192 msgid "Brief description of the build" msgstr "生产的简短描述." -#: build/models.py:199 build/templates/build/build_base.html:163 +#: build/models.py:201 build/templates/build/build_base.html:163 #: build/templates/build/detail.html:80 msgid "Parent Build" msgstr "上级生产" -#: build/models.py:200 +#: build/models.py:202 msgid "BuildOrder to which this build is allocated" msgstr "此次生产匹配的订单" -#: build/models.py:205 build/templates/build/auto_allocate.html:16 -#: build/templates/build/build_base.html:128 +#: build/models.py:207 build/templates/build/build_base.html:128 #: build/templates/build/detail.html:29 company/models.py:705 #: order/models.py:780 order/models.py:845 #: order/templates/order/order_wizard/select_parts.html:32 #: order/templates/order/receive_parts.html:19 -#: order/templates/order/sales_order_detail.html:345 part/models.py:297 -#: part/models.py:1996 part/models.py:2012 part/models.py:2031 -#: part/models.py:2049 part/models.py:2128 part/models.py:2250 -#: part/models.py:2340 part/templates/part/detail.html:199 +#: order/templates/order/sales_order_detail.html:345 part/models.py:298 +#: part/models.py:2000 part/models.py:2016 part/models.py:2035 +#: part/models.py:2053 part/models.py:2132 part/models.py:2254 +#: part/models.py:2361 part/templates/part/detail.html:199 #: part/templates/part/part_app_base.html:8 #: part/templates/part/part_pricing.html:12 #: part/templates/part/set_category.html:13 @@ -737,9 +730,9 @@ msgstr "此次生产匹配的订单" #: report/templates/report/inventree_po_report.html:90 #: report/templates/report/inventree_so_report.html:90 #: templates/InvenTree/search.html:112 templates/js/translated/barcode.js:384 -#: templates/js/translated/bom.js:203 templates/js/translated/build.js:609 -#: templates/js/translated/build.js:896 templates/js/translated/build.js:1156 -#: templates/js/translated/company.js:488 +#: templates/js/translated/bom.js:203 templates/js/translated/build.js:600 +#: templates/js/translated/build.js:963 templates/js/translated/build.js:1212 +#: templates/js/translated/build.js:1472 templates/js/translated/company.js:488 #: templates/js/translated/company.js:745 templates/js/translated/order.js:471 #: templates/js/translated/part.js:705 templates/js/translated/part.js:875 #: templates/js/translated/stock.js:201 templates/js/translated/stock.js:797 @@ -747,105 +740,106 @@ msgstr "此次生产匹配的订单" msgid "Part" msgstr "商品" -#: build/models.py:213 +#: build/models.py:215 msgid "Select part to build" msgstr "选择要生产的商品" -#: build/models.py:218 +#: build/models.py:220 msgid "Sales Order Reference" msgstr "相关销售订单" -#: build/models.py:222 +#: build/models.py:224 msgid "SalesOrder to which this build is allocated" msgstr "此次生产匹配的销售订单" -#: build/models.py:227 +#: build/models.py:229 templates/js/translated/build.js:951 msgid "Source Location" msgstr "来源地点" -#: build/models.py:231 +#: build/models.py:233 msgid "Select location to take stock from for this build (leave blank to take from any stock location)" msgstr "" -#: build/models.py:236 +#: build/models.py:238 msgid "Destination Location" msgstr "目标地点" -#: build/models.py:240 +#: build/models.py:242 msgid "Select location where the completed items will be stored" msgstr "选择已完成项目仓储地点" -#: build/models.py:244 +#: build/models.py:246 msgid "Build Quantity" msgstr "生产数量" -#: build/models.py:247 +#: build/models.py:249 msgid "Number of stock items to build" msgstr "要生产的项目数量" -#: build/models.py:251 +#: build/models.py:253 msgid "Completed items" msgstr "已完成项目" -#: build/models.py:253 +#: build/models.py:255 msgid "Number of stock items which have been completed" msgstr "已完成的库存项目数量" -#: build/models.py:257 part/templates/part/part_base.html:198 +#: build/models.py:259 part/templates/part/part_base.html:198 msgid "Build Status" msgstr "生产状态" -#: build/models.py:261 +#: build/models.py:263 msgid "Build status code" msgstr "生产状态代码" -#: build/models.py:265 stock/models.py:513 +#: build/models.py:267 stock/models.py:513 msgid "Batch Code" msgstr "批量代码" -#: build/models.py:269 +#: build/models.py:271 msgid "Batch code for this build output" msgstr "此生产产出的批量代码" -#: build/models.py:272 order/models.py:162 part/models.py:853 +#: build/models.py:274 order/models.py:162 part/models.py:854 #: part/templates/part/part_base.html:272 templates/js/translated/order.js:723 msgid "Creation Date" msgstr "创建日期" -#: build/models.py:276 order/models.py:569 +#: build/models.py:278 order/models.py:569 msgid "Target completion date" msgstr "预计完成日期" -#: build/models.py:280 order/models.py:288 templates/js/translated/build.js:967 +#: build/models.py:282 order/models.py:288 +#: templates/js/translated/build.js:1283 msgid "Completion Date" msgstr "完成日期:" -#: build/models.py:286 +#: build/models.py:288 msgid "completed by" msgstr "完成人" -#: build/models.py:294 templates/js/translated/build.js:938 +#: build/models.py:296 templates/js/translated/build.js:1254 msgid "Issued by" msgstr "发布者" -#: build/models.py:295 +#: build/models.py:297 msgid "User who issued this build order" msgstr "发布此生产订单的用户" -#: build/models.py:303 build/templates/build/build_base.html:184 +#: build/models.py:305 build/templates/build/build_base.html:184 #: build/templates/build/detail.html:108 order/models.py:176 #: order/templates/order/order_base.html:138 -#: order/templates/order/sales_order_base.html:140 part/models.py:857 +#: order/templates/order/sales_order_base.html:140 part/models.py:858 #: report/templates/report/inventree_build_order_base.html:159 -#: templates/js/translated/build.js:950 +#: templates/js/translated/build.js:1266 msgid "Responsible" msgstr "责任人" -#: build/models.py:304 +#: build/models.py:306 msgid "User responsible for this build order" msgstr "负责此生产订单的用户" -#: build/models.py:309 build/templates/build/detail.html:94 +#: build/models.py:311 build/templates/build/detail.html:94 #: company/templates/company/manufacturer_part.html:83 #: company/templates/company/supplier_part.html:82 #: part/templates/part/part_base.html:266 stock/models.py:507 @@ -853,11 +847,11 @@ msgstr "负责此生产订单的用户" msgid "External Link" msgstr "外部链接" -#: build/models.py:310 part/models.py:715 stock/models.py:509 +#: build/models.py:312 part/models.py:716 stock/models.py:509 msgid "Link to external URL" msgstr "链接到外部 URL" -#: build/models.py:314 build/templates/build/navbar.html:52 +#: build/models.py:316 build/templates/build/navbar.html:52 #: company/models.py:142 company/models.py:577 #: company/templates/company/navbar.html:69 #: company/templates/company/navbar.html:72 order/models.py:180 @@ -865,7 +859,7 @@ msgstr "链接到外部 URL" #: order/templates/order/po_navbar.html:41 #: order/templates/order/sales_order_detail.html:440 #: order/templates/order/so_navbar.html:33 -#: order/templates/order/so_navbar.html:36 part/models.py:842 +#: order/templates/order/so_navbar.html:36 part/models.py:843 #: part/templates/part/detail.html:105 part/templates/part/navbar.html:120 #: part/templates/part/navbar.html:123 #: report/templates/report/inventree_build_order_base.html:173 @@ -878,115 +872,134 @@ msgstr "链接到外部 URL" msgid "Notes" msgstr "备注" -#: build/models.py:315 +#: build/models.py:317 msgid "Extra build notes" msgstr "额外的生产备注" -#: build/models.py:792 +#: build/models.py:714 msgid "No build output specified" msgstr "未指定生产产出" -#: build/models.py:795 +#: build/models.py:717 msgid "Build output is already completed" msgstr "生产产出已完成" -#: build/models.py:798 +#: build/models.py:720 msgid "Build output does not match Build Order" msgstr "生产产出与订单不匹配" -#: build/models.py:1208 -msgid "BuildItem must be unique for build, stock_item and install_into" -msgstr "" - -#: build/models.py:1233 +#: build/models.py:1102 msgid "Build item must specify a build output, as master part is marked as trackable" msgstr "" -#: build/models.py:1237 +#: build/models.py:1111 #, python-brace-format -msgid "Allocated quantity ({n}) must not exceed available quantity ({q})" -msgstr "分配数量 ({n}) 不能超过可用数量 ({q})" - -#: build/models.py:1244 order/models.py:946 -msgid "StockItem is over-allocated" +msgid "Allocated quantity ({q}) must not execed available stock quantity ({a})" msgstr "" -#: build/models.py:1248 order/models.py:949 +#: build/models.py:1121 +msgid "Stock item is over-allocated" +msgstr "库存物品分配过度!" + +#: build/models.py:1127 order/models.py:949 msgid "Allocation quantity must be greater than zero" msgstr "分配数量必须大于0" -#: build/models.py:1252 +#: build/models.py:1133 msgid "Quantity must be 1 for serialized stock" msgstr "" -#: build/models.py:1312 -#, python-brace-format -msgid "Selected stock item not found in BOM for part '{p}'" +#: build/models.py:1191 +msgid "Selected stock item not found in BOM" msgstr "" -#: build/models.py:1372 stock/templates/stock/item_base.html:331 -#: templates/InvenTree/search.html:169 templates/js/translated/build.js:869 +#: build/models.py:1251 stock/templates/stock/item_base.html:331 +#: templates/InvenTree/search.html:169 templates/js/translated/build.js:1185 #: templates/navbar.html:35 msgid "Build" msgstr "生产" -#: build/models.py:1373 +#: build/models.py:1252 msgid "Build to allocate parts" msgstr "" -#: build/models.py:1389 stock/templates/stock/item_base.html:8 +#: build/models.py:1268 build/serializers.py:151 +#: stock/templates/stock/item_base.html:8 #: stock/templates/stock/item_base.html:31 #: stock/templates/stock/item_base.html:353 #: stock/templates/stock/stock_adjust.html:16 -#: templates/js/translated/build.js:271 templates/js/translated/build.js:276 -#: templates/js/translated/build.js:1012 templates/js/translated/order.js:797 -#: templates/js/translated/order.js:802 templates/js/translated/stock.js:1626 +#: templates/js/translated/build.js:276 templates/js/translated/build.js:281 +#: templates/js/translated/build.js:965 templates/js/translated/build.js:1328 +#: templates/js/translated/order.js:797 templates/js/translated/order.js:802 +#: templates/js/translated/stock.js:1626 msgid "Stock Item" msgstr "库存项" -#: build/models.py:1390 +#: build/models.py:1269 msgid "Source stock item" msgstr "源库存项" -#: build/models.py:1403 +#: build/models.py:1282 msgid "Stock quantity to allocate to build" msgstr "" -#: build/models.py:1411 +#: build/models.py:1290 msgid "Install into" msgstr "安装到" -#: build/models.py:1412 +#: build/models.py:1291 msgid "Destination stock item" msgstr "" +#: build/serializers.py:133 part/models.py:2501 +msgid "BOM Item" +msgstr "" + +#: build/serializers.py:142 +msgid "bom_item.part must point to the same part as the build order" +msgstr "" + +#: build/serializers.py:157 +msgid "Item must be in stock" +msgstr "" + +#: build/serializers.py:171 order/models.py:313 stock/models.py:351 +#: stock/models.py:1072 +msgid "Quantity must be greater than zero" +msgstr "" + +#: build/serializers.py:180 +msgid "Build Output" +msgstr "" + +#: build/serializers.py:213 +#, python-brace-format +msgid "Available quantity ({q}) exceeded" +msgstr "" + +#: build/serializers.py:219 +msgid "Build output must be specified for allocation of tracked parts" +msgstr "" + +#: build/serializers.py:226 +msgid "Build output cannot be specified for allocation of untracked parts" +msgstr "" + +#: build/serializers.py:254 +msgid "Allocation items must be provided" +msgstr "" + #: build/templates/build/allocation_card.html:21 #: build/templates/build/complete_output.html:46 #: order/templates/order/sales_order_detail.html:206 #: order/templates/order/sales_order_detail.html:291 #: report/templates/report/inventree_test_report_base.html:75 #: stock/models.py:501 stock/templates/stock/item_base.html:251 -#: templates/js/translated/build.js:627 -#: templates/js/translated/model_renderers.js:57 +#: templates/js/translated/build.js:625 +#: templates/js/translated/model_renderers.js:72 msgid "Serial Number" msgstr "序列号" -#: build/templates/build/auto_allocate.html:9 -msgid "Automatically Allocate Stock" -msgstr "自动分配库存" - -#: build/templates/build/auto_allocate.html:10 -msgid "The following stock items will be allocated to the specified build output" -msgstr "" - -#: build/templates/build/auto_allocate.html:37 -msgid "No stock items found that can be automatically allocated to this build" -msgstr "" - -#: build/templates/build/auto_allocate.html:39 -msgid "Stock items will have to be manually allocated" -msgstr "必须手动分配库存项目" - #: build/templates/build/build_base.html:18 #, python-format msgid "This Build Order is allocated to Sales Order %(link)s" @@ -1168,28 +1181,6 @@ msgstr "" msgid "The following items will be created" msgstr "" -#: build/templates/build/create_build_item.html:7 -msgid "Select a stock item to allocate to the selected build output" -msgstr "" - -#: build/templates/build/create_build_item.html:11 -#, python-format -msgid "The allocated stock will be installed into the following build output:
%(output)s" -msgstr "" - -#: build/templates/build/create_build_item.html:17 -#, python-format -msgid "No stock available for %(part)s" -msgstr "%(part)s 没有可用库存" - -#: build/templates/build/delete_build_item.html:8 -msgid "Are you sure you want to unallocate this stock?" -msgstr "" - -#: build/templates/build/delete_build_item.html:11 -msgid "The selected stock will be unallocated from the build output" -msgstr "" - #: build/templates/build/detail.html:38 msgid "Stock Source" msgstr "" @@ -1219,7 +1210,7 @@ msgstr "" #: build/templates/build/detail.html:119 #: order/templates/order/order_base.html:111 #: order/templates/order/sales_order_base.html:113 -#: templates/js/translated/build.js:933 +#: templates/js/translated/build.js:1249 msgid "Created" msgstr "已创建" @@ -1227,7 +1218,7 @@ msgstr "已创建" msgid "No target date set" msgstr "无预计日期" -#: build/templates/build/detail.html:135 templates/js/translated/build.js:911 +#: build/templates/build/detail.html:135 templates/js/translated/build.js:1227 msgid "Completed" msgstr "已完成" @@ -1247,15 +1238,16 @@ msgstr "为生产分配库存" msgid "Allocate stock to build" msgstr "为生产分配库存" -#: build/templates/build/detail.html:173 -msgid "Auto Allocate" -msgstr "自动分配" +#: build/templates/build/detail.html:173 build/templates/build/navbar.html:20 +#: build/templates/build/navbar.html:23 +msgid "Allocate Stock" +msgstr "分配库存" -#: build/templates/build/detail.html:175 templates/js/translated/build.js:801 +#: build/templates/build/detail.html:175 templates/js/translated/build.js:806 msgid "Unallocate stock" msgstr "未分配库存" -#: build/templates/build/detail.html:176 build/views.py:318 build/views.py:638 +#: build/templates/build/detail.html:176 build/views.py:257 msgid "Unallocate Stock" msgstr "未分配库存" @@ -1279,38 +1271,42 @@ msgid "Untracked stock has not been fully allocated for this Build Order" msgstr "未跟踪的库存尚未完全分配给此生产订单" #: build/templates/build/detail.html:197 +msgid "Allocate selected items" +msgstr "" + +#: build/templates/build/detail.html:209 msgid "This Build Order does not have any associated untracked BOM items" msgstr "" -#: build/templates/build/detail.html:206 +#: build/templates/build/detail.html:218 msgid "Incomplete Build Outputs" msgstr "未完成的生产产出" -#: build/templates/build/detail.html:211 +#: build/templates/build/detail.html:223 msgid "Create new build output" msgstr "" -#: build/templates/build/detail.html:212 +#: build/templates/build/detail.html:224 msgid "Create New Output" msgstr "" -#: build/templates/build/detail.html:225 +#: build/templates/build/detail.html:237 msgid "Create a new build output" msgstr "" -#: build/templates/build/detail.html:226 +#: build/templates/build/detail.html:238 msgid "No incomplete build outputs remain." msgstr "" -#: build/templates/build/detail.html:227 +#: build/templates/build/detail.html:239 msgid "Create a new build output using the button above" msgstr "" -#: build/templates/build/detail.html:235 +#: build/templates/build/detail.html:247 msgid "Completed Build Outputs" msgstr "" -#: build/templates/build/detail.html:246 build/templates/build/navbar.html:42 +#: build/templates/build/detail.html:258 build/templates/build/navbar.html:42 #: build/templates/build/navbar.html:45 order/templates/order/po_navbar.html:35 #: order/templates/order/sales_order_detail.html:43 #: order/templates/order/so_navbar.html:29 part/templates/part/detail.html:173 @@ -1320,11 +1316,11 @@ msgstr "" msgid "Attachments" msgstr "附件" -#: build/templates/build/detail.html:257 +#: build/templates/build/detail.html:269 msgid "Build Notes" msgstr "生产备注" -#: build/templates/build/detail.html:261 build/templates/build/detail.html:398 +#: build/templates/build/detail.html:273 build/templates/build/detail.html:414 #: company/templates/company/detail.html:169 #: company/templates/company/detail.html:196 #: order/templates/order/purchase_order_detail.html:62 @@ -1336,7 +1332,7 @@ msgstr "生产备注" msgid "Edit Notes" msgstr "编辑备注" -#: build/templates/build/detail.html:357 +#: build/templates/build/detail.html:373 #: order/templates/order/po_attachments.html:79 #: order/templates/order/purchase_order_detail.html:157 #: order/templates/order/sales_order_detail.html:146 @@ -1345,7 +1341,7 @@ msgstr "编辑备注" msgid "Add Attachment" msgstr "添加附件" -#: build/templates/build/detail.html:376 +#: build/templates/build/detail.html:392 #: order/templates/order/po_attachments.html:51 #: order/templates/order/purchase_order_detail.html:129 #: order/templates/order/sales_order_detail.html:119 @@ -1353,7 +1349,7 @@ msgstr "添加附件" msgid "Edit Attachment" msgstr "编辑附件" -#: build/templates/build/detail.html:383 +#: build/templates/build/detail.html:399 #: order/templates/order/po_attachments.html:58 #: order/templates/order/purchase_order_detail.html:136 #: order/templates/order/sales_order_detail.html:125 @@ -1361,7 +1357,7 @@ msgstr "编辑附件" msgid "Confirm Delete Operation" msgstr "确认删除操作" -#: build/templates/build/detail.html:384 +#: build/templates/build/detail.html:400 #: order/templates/order/po_attachments.html:59 #: order/templates/order/purchase_order_detail.html:137 #: order/templates/order/sales_order_detail.html:126 @@ -1369,6 +1365,14 @@ msgstr "确认删除操作" msgid "Delete Attachment" msgstr "删除附件" +#: build/templates/build/detail.html:443 +msgid "Allocation Complete" +msgstr "" + +#: build/templates/build/detail.html:444 +msgid "All untracked stock items have been allocated" +msgstr "" + #: build/templates/build/edit_build_item.html:7 msgid "Alter the quantity of stock allocated to the build output" msgstr "" @@ -1402,11 +1406,6 @@ msgstr "生产订单详情" msgid "Details" msgstr "详情" -#: build/templates/build/navbar.html:20 build/templates/build/navbar.html:23 -#: build/views.py:90 -msgid "Allocate Stock" -msgstr "分配库存" - #: build/templates/build/navbar.html:28 build/templates/build/navbar.html:31 msgid "Build Outputs" msgstr "生产产出" @@ -1431,120 +1430,82 @@ msgstr "所有未完成的库存分配都将从生产中删除" msgid "Build was cancelled" msgstr "生产已取消" -#: build/views.py:137 -msgid "Allocated stock to build output" -msgstr "已为生产分配库存" - -#: build/views.py:149 +#: build/views.py:88 msgid "Create Build Output" msgstr "创建创建生产产出" -#: build/views.py:167 +#: build/views.py:106 msgid "Maximum output quantity is " msgstr "最大产出量是 " -#: build/views.py:183 stock/views.py:1389 +#: build/views.py:122 stock/views.py:1389 msgid "Serial numbers already exist" msgstr "序列号已存在" -#: build/views.py:192 +#: build/views.py:131 msgid "Serial numbers required for trackable build output" msgstr "可追踪的生产产出需要序列号" -#: build/views.py:258 +#: build/views.py:197 msgid "Delete Build Output" msgstr "删除生产产出" -#: build/views.py:279 build/views.py:369 +#: build/views.py:218 build/views.py:308 msgid "Confirm unallocation of build stock" msgstr "" -#: build/views.py:280 build/views.py:370 stock/views.py:404 +#: build/views.py:219 build/views.py:309 stock/views.py:404 msgid "Check the confirmation box" msgstr "选中确认框" -#: build/views.py:292 +#: build/views.py:231 msgid "Build output does not match build" msgstr "生产产出与生产不匹配" -#: build/views.py:294 build/views.py:495 +#: build/views.py:233 build/views.py:434 msgid "Build output must be specified" msgstr "必须指定生成产出" -#: build/views.py:306 +#: build/views.py:245 msgid "Build output deleted" msgstr "生产产出已删除" -#: build/views.py:404 +#: build/views.py:343 msgid "Complete Build Order" msgstr "生产订单完成" -#: build/views.py:410 +#: build/views.py:349 msgid "Build order cannot be completed - incomplete outputs remain" msgstr "" -#: build/views.py:421 +#: build/views.py:360 msgid "Completed build order" msgstr "已完成的生产订单" -#: build/views.py:437 +#: build/views.py:376 msgid "Complete Build Output" msgstr "" -#: build/views.py:479 +#: build/views.py:418 msgid "Invalid stock status value selected" msgstr "选定的库存状态值无效" -#: build/views.py:486 +#: build/views.py:425 msgid "Quantity to complete cannot exceed build output quantity" msgstr "完成数量不能超过生产产出数量" -#: build/views.py:492 +#: build/views.py:431 msgid "Confirm completion of incomplete build" msgstr "" -#: build/views.py:591 +#: build/views.py:530 msgid "Build output completed" msgstr "生产产出已完成" -#: build/views.py:628 +#: build/views.py:567 msgid "Delete Build Order" msgstr "删除生产订单" -#: build/views.py:643 -msgid "Removed parts from build allocation" -msgstr "" - -#: build/views.py:655 -msgid "Allocate stock to build output" -msgstr "为生产产出分配库存" - -#: build/views.py:698 -msgid "Item must be currently in stock" -msgstr "项目必须是当前库存" - -#: build/views.py:704 -msgid "Stock item is over-allocated" -msgstr "库存物品分配过度!" - -#: build/views.py:705 templates/js/translated/bom.js:269 -#: templates/js/translated/build.js:728 templates/js/translated/build.js:1019 -#: templates/js/translated/build.js:1196 -msgid "Available" -msgstr "空闲" - -#: build/views.py:707 -msgid "Stock item must be selected" -msgstr "必须选择库存项" - -#: build/views.py:870 -msgid "Edit Stock Allocation" -msgstr "编辑库存分配" - -#: build/views.py:874 -msgid "Updated Build Item" -msgstr "" - #: common/files.py:67 msgid "Unsupported file format: {ext.upper()}" msgstr "不支持的文件格式: {ext.uper()}" @@ -1718,7 +1679,7 @@ msgstr "" msgid "Copy category parameter templates when creating a part" msgstr "" -#: common/models.py:603 part/models.py:2252 report/models.py:187 +#: common/models.py:603 part/models.py:2256 report/models.py:187 #: stock/forms.py:224 templates/js/translated/table_filters.js:38 #: templates/js/translated/table_filters.js:342 msgid "Template" @@ -1728,7 +1689,7 @@ msgstr "模板" msgid "Parts are templates by default" msgstr "" -#: common/models.py:610 part/models.py:805 +#: common/models.py:610 part/models.py:806 #: templates/js/translated/table_filters.js:146 #: templates/js/translated/table_filters.js:354 msgid "Assembly" @@ -1738,7 +1699,7 @@ msgstr "组装" msgid "Parts can be assembled from other components by default" msgstr "" -#: common/models.py:617 part/models.py:811 +#: common/models.py:617 part/models.py:812 #: templates/js/translated/table_filters.js:358 msgid "Component" msgstr "组件" @@ -1747,7 +1708,7 @@ msgstr "组件" msgid "Parts can be used as sub-components by default" msgstr "" -#: common/models.py:624 part/models.py:822 +#: common/models.py:624 part/models.py:823 msgid "Purchaseable" msgstr "可购买" @@ -1755,7 +1716,7 @@ msgstr "可购买" msgid "Parts are purchaseable by default" msgstr "商品默认可购买" -#: common/models.py:631 part/models.py:827 +#: common/models.py:631 part/models.py:828 #: templates/js/translated/table_filters.js:366 msgid "Salable" msgstr "可销售" @@ -1764,7 +1725,7 @@ msgstr "可销售" msgid "Parts are salable by default" msgstr "商品默认可销售" -#: common/models.py:638 part/models.py:817 +#: common/models.py:638 part/models.py:818 #: templates/js/translated/table_filters.js:46 #: templates/js/translated/table_filters.js:370 msgid "Trackable" @@ -1774,7 +1735,7 @@ msgstr "可追踪" msgid "Parts are trackable by default" msgstr "商品默认可跟踪" -#: common/models.py:645 part/models.py:837 +#: common/models.py:645 part/models.py:838 #: part/templates/part/part_base.html:66 #: templates/js/translated/table_filters.js:42 msgid "Virtual" @@ -2293,7 +2254,7 @@ msgid "Point of contact" msgstr "" #: company/models.py:131 company/models.py:348 company/models.py:564 -#: order/models.py:160 part/models.py:714 +#: order/models.py:160 part/models.py:715 #: report/templates/report/inventree_build_order_base.html:165 #: templates/js/translated/company.js:536 #: templates/js/translated/company.js:825 templates/js/translated/part.js:983 @@ -2304,7 +2265,7 @@ msgstr "链接" msgid "Link to external company information" msgstr "链接到外部公司信息" -#: company/models.py:139 part/models.py:724 +#: company/models.py:139 part/models.py:725 msgid "Image" msgstr "图片" @@ -2333,7 +2294,7 @@ msgid "Does this company manufacture parts?" msgstr "该公司制造商品吗?" #: company/models.py:152 company/serializers.py:264 -#: company/templates/company/company_base.html:76 stock/serializers.py:155 +#: company/templates/company/company_base.html:76 stock/serializers.py:156 msgid "Currency" msgstr "货币" @@ -2407,7 +2368,7 @@ msgstr "数值" msgid "Parameter value" msgstr "参数值" -#: company/models.py:429 part/models.py:799 part/models.py:2220 +#: company/models.py:429 part/models.py:800 part/models.py:2224 #: templates/js/translated/company.js:649 templates/js/translated/part.js:629 msgid "Units" msgstr "单位" @@ -2458,16 +2419,16 @@ msgid "Supplier part description" msgstr "供应商商品描述" #: company/models.py:576 company/templates/company/supplier_part.html:120 -#: part/models.py:2368 report/templates/report/inventree_po_report.html:93 +#: part/models.py:2389 report/templates/report/inventree_po_report.html:93 #: report/templates/report/inventree_so_report.html:93 msgid "Note" msgstr "备注" -#: company/models.py:580 part/models.py:1599 +#: company/models.py:580 part/models.py:1603 msgid "base cost" msgstr "" -#: company/models.py:580 part/models.py:1599 +#: company/models.py:580 part/models.py:1603 msgid "Minimum charge (e.g. stocking fee)" msgstr "最低收费(例如库存费)" @@ -2481,7 +2442,7 @@ msgstr "打包" msgid "Part packaging" msgstr "商品打包" -#: company/models.py:584 part/models.py:1601 +#: company/models.py:584 part/models.py:1605 msgid "multiple" msgstr "" @@ -2661,7 +2622,7 @@ msgstr "新建销售订单" #: company/templates/company/detail.html:147 #: company/templates/company/navbar.html:61 #: company/templates/company/navbar.html:64 -#: templates/js/translated/build.js:620 +#: templates/js/translated/build.js:611 msgid "Assigned Stock" msgstr "" @@ -2774,7 +2735,7 @@ msgstr "制造商商品库存" #: company/templates/company/manufacturer_part_navbar.html:29 #: company/templates/company/navbar.html:39 #: company/templates/company/supplier_part_navbar.html:15 -#: part/templates/part/navbar.html:38 stock/api.py:54 +#: part/templates/part/navbar.html:38 stock/api.py:57 #: stock/templates/stock/loc_link.html:7 stock/templates/stock/location.html:36 #: stock/templates/stock/stock_app_base.html:10 #: templates/InvenTree/index.html:150 templates/InvenTree/search.html:182 @@ -3007,14 +2968,10 @@ msgstr "查询筛选器 (逗号分隔的键值对列表" msgid "Part query filters (comma-separated value of key=value pairs)" msgstr "商品查询筛选器 (逗号分隔的键值对列表)" -#: order/api.py:251 +#: order/api.py:249 msgid "Matching purchase order does not exist" msgstr "" -#: order/api.py:310 -msgid "Destination location must be specified" -msgstr "" - #: order/forms.py:30 order/templates/order/order_base.html:47 msgid "Place order" msgstr "" @@ -3109,10 +3066,6 @@ msgstr "" msgid "Date order was completed" msgstr "" -#: order/models.py:313 stock/models.py:351 stock/models.py:1072 -msgid "Quantity must be greater than zero" -msgstr "" - #: order/models.py:318 msgid "Part supplier must match PO supplier" msgstr "" @@ -3194,7 +3147,7 @@ msgid "Number of items received" msgstr "" #: order/models.py:796 part/templates/part/prices.html:176 stock/models.py:588 -#: stock/serializers.py:147 stock/templates/stock/item_base.html:345 +#: stock/serializers.py:148 stock/templates/stock/item_base.html:345 #: templates/js/translated/stock.js:1045 msgid "Purchase Price" msgstr "采购价格" @@ -3232,6 +3185,10 @@ msgstr "" msgid "Allocation quantity cannot exceed stock quantity" msgstr "" +#: order/models.py:946 +msgid "StockItem is over-allocated" +msgstr "" + #: order/models.py:952 msgid "Quantity must be 1 for serialized stock item" msgstr "" @@ -3252,35 +3209,35 @@ msgstr "" msgid "Enter stock allocation quantity" msgstr "" -#: order/serializers.py:166 +#: order/serializers.py:167 msgid "Purchase price currency" msgstr "" -#: order/serializers.py:201 +#: order/serializers.py:202 msgid "Line Item" msgstr "" -#: order/serializers.py:207 +#: order/serializers.py:208 msgid "Line item does not match purchase order" msgstr "" -#: order/serializers.py:217 order/serializers.py:277 +#: order/serializers.py:218 order/serializers.py:278 msgid "Select destination location for received items" msgstr "" -#: order/serializers.py:234 +#: order/serializers.py:235 msgid "Barcode Hash" msgstr "" -#: order/serializers.py:235 +#: order/serializers.py:236 msgid "Unique identifier field" msgstr "" -#: order/serializers.py:251 +#: order/serializers.py:252 msgid "Barcode is already in use" msgstr "" -#: order/serializers.py:290 +#: order/serializers.py:289 msgid "Line items must be provided" msgstr "" @@ -3288,7 +3245,11 @@ msgstr "" msgid "Supplied barcode values must be unique" msgstr "" -#: order/serializers.py:515 +#: order/serializers.py:331 +msgid "Destination location must be specified" +msgstr "" + +#: order/serializers.py:556 msgid "Sale price currency" msgstr "" @@ -3422,6 +3383,7 @@ msgstr "" #: part/templates/part/import_wizard/ajax_match_references.html:42 #: part/templates/part/import_wizard/match_fields.html:71 #: part/templates/part/import_wizard/match_references.html:49 +#: templates/js/translated/build.js:858 msgid "Remove row" msgstr "移除行" @@ -3559,7 +3521,7 @@ msgid "Receive outstanding parts for %(order)s - %(desc)s