aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2015-09-30 18:17:40 +0200
committerNicolas Lœuillet <nicolas@loeuillet.org>2015-09-30 18:17:40 +0200
commit8e417206d5333b1156548b27a707500674f49ca6 (patch)
tree59e694d48a13b27c30150605627ffa7ff5b91b35
parent4aafa7f0df1302dc0984ad942fef3c3be7bffd0d (diff)
downloadwallabag-8e417206d5333b1156548b27a707500674f49ca6.tar.gz
wallabag-8e417206d5333b1156548b27a707500674f49ca6.tar.zst
wallabag-8e417206d5333b1156548b27a707500674f49ca6.zip
flash messages translation
-rw-r--r--src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml11
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig2
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"
104Chrome Extension: "Extension Chrome" 104Chrome Extension: "Extension Chrome"
105download the application: "téléchargez l'application" 105download the application: "téléchargez l'application"
106"Drag &amp; drop this link to your bookmarks bar:": "Glissez et déposez ce lien dans votre barre de favoris :" 106"Drag &amp; drop this link to your bookmarks bar:": "Glissez et déposez ce lien dans votre barre de favoris :"
107
108# Flash messages
109Information updated: "Vos informations personnelles ont bien été mises à jour"
110Config saved: "Les paramètres de wallabag ont bien été mis à jour"
111RSS information updated: "La configuration des flux RSS a bien été mise à jour"
112Password updated: "Votre mot de passe a bien été mis à jour"
113Entry starred: "Article ajouté dans les favoris"
114Entry unstarred: "Article retiré des favoris"
115Entry archived: "Article marqué comme lu"
116Entry unarchived: "Article marqué comme non lu"
117Entry 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 %}