Skip to content

Commit

Permalink
bug #2366 Add missing translation domain for the help message of a ma…
Browse files Browse the repository at this point in the history
…naged entity. (moynzzz)

This PR was squashed before being merged into the 1.x branch (closes #2366).

Discussion
----------

Add missing translation domain for the help message of a managed entity.

<!--

BUGS must go to '1.x' branch.
NEW FEATURES must go to 'master' branch.

If the NEW FEATURE is complex, open an issue first so we can discuss about it.

Note: all your contributions adhere implicitly to the MIT license

-->
Add missing translation domain for the help message of a managed entity. Fixes #2340

Commits
-------

3d15a02 Add missing translation domain for the help message of a managed entity.
  • Loading branch information
javiereguiluz committed Sep 26, 2018
2 parents acb959b + 3d15a02 commit 14d211b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/views/default/layout.html.twig
Expand Up @@ -142,7 +142,7 @@
{% if _entity_config is defined and _entity_config[app.request.query.get('action')]['help']|default(false) %}
<div class="box box-widget help-entity">
<div class="box-body">
{{ _entity_config[app.request.query.get('action')]['help']|trans|raw }}
{{ _entity_config[app.request.query.get('action')]['help']|trans(domain = _entity_config.translation_domain)|raw }}
</div>
</div>
{% endif %}
Expand Down

0 comments on commit 14d211b

Please sign in to comment.