summaryrefslogtreecommitdiff
path: root/help/fr/notification.page
diff options
context:
space:
mode:
Diffstat (limited to 'help/fr/notification.page')
-rw-r--r--help/fr/notification.page83
1 files changed, 83 insertions, 0 deletions
diff --git a/help/fr/notification.page b/help/fr/notification.page
new file mode 100644
index 00000000..4faf32ab
--- /dev/null
+++ b/help/fr/notification.page
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" type="topic" id="notification" xml:lang="fr">
+ <info>
+ <link type="guide" xref="index#dialogs"/>
+ <desc>Utiliser l'option <cmd>--notification</cmd>.</desc>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Christophe Bliard</mal:name>
+ <mal:email>cbliard@gmail.com</mal:email>
+ <mal:years>2005</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Vincent Untz</mal:name>
+ <mal:email>vuntz@gnome.org</mal:email>
+ <mal:years>2005</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Claude Paroz</mal:name>
+ <mal:email>claude@2xlibre.net</mal:email>
+ <mal:years>2009</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Bruno Brouard</mal:name>
+ <mal:email>annoa.b@gmail.com</mal:email>
+ <mal:years>2011</mal:years>
+ </mal:credit>
+
+ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
+ <mal:name>Mickael Albertus</mal:name>
+ <mal:email>mickael.albertus@gmail.com</mal:email>
+ <mal:years>2012</mal:years>
+ </mal:credit>
+ </info>
+ <title>Icône de notification</title>
+ <p>Utilisez l'option <cmd>--notification</cmd> pour créer une icône de notification.</p>
+
+ <terms>
+ <item>
+ <title><cmd>--text</cmd>=<var>texte</var></title>
+ <p>Spécifier le texte affiché dans la zone de notification.</p>
+ </item>
+ <item>
+ <title><cmd>--listen</cmd>=icon: « <var>texte</var> », message: « <var>texte</var> », tooltip: « <var>texte</var> », visible: « <var>texte</var> »,</title>
+ <p>Attend une commande sur l'entrée standard. Au moins une commande doit être précisée. Les commandes sont séparées par des virgules. Une commande doit être suivie d'un double-point et d'une valeur.</p>
+ <note style="tip">
+ <p>La commande <cmd>icon</cmd> accepte aussi quatre valeurs spéciales de noms d'icônes qui sont <var>error</var> (erreur), <var>info</var>, <var>question</var> et <var>warning</var>.</p>
+ </note>
+ </item>
+ </terms>
+
+ <p>Le script d'exemple suivant montre comment créer une icône de notification :</p>
+ <code>
+ #!/bin/sh
+
+ zenity --notification\
+ --window-icon="info" \
+ --text="Mise à jour du système nécessaire !"
+ </code>
+
+ <figure>
+ <title>Exemple d'icône de notification</title>
+ <desc>Exemple d'icône de notification <app>Zenity</app></desc>
+ <media type="image" mime="image/png" src="figures/zenity-notification-screenshot.png"/>
+ </figure>
+
+ <p>Le script d'exemple suivant montre comment créer une icône de notification avec <cmd>--listen</cmd> :</p>
+ <code>
+ #!/bin/sh
+ cat &lt;&lt;EOH| zenity --notification --listen
+ message: ceci est le texte du message
+ EOH
+ </code>
+
+ <figure>
+ <title>Exemple d'icône de notification avec <cmd>--listen</cmd></title>
+ <desc>Exemple d'icône de notification <app>Zenity</app> avec <cmd>--listen</cmd></desc>
+ <media type="image" mime="image/png" src="figures/zenity-notification-listen-screenshot.png"/>
+ </figure>
+
+</page>
bgstack15