|
@@ -52,7 +52,7 @@ file that was distributed with this source code.
|
|
|
{% spaceless %}
|
|
|
<th class="sonata-ba-list-field-header-{{ field_description.type}} {% if sortable %} sonata-ba-list-field-header-order-{{ sort_by|lower }} {{ sort_active_class }}{% endif %}">
|
|
|
{% if sortable %}<a href="{{ admin.generateUrl('list', sort_parameters) }}">{% endif %}
|
|
|
- {{ admin.trans(field_description.label) }}
|
|
|
+ {{ admin.trans(field_description.label, {}, field_description.translationDomain) }}
|
|
|
{% if sortable %}</a>{% endif %}
|
|
|
</th>
|
|
|
{% endspaceless %}
|
|
@@ -156,7 +156,7 @@ file that was distributed with this source code.
|
|
|
<div>
|
|
|
{% for filter in admin.datagrid.filters %}
|
|
|
<div class="clearfix">
|
|
|
- <label for="{{ form.children[filter.formName].children['value'].vars.id }}">{{ admin.trans(filter.label) }}</label>
|
|
|
+ <label for="{{ form.children[filter.formName].children['value'].vars.id }}">{{ admin.trans(filter.label, {}, filter.translationDomain) }}</label>
|
|
|
{{ form_widget(form.children[filter.formName].children['type'], {'attr': {'class': 'span8 sonata-filter-option'}}) }}
|
|
|
{{ form_widget(form.children[filter.formName].children['value'], {'attr': {'class': 'span8'}}) }}
|
|
|
</div>
|