diff options
author | adev <adev2000@gmail.com> | 2017-05-06 22:21:04 +0200 |
---|---|---|
committer | adev <adev2000@gmail.com> | 2017-05-06 22:21:04 +0200 |
commit | f3c300e4858c22db01188435aadf14768365b6f3 (patch) | |
tree | 0e43225e1aa2ab2517aee02b08149f0c28822632 | |
parent | 6603a9d649bc3319694f35dff021f935681a44ad (diff) | |
download | wallabag-f3c300e4858c22db01188435aadf14768365b6f3.tar.gz wallabag-f3c300e4858c22db01188435aadf14768365b6f3.tar.zst wallabag-f3c300e4858c22db01188435aadf14768365b6f3.zip |
Translate error message in login page
Fix #2933
-rw-r--r-- | src/Wallabag/UserBundle/Resources/views/Security/login.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig b/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig index fc0d97e7..32984c84 100644 --- a/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/Security/login.html.twig | |||
@@ -5,7 +5,7 @@ | |||
5 | <div class="card-content"> | 5 | <div class="card-content"> |
6 | 6 | ||
7 | {% if error %} | 7 | {% if error %} |
8 | <script>Materialize.toast('{{ error.message }}', 4000)</script> | 8 | <script>Materialize.toast('{{ error.messageKey|trans(error.messageData, 'security') }}', 4000)</script> |
9 | {% endif %} | 9 | {% endif %} |
10 | 10 | ||
11 | {% for flashMessage in app.session.flashbag.get('notice') %} | 11 | {% for flashMessage in app.session.flashbag.get('notice') %} |