Pārlūkot izejas kodu

Added a missing trans filter

Christophe Coevoet 14 gadi atpakaļ
vecāks
revīzija
d3aa3b564b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Resources/views/CRUD/base_edit.html.twig

+ 1 - 1
Resources/views/CRUD/base_edit.html.twig

@@ -42,7 +42,7 @@ file that was distributed with this source code.
             {% if name %}
                 <fieldset>
                     <legend>
-                        {{ name|trans }}
+                        {{ name|trans({}, admin.translationdomain) }}
                         {% if form_group.collapsed %}
                             <a href="" class="sonata-ba-collapsed">{% trans from 'AdminBundle' %}link_expand{% endtrans %}</a>
                         {% endif %}