Mail translation issue in Zauth Module
ThiloWitt opened this issue · 0 comments
ThiloWitt commented
Q | A |
---|---|
Zikula Version | 3.0.3 |
PHP Version | 7.4.21 |
Expected Behavior
Translation shall work normally for this line
{% trans %}Please click on the following link to complete the e-mail address check: {% endtrans %}{{ verificationurl }}
In the files regverifyemail.txt.twig
and regverifyemail.html.twig
of the the Zauth Modul.
Current Behavior
Translation does not happen
Possible Solution
Move the blank from before {% endtrans %} to behind it like here:
{% trans %}Please click on the following link to complete the e-mail address check:{% endtrans %} {{ verificationurl }}
in both files, regverifyemail.txt.twig
and regverifyemail.html.twig
Translation string in mail.en.yaml
and any other language need to be updated accordingly