aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authoradev <adev2000@gmail.com>2017-05-06 22:21:04 +0200
committeradev <adev2000@gmail.com>2017-05-06 22:21:04 +0200
commitf3c300e4858c22db01188435aadf14768365b6f3 (patch)
tree0e43225e1aa2ab2517aee02b08149f0c28822632 /src
parent6603a9d649bc3319694f35dff021f935681a44ad (diff)
downloadwallabag-f3c300e4858c22db01188435aadf14768365b6f3.tar.gz
wallabag-f3c300e4858c22db01188435aadf14768365b6f3.tar.zst
wallabag-f3c300e4858c22db01188435aadf14768365b6f3.zip
Translate error message in login page
Fix #2933
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/UserBundle/Resources/views/Security/login.html.twig2
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') %}