|
@@ -92,7 +92,13 @@ file that was distributed with this source code.
|
|
|
>
|
|
|
{% endif %}
|
|
|
|
|
|
- {{ menu.label }}
|
|
|
+ {%- set translation_domain = menu.extra('translation_domain', 'messages') -%}
|
|
|
+ {%- set label = menu.label -%}
|
|
|
+ {%- if translation_domain is not same as(false) -%}
|
|
|
+ {%- set label = label|trans(menu.extra('translation_params', {}), translation_domain) -%}
|
|
|
+ {%- endif -%}
|
|
|
+
|
|
|
+ {{ label }}
|
|
|
{% endif %}
|
|
|
{% endfor %}
|
|
|
{% endif %}
|