浏览代码

Change translation_domain to label_catalogue

The catalogue to use is stored inside the label_catalogue key, not translation_domain.
Everton Barbosa Jr 8 年之前
父节点
当前提交
bcdc4f7a0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/views/Menu/sonata_menu.html.twig

+ 1 - 1
Resources/views/Menu/sonata_menu.html.twig

@@ -25,7 +25,7 @@
 
 {% block linkElement %}
     {% spaceless %}
-        {% set translation_domain = item.extra('translation_domain', 'messages') %}
+        {% set translation_domain = item.extra('label_catalogue', 'messages') %}
         {% if item.extra('on_top') is defined and not item.extra('on_top') %}
             {% set icon = item.extra('icon')|default(item.level > 1 ? '<i class="fa fa-angle-double-right" aria-hidden="true"></i>' : '') %}
         {% else %}