Added translations for 2FA.

This commit is contained in:
Jan Böhmer 2020-01-01 15:42:18 +01:00
parent 0c7a8bd85e
commit 96fa3be7cc
8 changed files with 1612 additions and 78 deletions

View file

@ -19,7 +19,7 @@
{% for provider in availableTwoFactorProviders %}
<li class="nav-item">
<a class="nav-link {% if provider == twoFactorProvider %}active{% endif %}"
href="{{ path("2fa_login", {"preferProvider": provider}) }}">{{ 'tfa.provider.'~provider | trans }}</a>
href="{{ path("2fa_login", {"preferProvider": provider}) }}">{{ ('tfa.provider.'~provider) | trans }}</a>
</li>
{% endfor %}
</ul>