2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

Translations

This commit is contained in:
Oliver Walters
2020-04-05 20:40:46 +10:00
parent c170d3f87a
commit 7b494c08ec
5 changed files with 406 additions and 345 deletions

View File

@ -1,14 +1,14 @@
{% extends "base.html" %}
{% load static %}
{% load i18n %}
{% block page_title %}
{% if part %}
InvenTree | Part - {{ part.full_name }}
InvenTree | {% trans "Part" %} - {{ part.full_name }}
{% elif category %}
InvenTree | Part Category - {{ category }}
InvenTree | {% trans "Part Category" %} - {{ category }}
{% else %}
InvenTree | Part List
InvenTree | {% trans "Part List" %}
{% endif %}
{% endblock %}
@ -36,10 +36,10 @@ InvenTree | Part List
{{ block.super }}
loadTree("{% url 'api-part-tree' %}",
"#part-tree",
{
name: 'part',
}
"#part-tree",
{
name: 'part',
}
);
$("#toggle-part-tree").click(function() {