浏览代码

Merge pull request #114 from stof/translation_domain

Added a missing trans domain
Thomas 14 年之前
父节点
当前提交
a04abda93b
共有 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 %}