Moar UI and translation string fixes

This commit is contained in:
Oliver Walters 2020-04-28 09:41:47 +10:00
parent bbecc8c900
commit 6bdf371490
5 changed files with 45 additions and 25 deletions

View File

@ -1,8 +1,9 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load static %} {% load static %}
{% load i18n %}
{% block page_title %} {% block page_title %}
InvenTree | Build List InvenTree | {% trans "Build Orders" %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
@ -10,7 +11,7 @@ InvenTree | Build List
<div class='row'> <div class='row'>
<div class='col-sm-6'> <div class='col-sm-6'>
<h3>Part Builds</h3> <h3>{% trans "Build Orders" %}</h3>
</div> </div>
<div class='col-sm-6'> <div class='col-sm-6'>
@ -20,7 +21,7 @@ InvenTree | Build List
<div id='button-toolbar'> <div id='button-toolbar'>
<div class='button-toolbar container-fluid' style='float: right;'> <div class='button-toolbar container-fluid' style='float: right;'>
<button type='button' class="btn btn-success" id='new-build'>Start New Build</button> <button type='button' class="btn btn-success" id='new-build'>{% trans "New Build Order" %}</button>
<div class='filter-list' id='filter-list-build'> <div class='filter-list' id='filter-list-build'>
<!-- An empty div in which the filter list will be constructed --> <!-- An empty div in which the filter list will be constructed -->
</div> </div>

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: 2020-02-02 08:07+0100\n"
"Last-Translator: Christian Schlüter <chschlue@gmail.com>\n" "Last-Translator: Christian Schlüter <chschlue@gmail.com>\n"
"Language-Team: C <kde-i18n-doc@kde.org>\n" "Language-Team: C <kde-i18n-doc@kde.org>\n"
@ -639,6 +639,20 @@ msgstr "Nein"
msgid "Completed" msgid "Completed"
msgstr "Fertig" 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 #: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes" msgid "Build Notes"
msgstr "Bau-Bemerkungen" msgstr "Bau-Bemerkungen"
@ -1778,13 +1792,6 @@ msgstr ""
msgid "Sales Order Attachments" msgid "Sales Order Attachments"
msgstr "Bestelldetails" 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 #: order/templates/order/so_lineitem_delete.html:5
#, fuzzy #, fuzzy
#| msgid "Are you sure you want to delete the following Supplier Parts?" #| msgid "Are you sure you want to delete the following Supplier Parts?"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -570,6 +570,16 @@ msgstr ""
msgid "Completed" msgid "Completed"
msgstr "" 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 #: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes" msgid "Build Notes"
msgstr "" msgstr ""
@ -1516,11 +1526,6 @@ msgstr ""
msgid "Sales Order Attachments" msgid "Sales Order Attachments"
msgstr "" 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 #: order/templates/order/so_lineitem_delete.html:5
msgid "Are you sure you wish to delete this line item?" msgid "Are you sure you wish to delete this line item?"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -570,6 +570,16 @@ msgstr ""
msgid "Completed" msgid "Completed"
msgstr "" 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 #: build/templates/build/notes.html:13 build/templates/build/notes.html:30
msgid "Build Notes" msgid "Build Notes"
msgstr "" msgstr ""
@ -1516,11 +1526,6 @@ msgstr ""
msgid "Sales Order Attachments" msgid "Sales Order Attachments"
msgstr "" 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 #: order/templates/order/so_lineitem_delete.html:5
msgid "Are you sure you wish to delete this line item?" msgid "Are you sure you wish to delete this line item?"
msgstr "" msgstr ""

View File

@ -1,10 +1,12 @@
{% extends "part/part_base.html" %} {% extends "part/part_base.html" %}
{% block details %}
{% load status_codes %} {% load status_codes %}
{% load i18n %}
{% block details %}
{% include "part/tabs.html" with tab="allocation" %} {% include "part/tabs.html" with tab="allocation" %}
<h4>Part Allocation</h4> <h4>{% trans "Part Stock Allocations" %}</h4>
<table class='table table-striped table-condensed' id='build-table'> <table class='table table-striped table-condensed' id='build-table'>
<tr> <tr>