[TEMPLATES][I18N] Fixup use of trans filter, in favour of trans tags. These are much more flexible and facilitate parameterized translations, rather than using concats. The only appropriate use of the trans filter is when a whole string in a variable needs to be translated (which should probably be avoided anyway)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends 'stdgrid.html.twig' %}
|
||||
{% import "/cards/macros/note/factory.html.twig" as NoteFactory %}
|
||||
|
||||
{% block title %}{{ 'Delete ' | trans }}{{ 'note' | trans }}{% endblock %}
|
||||
{% block title %}{% trans %}Delete note{% endtrans %}{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
|
Reference in New Issue
Block a user