mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add translatable strings for part views
This commit is contained in:
parent
1327c1d3b1
commit
a82e219336
@ -6,7 +6,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-02-03 10:28+0000\n"
|
||||
"POT-Creation-Date: 2020-02-10 11:09+0000\n"
|
||||
"PO-Revision-Date: 2020-02-02 08:07+0100\n"
|
||||
"Last-Translator: Christian Schlüter <chschlue@gmail.com>\n"
|
||||
"Language-Team: C <kde-i18n-doc@kde.org>\n"
|
||||
@ -706,7 +706,7 @@ msgstr "Link auf externe Seite"
|
||||
msgid "Order notes"
|
||||
msgstr "Bestell-Notizen"
|
||||
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1067
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1080
|
||||
#: stock/models.py:440
|
||||
msgid "Quantity must be greater than zero"
|
||||
msgstr "Anzahl muss größer Null sein"
|
||||
@ -1277,56 +1277,208 @@ msgstr "Tracking"
|
||||
msgid "Attachments"
|
||||
msgstr "Anhänge"
|
||||
|
||||
#: part/views.py:77
|
||||
#, fuzzy
|
||||
#| msgid "Add Attachment"
|
||||
msgid "Added attachment"
|
||||
msgstr "Anhang hinzufügen"
|
||||
|
||||
#: part/views.py:119
|
||||
#, fuzzy
|
||||
#| msgid "Part Attachments"
|
||||
msgid "Part attachment updated"
|
||||
msgstr "Anhänge"
|
||||
|
||||
#: part/views.py:196
|
||||
#, python-brace-format
|
||||
msgid "Set category for {n} parts"
|
||||
msgstr "Kategorie für {n} Teile setzen"
|
||||
|
||||
#: part/views.py:808
|
||||
#: part/views.py:306
|
||||
#, fuzzy
|
||||
#| msgid "Supplier part"
|
||||
msgid "Copied part"
|
||||
msgstr "Zulieferer-Teil"
|
||||
|
||||
#: part/views.py:414
|
||||
#, fuzzy
|
||||
#| msgid "Create new Stock Item"
|
||||
msgid "Create new part"
|
||||
msgstr "Neues Lagerobjekt hinzufügen"
|
||||
|
||||
#: part/views.py:419
|
||||
#, fuzzy
|
||||
#| msgid "Created new stock item"
|
||||
msgid "Created new part"
|
||||
msgstr "Neues Lagerobjekt erstellt"
|
||||
|
||||
#: part/views.py:609
|
||||
msgid "Upload Part Image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:614
|
||||
msgid "Updated part image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:623
|
||||
#, fuzzy
|
||||
#| msgid "Select part"
|
||||
msgid "Select Part Image"
|
||||
msgstr "Teil auswählen"
|
||||
|
||||
#: part/views.py:627
|
||||
#, fuzzy
|
||||
#| msgid "Select part"
|
||||
msgid "Selected part image"
|
||||
msgstr "Teil auswählen"
|
||||
|
||||
#: part/views.py:637
|
||||
#, fuzzy
|
||||
#| msgid "Edit notes"
|
||||
msgid "Edit Part Properties"
|
||||
msgstr "Bermerkungen bearbeiten"
|
||||
|
||||
#: part/views.py:659
|
||||
msgid "Validate BOM"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:821
|
||||
msgid "No BOM file provided"
|
||||
msgstr "Keine Stückliste angegeben"
|
||||
|
||||
#: part/views.py:1069
|
||||
#: part/views.py:1082
|
||||
msgid "Enter a valid quantity"
|
||||
msgstr "Bitte eine gültige Anzahl eingeben"
|
||||
|
||||
#: part/views.py:1093 part/views.py:1096
|
||||
#: part/views.py:1106 part/views.py:1109
|
||||
msgid "Select valid part"
|
||||
msgstr "Bitte ein gültiges Teil auswählen"
|
||||
|
||||
#: part/views.py:1102
|
||||
#: part/views.py:1115
|
||||
msgid "Duplicate part selected"
|
||||
msgstr "Teil doppelt ausgewählt"
|
||||
|
||||
#: part/views.py:1130
|
||||
#: part/views.py:1143
|
||||
msgid "Select a part"
|
||||
msgstr "Teil auswählen"
|
||||
|
||||
#: part/views.py:1134
|
||||
#: part/views.py:1147
|
||||
msgid "Specify quantity"
|
||||
msgstr "Anzahl angeben"
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: part/views.py:1324
|
||||
#, fuzzy
|
||||
#| msgid "Confirm part creation"
|
||||
msgid "Confirm Part Deletion"
|
||||
msgstr "Erstellen des Teils bestätigen"
|
||||
|
||||
#: part/views.py:1331
|
||||
msgid "Part was deleted"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1340
|
||||
#, fuzzy
|
||||
#| msgid "Part packaging"
|
||||
msgid "Part Pricing"
|
||||
msgstr "Teile-Packaging"
|
||||
|
||||
#: part/views.py:1462
|
||||
#, fuzzy
|
||||
#| msgid "Parameter Template"
|
||||
msgid "Create Part Parameter Template"
|
||||
msgstr "Parameter Vorlage"
|
||||
|
||||
#: part/views.py:1470
|
||||
#, fuzzy
|
||||
#| msgid "Parameter Template"
|
||||
msgid "Edit Part Parameter Template"
|
||||
msgstr "Parameter Vorlage"
|
||||
|
||||
#: part/views.py:1477
|
||||
#, fuzzy
|
||||
#| msgid "Parameter Template"
|
||||
msgid "Delete Part Parameter Template"
|
||||
msgstr "Parameter Vorlage"
|
||||
|
||||
#: part/views.py:1485
|
||||
msgid "Create Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1535
|
||||
#, fuzzy
|
||||
#| msgid "Edit attachment"
|
||||
msgid "Edit Part Parameter"
|
||||
msgstr "Anhang bearbeiten"
|
||||
|
||||
#: part/views.py:1549
|
||||
#, fuzzy
|
||||
#| msgid "Delete attachment"
|
||||
msgid "Delete Part Parameter"
|
||||
msgstr "Anhang löschen"
|
||||
|
||||
#: part/views.py:1565
|
||||
#, fuzzy
|
||||
#| msgid "Part category"
|
||||
msgid "Edit Part Category"
|
||||
msgstr "Teile-Kategorie"
|
||||
|
||||
#: part/views.py:1600
|
||||
#, fuzzy
|
||||
#| msgid "Select part category"
|
||||
msgid "Delete Part Category"
|
||||
msgstr "Teilekategorie wählen"
|
||||
|
||||
#: part/views.py:1606
|
||||
#, fuzzy
|
||||
#| msgid "Part category"
|
||||
msgid "Part category was deleted"
|
||||
msgstr "Teile-Kategorie"
|
||||
|
||||
#: part/views.py:1614
|
||||
#, fuzzy
|
||||
#| msgid "Select part category"
|
||||
msgid "Create new part category"
|
||||
msgstr "Teilekategorie wählen"
|
||||
|
||||
#: part/views.py:1665
|
||||
#, fuzzy
|
||||
#| msgid "Created new stock item"
|
||||
msgid "Create BOM item"
|
||||
msgstr "Neues Lagerobjekt erstellt"
|
||||
|
||||
#: part/views.py:1731
|
||||
#, fuzzy
|
||||
#| msgid "Edit Stock Item"
|
||||
msgid "Edit BOM item"
|
||||
msgstr "Lagerobjekt bearbeiten"
|
||||
|
||||
#: part/views.py:1779
|
||||
#, fuzzy
|
||||
#| msgid "Confirm build completion"
|
||||
msgid "Confim BOM item deletion"
|
||||
msgstr "Bau-Fertigstellung bestätigen"
|
||||
|
||||
#: stock/forms.py:91
|
||||
msgid "File Format"
|
||||
msgstr "Dateiformat"
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: stock/forms.py:91
|
||||
msgid "Select output file format"
|
||||
msgstr "Ausgabe-Dateiformat auswählen"
|
||||
|
||||
#: stock/forms.py:94
|
||||
#: stock/forms.py:93
|
||||
msgid "Include stock items in sub locations"
|
||||
msgstr "Lagerobjekte in untergeordneten Lagerorten einschließen"
|
||||
|
||||
#: stock/forms.py:127
|
||||
#: stock/forms.py:126
|
||||
msgid "Destination stock location"
|
||||
msgstr "Ziel-Lagerbestand"
|
||||
|
||||
#: stock/forms.py:133
|
||||
#: stock/forms.py:132
|
||||
msgid "Confirm movement of stock items"
|
||||
msgstr "Bewegung der Lagerobjekte bestätigen"
|
||||
|
||||
#: stock/forms.py:135
|
||||
#: stock/forms.py:134
|
||||
msgid "Set the destination as the default location for selected parts"
|
||||
msgstr "Setze das Ziel als Standard-Ziel für ausgewählte Teile"
|
||||
|
||||
@ -1652,27 +1804,33 @@ msgstr "Ungültige Menge"
|
||||
msgid "Invalid part selection"
|
||||
msgstr "Ungültige Teileauswahl"
|
||||
|
||||
#: stock/views.py:925
|
||||
#: stock/views.py:910
|
||||
#, fuzzy, python-brace-format
|
||||
#| msgid "Created new stock item"
|
||||
msgid "Created {n} new stock items"
|
||||
msgstr "Neues Lagerobjekt erstellt"
|
||||
|
||||
#: stock/views.py:927 stock/views.py:940
|
||||
msgid "Created new stock item"
|
||||
msgstr "Neues Lagerobjekt erstellt"
|
||||
|
||||
#: stock/views.py:942
|
||||
#: stock/views.py:957
|
||||
msgid "Delete Stock Location"
|
||||
msgstr "Standort löschen"
|
||||
|
||||
#: stock/views.py:955
|
||||
#: stock/views.py:970
|
||||
msgid "Delete Stock Item"
|
||||
msgstr "Lagerobjekt löschen"
|
||||
|
||||
#: stock/views.py:966
|
||||
#: stock/views.py:981
|
||||
msgid "Delete Stock Tracking Entry"
|
||||
msgstr "Lagerbestands-Tracking-Eintrag löschen"
|
||||
|
||||
#: stock/views.py:983
|
||||
#: stock/views.py:998
|
||||
msgid "Edit Stock Tracking Entry"
|
||||
msgstr "Lagerbestands-Tracking-Eintrag bearbeiten"
|
||||
|
||||
#: stock/views.py:992
|
||||
#: stock/views.py:1007
|
||||
msgid "Add Stock Tracking Entry"
|
||||
msgstr "Lagerbestands-Tracking-Eintrag hinzufügen"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-02-03 10:28+0000\n"
|
||||
"POT-Creation-Date: 2020-02-10 11:09+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -675,7 +675,7 @@ msgstr ""
|
||||
msgid "Order notes"
|
||||
msgstr ""
|
||||
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1067
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1080
|
||||
#: stock/models.py:440
|
||||
msgid "Quantity must be greater than zero"
|
||||
msgstr ""
|
||||
@ -1242,56 +1242,164 @@ msgstr ""
|
||||
msgid "Attachments"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:77
|
||||
msgid "Added attachment"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:119
|
||||
msgid "Part attachment updated"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:196
|
||||
#, python-brace-format
|
||||
msgid "Set category for {n} parts"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:808
|
||||
#: part/views.py:306
|
||||
msgid "Copied part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:414
|
||||
msgid "Create new part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:419
|
||||
msgid "Created new part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:609
|
||||
msgid "Upload Part Image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:614
|
||||
msgid "Updated part image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:623
|
||||
msgid "Select Part Image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:627
|
||||
msgid "Selected part image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:637
|
||||
msgid "Edit Part Properties"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:659
|
||||
msgid "Validate BOM"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:821
|
||||
msgid "No BOM file provided"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1069
|
||||
#: part/views.py:1082
|
||||
msgid "Enter a valid quantity"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1093 part/views.py:1096
|
||||
#: part/views.py:1106 part/views.py:1109
|
||||
msgid "Select valid part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1102
|
||||
#: part/views.py:1115
|
||||
msgid "Duplicate part selected"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1130
|
||||
#: part/views.py:1143
|
||||
msgid "Select a part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1134
|
||||
#: part/views.py:1147
|
||||
msgid "Specify quantity"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: part/views.py:1324
|
||||
msgid "Confirm Part Deletion"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1331
|
||||
msgid "Part was deleted"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1340
|
||||
msgid "Part Pricing"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1462
|
||||
msgid "Create Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1470
|
||||
msgid "Edit Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1477
|
||||
msgid "Delete Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1485
|
||||
msgid "Create Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1535
|
||||
msgid "Edit Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1549
|
||||
msgid "Delete Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1565
|
||||
msgid "Edit Part Category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1600
|
||||
msgid "Delete Part Category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1606
|
||||
msgid "Part category was deleted"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1614
|
||||
msgid "Create new part category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1665
|
||||
msgid "Create BOM item"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1731
|
||||
msgid "Edit BOM item"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1779
|
||||
msgid "Confim BOM item deletion"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:91
|
||||
msgid "File Format"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: stock/forms.py:91
|
||||
msgid "Select output file format"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:94
|
||||
#: stock/forms.py:93
|
||||
msgid "Include stock items in sub locations"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:127
|
||||
#: stock/forms.py:126
|
||||
msgid "Destination stock location"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:133
|
||||
#: stock/forms.py:132
|
||||
msgid "Confirm movement of stock items"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:135
|
||||
#: stock/forms.py:134
|
||||
msgid "Set the destination as the default location for selected parts"
|
||||
msgstr ""
|
||||
|
||||
@ -1610,27 +1718,32 @@ msgstr ""
|
||||
msgid "Invalid part selection"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:925
|
||||
#: stock/views.py:910
|
||||
#, python-brace-format
|
||||
msgid "Created {n} new stock items"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:927 stock/views.py:940
|
||||
msgid "Created new stock item"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:942
|
||||
#: stock/views.py:957
|
||||
msgid "Delete Stock Location"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:955
|
||||
#: stock/views.py:970
|
||||
msgid "Delete Stock Item"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:966
|
||||
#: stock/views.py:981
|
||||
msgid "Delete Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:983
|
||||
#: stock/views.py:998
|
||||
msgid "Edit Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:992
|
||||
#: stock/views.py:1007
|
||||
msgid "Add Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-02-03 10:28+0000\n"
|
||||
"POT-Creation-Date: 2020-02-10 11:09+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -675,7 +675,7 @@ msgstr ""
|
||||
msgid "Order notes"
|
||||
msgstr ""
|
||||
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1067
|
||||
#: order/models.py:159 order/models.py:210 part/views.py:1080
|
||||
#: stock/models.py:440
|
||||
msgid "Quantity must be greater than zero"
|
||||
msgstr ""
|
||||
@ -1242,56 +1242,164 @@ msgstr ""
|
||||
msgid "Attachments"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:77
|
||||
msgid "Added attachment"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:119
|
||||
msgid "Part attachment updated"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:196
|
||||
#, python-brace-format
|
||||
msgid "Set category for {n} parts"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:808
|
||||
#: part/views.py:306
|
||||
msgid "Copied part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:414
|
||||
msgid "Create new part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:419
|
||||
msgid "Created new part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:609
|
||||
msgid "Upload Part Image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:614
|
||||
msgid "Updated part image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:623
|
||||
msgid "Select Part Image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:627
|
||||
msgid "Selected part image"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:637
|
||||
msgid "Edit Part Properties"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:659
|
||||
msgid "Validate BOM"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:821
|
||||
msgid "No BOM file provided"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1069
|
||||
#: part/views.py:1082
|
||||
msgid "Enter a valid quantity"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1093 part/views.py:1096
|
||||
#: part/views.py:1106 part/views.py:1109
|
||||
msgid "Select valid part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1102
|
||||
#: part/views.py:1115
|
||||
msgid "Duplicate part selected"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1130
|
||||
#: part/views.py:1143
|
||||
msgid "Select a part"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1134
|
||||
#: part/views.py:1147
|
||||
msgid "Specify quantity"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: part/views.py:1324
|
||||
msgid "Confirm Part Deletion"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1331
|
||||
msgid "Part was deleted"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1340
|
||||
msgid "Part Pricing"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1462
|
||||
msgid "Create Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1470
|
||||
msgid "Edit Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1477
|
||||
msgid "Delete Part Parameter Template"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1485
|
||||
msgid "Create Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1535
|
||||
msgid "Edit Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1549
|
||||
msgid "Delete Part Parameter"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1565
|
||||
msgid "Edit Part Category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1600
|
||||
msgid "Delete Part Category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1606
|
||||
msgid "Part category was deleted"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1614
|
||||
msgid "Create new part category"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1665
|
||||
msgid "Create BOM item"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1731
|
||||
msgid "Edit BOM item"
|
||||
msgstr ""
|
||||
|
||||
#: part/views.py:1779
|
||||
msgid "Confim BOM item deletion"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:91
|
||||
msgid "File Format"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:92
|
||||
#: stock/forms.py:91
|
||||
msgid "Select output file format"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:94
|
||||
#: stock/forms.py:93
|
||||
msgid "Include stock items in sub locations"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:127
|
||||
#: stock/forms.py:126
|
||||
msgid "Destination stock location"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:133
|
||||
#: stock/forms.py:132
|
||||
msgid "Confirm movement of stock items"
|
||||
msgstr ""
|
||||
|
||||
#: stock/forms.py:135
|
||||
#: stock/forms.py:134
|
||||
msgid "Set the destination as the default location for selected parts"
|
||||
msgstr ""
|
||||
|
||||
@ -1610,27 +1718,32 @@ msgstr ""
|
||||
msgid "Invalid part selection"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:925
|
||||
#: stock/views.py:910
|
||||
#, python-brace-format
|
||||
msgid "Created {n} new stock items"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:927 stock/views.py:940
|
||||
msgid "Created new stock item"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:942
|
||||
#: stock/views.py:957
|
||||
msgid "Delete Stock Location"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:955
|
||||
#: stock/views.py:970
|
||||
msgid "Delete Stock Item"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:966
|
||||
#: stock/views.py:981
|
||||
msgid "Delete Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:983
|
||||
#: stock/views.py:998
|
||||
msgid "Edit Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
#: stock/views.py:992
|
||||
#: stock/views.py:1007
|
||||
msgid "Add Stock Tracking Entry"
|
||||
msgstr ""
|
||||
|
||||
|
@ -74,7 +74,7 @@ class PartAttachmentCreate(AjaxCreateView):
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': 'Added attachment'
|
||||
'success': _('Added attachment')
|
||||
}
|
||||
|
||||
def get_initial(self):
|
||||
@ -116,7 +116,7 @@ class PartAttachmentEdit(AjaxUpdateView):
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': 'Part attachment updated'
|
||||
'success': _('Part attachment updated')
|
||||
}
|
||||
|
||||
def get_form(self):
|
||||
@ -303,7 +303,7 @@ class PartDuplicate(AjaxCreateView):
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': 'Copied part'
|
||||
'success': _('Copied part')
|
||||
}
|
||||
|
||||
def get_part_to_copy(self):
|
||||
@ -411,12 +411,12 @@ class PartCreate(AjaxCreateView):
|
||||
model = Part
|
||||
form_class = part_forms.EditPartForm
|
||||
|
||||
ajax_form_title = 'Create new part'
|
||||
ajax_form_title = _('Create new part')
|
||||
ajax_template_name = 'part/create_part.html'
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': "Created new part",
|
||||
'success': _("Created new part"),
|
||||
}
|
||||
|
||||
def get_category_id(self):
|
||||
@ -606,12 +606,25 @@ class PartImage(AjaxUpdateView):
|
||||
|
||||
model = Part
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Upload Part Image'
|
||||
ajax_form_title = _('Upload Part Image')
|
||||
form_class = part_forms.PartImageForm
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': 'Updated part image',
|
||||
'success': _('Updated part image'),
|
||||
}
|
||||
|
||||
|
||||
class PartImageSelect(AjaxUpdateView):
|
||||
""" View for selecting Part image from existing images. """
|
||||
|
||||
model = Part
|
||||
ajax_template_name = 'part/select_image.html'
|
||||
ajax_form_title = _('Select Part Image')
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'success': _('Selected part image')
|
||||
}
|
||||
|
||||
|
||||
@ -621,7 +634,7 @@ class PartEdit(AjaxUpdateView):
|
||||
model = Part
|
||||
form_class = part_forms.EditPartForm
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Edit Part Properties'
|
||||
ajax_form_title = _('Edit Part Properties')
|
||||
context_object_name = 'part'
|
||||
|
||||
def get_form(self):
|
||||
@ -643,7 +656,7 @@ class BomValidate(AjaxUpdateView):
|
||||
""" Modal form view for validating a part BOM """
|
||||
|
||||
model = Part
|
||||
ajax_form_title = "Validate BOM"
|
||||
ajax_form_title = _("Validate BOM")
|
||||
ajax_template_name = 'part/bom_validate.html'
|
||||
context_object_name = 'part'
|
||||
form_class = part_forms.BomValidateForm
|
||||
@ -1308,14 +1321,14 @@ class PartDelete(AjaxDeleteView):
|
||||
|
||||
model = Part
|
||||
ajax_template_name = 'part/partial_delete.html'
|
||||
ajax_form_title = 'Confirm Part Deletion'
|
||||
ajax_form_title = _('Confirm Part Deletion')
|
||||
context_object_name = 'part'
|
||||
|
||||
success_url = '/part/'
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'danger': 'Part was deleted',
|
||||
'danger': _('Part was deleted'),
|
||||
}
|
||||
|
||||
|
||||
@ -1324,7 +1337,7 @@ class PartPricing(AjaxView):
|
||||
|
||||
model = Part
|
||||
ajax_template_name = "part/part_pricing.html"
|
||||
ajax_form_title = "Part Pricing"
|
||||
ajax_form_title = _("Part Pricing")
|
||||
form_class = part_forms.PartPriceForm
|
||||
|
||||
def get_part(self):
|
||||
@ -1446,7 +1459,7 @@ class PartParameterTemplateCreate(AjaxCreateView):
|
||||
|
||||
model = PartParameterTemplate
|
||||
form_class = part_forms.EditPartParameterTemplateForm
|
||||
ajax_form_title = 'Create Part Parameter Template'
|
||||
ajax_form_title = _('Create Part Parameter Template')
|
||||
|
||||
|
||||
class PartParameterTemplateEdit(AjaxUpdateView):
|
||||
@ -1454,14 +1467,14 @@ class PartParameterTemplateEdit(AjaxUpdateView):
|
||||
|
||||
model = PartParameterTemplate
|
||||
form_class = part_forms.EditPartParameterTemplateForm
|
||||
ajax_form_title = 'Edit Part Parameter Template'
|
||||
ajax_form_title = _('Edit Part Parameter Template')
|
||||
|
||||
|
||||
class PartParameterTemplateDelete(AjaxDeleteView):
|
||||
""" View for deleting an existing PartParameterTemplate """
|
||||
|
||||
model = PartParameterTemplate
|
||||
ajax_form_title = "Delete Part Parameter Template"
|
||||
ajax_form_title = _("Delete Part Parameter Template")
|
||||
|
||||
|
||||
class PartParameterCreate(AjaxCreateView):
|
||||
@ -1469,7 +1482,7 @@ class PartParameterCreate(AjaxCreateView):
|
||||
|
||||
model = PartParameter
|
||||
form_class = part_forms.EditPartParameterForm
|
||||
ajax_form_title = 'Create Part Parameter'
|
||||
ajax_form_title = _('Create Part Parameter')
|
||||
|
||||
def get_initial(self):
|
||||
|
||||
@ -1519,7 +1532,7 @@ class PartParameterEdit(AjaxUpdateView):
|
||||
|
||||
model = PartParameter
|
||||
form_class = part_forms.EditPartParameterForm
|
||||
ajax_form_title = 'Edit Part Parameter'
|
||||
ajax_form_title = _('Edit Part Parameter')
|
||||
|
||||
def get_form(self):
|
||||
|
||||
@ -1533,7 +1546,7 @@ class PartParameterDelete(AjaxDeleteView):
|
||||
|
||||
model = PartParameter
|
||||
ajax_template_name = 'part/param_delete.html'
|
||||
ajax_form_title = 'Delete Part Parameter'
|
||||
ajax_form_title = _('Delete Part Parameter')
|
||||
|
||||
|
||||
class CategoryDetail(DetailView):
|
||||
@ -1549,7 +1562,7 @@ class CategoryEdit(AjaxUpdateView):
|
||||
model = PartCategory
|
||||
form_class = part_forms.EditCategoryForm
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Edit Part Category'
|
||||
ajax_form_title = _('Edit Part Category')
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(CategoryEdit, self).get_context_data(**kwargs).copy()
|
||||
@ -1584,13 +1597,13 @@ class CategoryDelete(AjaxDeleteView):
|
||||
""" Delete view to delete a PartCategory """
|
||||
model = PartCategory
|
||||
ajax_template_name = 'part/category_delete.html'
|
||||
ajax_form_title = 'Delete Part Category'
|
||||
ajax_form_title = _('Delete Part Category')
|
||||
context_object_name = 'category'
|
||||
success_url = '/part/'
|
||||
|
||||
def get_data(self):
|
||||
return {
|
||||
'danger': 'Part category was deleted',
|
||||
'danger': _('Part category was deleted'),
|
||||
}
|
||||
|
||||
|
||||
@ -1598,7 +1611,7 @@ class CategoryCreate(AjaxCreateView):
|
||||
""" Create view to make a new PartCategory """
|
||||
model = PartCategory
|
||||
ajax_form_action = reverse_lazy('category-create')
|
||||
ajax_form_title = 'Create new part category'
|
||||
ajax_form_title = _('Create new part category')
|
||||
ajax_template_name = 'modal_form.html'
|
||||
form_class = part_forms.EditCategoryForm
|
||||
|
||||
@ -1649,7 +1662,7 @@ class BomItemCreate(AjaxCreateView):
|
||||
model = BomItem
|
||||
form_class = part_forms.EditBomItemForm
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Create BOM item'
|
||||
ajax_form_title = _('Create BOM item')
|
||||
|
||||
def get_form(self):
|
||||
""" Override get_form() method to reduce Part selection options.
|
||||
@ -1715,7 +1728,7 @@ class BomItemEdit(AjaxUpdateView):
|
||||
model = BomItem
|
||||
form_class = part_forms.EditBomItemForm
|
||||
ajax_template_name = 'modal_form.html'
|
||||
ajax_form_title = 'Edit BOM item'
|
||||
ajax_form_title = _('Edit BOM item')
|
||||
|
||||
def get_form(self):
|
||||
""" Override get_form() method to filter part selection options
|
||||
@ -1763,4 +1776,4 @@ class BomItemDelete(AjaxDeleteView):
|
||||
model = BomItem
|
||||
ajax_template_name = 'part/bom-delete.html'
|
||||
context_object_name = 'item'
|
||||
ajax_form_title = 'Confim BOM item deletion'
|
||||
ajax_form_title = _('Confim BOM item deletion')
|
||||
|
Loading…
Reference in New Issue
Block a user