re-using menu translation for tags (#1717)

This commit is contained in:
Kevin Papst
2020-05-18 16:03:45 +02:00
committed by GitHub
parent e3749c8e8f
commit 9da46bbdcd
21 changed files with 2 additions and 215 deletions

View File

@@ -2,7 +2,7 @@
{% import "macros/widgets.html.twig" as widgets %}
{% import "tags/actions.html.twig" as actions %}
{% block page_title %}{{ 'tags.title'|trans({}, 'tags') }}{% endblock %}
{% block page_title %}{{ 'menu.tags'|trans }}{% endblock %}
{% block page_actions %}{{ actions.tag(tag, 'edit') }}{% endblock %}
{% block main %}

View File

@@ -4,7 +4,7 @@
{% import "macros/datatables.html.twig" as tables %}
{% import "macros/toolbar.html.twig" as toolbar %}
{% block page_title %}{{ 'tags.title'|trans({}, 'tags') }}{% endblock %}
{% block page_title %}{{ 'menu.tags'|trans }}{% endblock %}
{% block page_search %}{{ toolbar.dropDownSearch(toolbarForm) }}{% endblock %}
{% block page_actions %}{{ actions.tags('index') }}{% endblock %}