Browse Source

Merge pull request #114 from stof/translation_domain

Added a missing trans domain
Thomas 14 năm trước cách đây
mục cha
commit
a04abda93b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 %}