diff options
author | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-09-30 18:17:40 +0200 |
---|---|---|
committer | Nicolas Lœuillet <nicolas@loeuillet.org> | 2015-09-30 18:17:40 +0200 |
commit | 8e417206d5333b1156548b27a707500674f49ca6 (patch) | |
tree | 59e694d48a13b27c30150605627ffa7ff5b91b35 | |
parent | 4aafa7f0df1302dc0984ad942fef3c3be7bffd0d (diff) | |
download | wallabag-8e417206d5333b1156548b27a707500674f49ca6.tar.gz wallabag-8e417206d5333b1156548b27a707500674f49ca6.tar.zst wallabag-8e417206d5333b1156548b27a707500674f49ca6.zip |
flash messages translation
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | 11 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 1286847c..4946344d 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -104,3 +104,14 @@ Standard Firefox Add-On: "Extension Firefox" | |||
104 | Chrome Extension: "Extension Chrome" | 104 | Chrome Extension: "Extension Chrome" |
105 | download the application: "téléchargez l'application" | 105 | download the application: "téléchargez l'application" |
106 | "Drag & drop this link to your bookmarks bar:": "Glissez et déposez ce lien dans votre barre de favoris :" | 106 | "Drag & drop this link to your bookmarks bar:": "Glissez et déposez ce lien dans votre barre de favoris :" |
107 | |||
108 | # Flash messages | ||
109 | Information updated: "Vos informations personnelles ont bien été mises à jour" | ||
110 | Config saved: "Les paramètres de wallabag ont bien été mis à jour" | ||
111 | RSS information updated: "La configuration des flux RSS a bien été mise à jour" | ||
112 | Password updated: "Votre mot de passe a bien été mis à jour" | ||
113 | Entry starred: "Article ajouté dans les favoris" | ||
114 | Entry unstarred: "Article retiré des favoris" | ||
115 | Entry archived: "Article marqué comme lu" | ||
116 | Entry unarchived: "Article marqué comme non lu" | ||
117 | Entry deleted: "Article supprimé" | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 2d1d3ded..7614fcd3 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |||
@@ -21,7 +21,7 @@ | |||
21 | {% block messages %} | 21 | {% block messages %} |
22 | {% for flashMessage in app.session.flashbag.get('notice') %} | 22 | {% for flashMessage in app.session.flashbag.get('notice') %} |
23 | <script> | 23 | <script> |
24 | Materialize.toast('{{ flashMessage }}', 4000); | 24 | Materialize.toast('{{ flashMessage|trans }}', 4000); |
25 | </script> | 25 | </script> |
26 | {% endfor %} | 26 | {% endfor %} |
27 | {% endblock %} | 27 | {% endblock %} |