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

Translations with translation in parameter: guessed invalid translation_domain #716

Closed
BrechtBonte opened this issue Apr 13, 2016 · 1 comment
Labels

Comments

@BrechtBonte
Copy link

In a file

{% trans_default_domain "test_domain" %}

{{ "label_a"|trans }}

{{
    "label_b"|trans({
        '%some%': "label_c"|trans,
        '%vars%': "label_d"|trans({}, 'different_domain')
    })
}}

The following domains are guessed for the labels (and validation and hinting are based off of these):

Label Domain Correct
label_a test_domain ✔️
label_b different_domain ✖️
label_c different_domain ✖️
label_d different_domain ✔️
@Haehnchen
Copy link
Owner

fixed and released

@Haehnchen Haehnchen added fixed and removed todo labels Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants