From 6bdf371490136ab32b21ed7816cbb56ef910d047 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Tue, 28 Apr 2020 09:41:47 +1000 Subject: [PATCH] Moar UI and translation string fixes --- InvenTree/build/templates/build/index.html | 7 +++--- InvenTree/locale/de/LC_MESSAGES/django.po | 23 ++++++++++++------- InvenTree/locale/en/LC_MESSAGES/django.po | 17 +++++++++----- InvenTree/locale/es/LC_MESSAGES/django.po | 17 +++++++++----- InvenTree/part/templates/part/allocation.html | 6 +++-- 5 files changed, 45 insertions(+), 25 deletions(-) diff --git a/InvenTree/build/templates/build/index.html b/InvenTree/build/templates/build/index.html index 9edfecfc45..d72807f9f1 100644 --- a/InvenTree/build/templates/build/index.html +++ b/InvenTree/build/templates/build/index.html @@ -1,8 +1,9 @@ {% extends "base.html" %} {% load static %} +{% load i18n %} {% block page_title %} -InvenTree | Build List +InvenTree | {% trans "Build Orders" %} {% endblock %} {% block content %} @@ -10,7 +11,7 @@ InvenTree | Build List
-

Part Builds

+

{% trans "Build Orders" %}

@@ -20,7 +21,7 @@ InvenTree | Build List
- +
diff --git a/InvenTree/locale/de/LC_MESSAGES/django.po b/InvenTree/locale/de/LC_MESSAGES/django.po index 852b837b6b..a926a257c1 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-04-27 23:32+0000\n" +"POT-Creation-Date: 2020-04-27 23:38+0000\n" "PO-Revision-Date: 2020-02-02 08:07+0100\n" "Last-Translator: Christian Schlüter \n" "Language-Team: C \n" @@ -639,6 +639,20 @@ msgstr "Nein" msgid "Completed" msgstr "Fertig" +#: build/templates/build/index.html:6 build/templates/build/index.html:14 +#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 +#: part/templates/part/tabs.html:28 +#, fuzzy +#| msgid "Build Notes" +msgid "Build Orders" +msgstr "Bau-Bemerkungen" + +#: build/templates/build/index.html:24 +#, fuzzy +#| msgid "Build Notes" +msgid "New Build Order" +msgstr "Bau-Bemerkungen" + #: build/templates/build/notes.html:13 build/templates/build/notes.html:30 msgid "Build Notes" msgstr "Bau-Bemerkungen" @@ -1778,13 +1792,6 @@ msgstr "" msgid "Sales Order Attachments" msgstr "Bestelldetails" -#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 -#: part/templates/part/tabs.html:28 -#, fuzzy -#| msgid "Build Notes" -msgid "Build Orders" -msgstr "Bau-Bemerkungen" - #: order/templates/order/so_lineitem_delete.html:5 #, fuzzy #| msgid "Are you sure you want to delete the following Supplier Parts?" diff --git a/InvenTree/locale/en/LC_MESSAGES/django.po b/InvenTree/locale/en/LC_MESSAGES/django.po index d546eb43b0..6e6bd170bc 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-04-27 23:32+0000\n" +"POT-Creation-Date: 2020-04-27 23:38+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -570,6 +570,16 @@ msgstr "" msgid "Completed" msgstr "" +#: build/templates/build/index.html:6 build/templates/build/index.html:14 +#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 +#: part/templates/part/tabs.html:28 +msgid "Build Orders" +msgstr "" + +#: build/templates/build/index.html:24 +msgid "New Build Order" +msgstr "" + #: build/templates/build/notes.html:13 build/templates/build/notes.html:30 msgid "Build Notes" msgstr "" @@ -1516,11 +1526,6 @@ msgstr "" msgid "Sales Order Attachments" msgstr "" -#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 -#: part/templates/part/tabs.html:28 -msgid "Build Orders" -msgstr "" - #: order/templates/order/so_lineitem_delete.html:5 msgid "Are you sure you wish to delete this line item?" msgstr "" diff --git a/InvenTree/locale/es/LC_MESSAGES/django.po b/InvenTree/locale/es/LC_MESSAGES/django.po index d546eb43b0..6e6bd170bc 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-04-27 23:32+0000\n" +"POT-Creation-Date: 2020-04-27 23:38+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -570,6 +570,16 @@ msgstr "" msgid "Completed" msgstr "" +#: build/templates/build/index.html:6 build/templates/build/index.html:14 +#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 +#: part/templates/part/tabs.html:28 +msgid "Build Orders" +msgstr "" + +#: build/templates/build/index.html:24 +msgid "New Build Order" +msgstr "" + #: build/templates/build/notes.html:13 build/templates/build/notes.html:30 msgid "Build Notes" msgstr "" @@ -1516,11 +1526,6 @@ msgstr "" msgid "Sales Order Attachments" msgstr "" -#: order/templates/order/so_builds.html:11 order/templates/order/so_tabs.html:9 -#: part/templates/part/tabs.html:28 -msgid "Build Orders" -msgstr "" - #: order/templates/order/so_lineitem_delete.html:5 msgid "Are you sure you wish to delete this line item?" msgstr "" diff --git a/InvenTree/part/templates/part/allocation.html b/InvenTree/part/templates/part/allocation.html index 77fa720403..3cf9e31bcd 100644 --- a/InvenTree/part/templates/part/allocation.html +++ b/InvenTree/part/templates/part/allocation.html @@ -1,10 +1,12 @@ {% extends "part/part_base.html" %} -{% block details %} {% load status_codes %} +{% load i18n %} + +{% block details %} {% include "part/tabs.html" with tab="allocation" %} -

Part Allocation

+

{% trans "Part Stock Allocations" %}