瀏覽代碼

Added a missing trans filter

Christophe Coevoet 14 年之前
父節點
當前提交
d3aa3b564b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 %}