Skip to content

Irrelevant "Missing translation domain" warning #877

@vudaltsov

Description

@vudaltsov

I have the following template:

{% extends 'base.html.twig' %}

{% import 'component/macros/nav.html.twig' as nav %}

{% block main %}
    <nav class="tabs mt-1 mb-2 font-weight-bold">
        {{ nav.link('title.profile'|trans, path('profile'), '/^profile(_locked|)$/') }}
        {{ nav.link('title.attendees_and_payment'|trans, path('profile_attendees'), '/^profile_attendees$/') }}
    </nav>
{% endblock %}

The third argument of the nav.link macro is yellow with the warning: Missing translation domain.

2017-02-28 1 51 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions