diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-07 14:00:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-07 14:00:41 +0200 |
commit | f2beee5185e0bf7f983fb97a34480b4c74d7eb8c (patch) | |
tree | 0e43225e1aa2ab2517aee02b08149f0c28822632 /src/Wallabag | |
parent | 6603a9d649bc3319694f35dff021f935681a44ad (diff) | |
parent | f3c300e4858c22db01188435aadf14768365b6f3 (diff) | |
download | wallabag-f2beee5185e0bf7f983fb97a34480b4c74d7eb8c.tar.gz wallabag-f2beee5185e0bf7f983fb97a34480b4c74d7eb8c.tar.zst wallabag-f2beee5185e0bf7f983fb97a34480b4c74d7eb8c.zip |
Merge pull request #3090 from aaa2000/translate-login-page-error
Translate error message in login page
Diffstat (limited to 'src/Wallabag')
-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') %} |