mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Merge pull request #2360 from matmair/add-translations
Add some missing parts of the UI to translations
This commit is contained in:
commit
ae6ac2ae24
@ -250,18 +250,18 @@ $("#param-table").inventreeTable({
|
|||||||
columns: [
|
columns: [
|
||||||
{
|
{
|
||||||
field: 'pk',
|
field: 'pk',
|
||||||
title: 'ID',
|
title: '{% trans "ID" %}',
|
||||||
visible: false,
|
visible: false,
|
||||||
switchable: false,
|
switchable: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'name',
|
field: 'name',
|
||||||
title: 'Name',
|
title: '{% trans "Name" %}',
|
||||||
sortable: 'true',
|
sortable: 'true',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'units',
|
field: 'units',
|
||||||
title: 'Units',
|
title: '{% trans "Units" %}',
|
||||||
sortable: 'true',
|
sortable: 'true',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -214,7 +214,7 @@
|
|||||||
{% if ALL_LANG %}
|
{% if ALL_LANG %}
|
||||||
. <a href="{% url 'settings' %}">{% trans "Show only sufficent" %}</a>
|
. <a href="{% url 'settings' %}">{% trans "Show only sufficent" %}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
and hidden. <a href="?alllang">{% trans "Show them too" %}</a>
|
{% trans "and hidden." %} <a href="?alllang">{% trans "Show them too" %}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -878,7 +878,7 @@ function loadPartTable(table, url, options={}) {
|
|||||||
|
|
||||||
col = {
|
col = {
|
||||||
field: 'IPN',
|
field: 'IPN',
|
||||||
title: 'IPN',
|
title: '{% trans "IPN" %}',
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!options.params.ordering) {
|
if (!options.params.ordering) {
|
||||||
|
@ -1101,7 +1101,7 @@ function loadStockTable(table, options) {
|
|||||||
|
|
||||||
col = {
|
col = {
|
||||||
field: 'part_detail.IPN',
|
field: 'part_detail.IPN',
|
||||||
title: 'IPN',
|
title: '{% trans "IPN" %}',
|
||||||
sortName: 'part__IPN',
|
sortName: 'part__IPN',
|
||||||
visible: params['part_detail'],
|
visible: params['part_detail'],
|
||||||
switchable: params['part_detail'],
|
switchable: params['part_detail'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user