Made orderdetails strings translatable.

This commit is contained in:
Jan Böhmer 2019-08-30 16:54:35 +02:00
parent 6e34cc3633
commit c4d5d4291b
4 changed files with 14 additions and 6 deletions

View file

@ -34,9 +34,9 @@
<table class="table table-sm table-bordered" data-prototype="{{ form_widget(form.pricedetails.vars.prototype)|e('html_attr') }}">
<thead>
<tr>
<th>Min Qty.</th>
<th>Price</th>
<th>Price Qty</th>
<th>{% trans %}pricedetails.edit.min_qty{% endtrans %}</th>
<th>{% trans %}pricedetails.edit.price{% endtrans %}</th>
<th>{% trans %}pricedetails.edit.price_qty{% endtrans %}</th>
<th></th>
</tr>
</thead>

View file

@ -90,5 +90,6 @@
</div>
{{ form_row(form.save) }}
{{ form_row(form.reset) }}
{{ form_errors(form) }}
{{ form_end(form) }}
{% endblock %}