Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irrelevant "Missing translation domain" warning #877

Closed
vudaltsov opened this issue Feb 27, 2017 · 1 comment
Closed

Irrelevant "Missing translation domain" warning #877

vudaltsov opened this issue Feb 27, 2017 · 1 comment

Comments

@vudaltsov
Copy link

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

@Haehnchen
Copy link
Owner

thx, related to #814 same magic regular expression i need to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants