summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/asciidoc.css3
-rw-r--r--doc/en/weechat_plugin_api.en.txt25
-rw-r--r--doc/fr/weechat_plugin_api.fr.txt25
-rw-r--r--doc/it/weechat_plugin_api.it.txt27
4 files changed, 80 insertions, 0 deletions
diff --git a/doc/asciidoc.css b/doc/asciidoc.css
index c0242c0be..17d949006 100644
--- a/doc/asciidoc.css
+++ b/doc/asciidoc.css
@@ -7,6 +7,9 @@ div.sectionbody {
h5 {
font-size: 0.95em;
}
+tt {
+ font-family: monospace;
+}
span.command {
background: #EEEEFF;
border: solid 1px #BBBBDD;
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 454f53790..0449bc318 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -6306,6 +6306,31 @@ Arguments:
* 'tags': comma separated list of tags
* 'message': message to display
+Tags commonly used (non-exhaustive list):
+
+[width="70%",cols="1m,4",options="header"]
+|========================================
+| Tag | Description
+| no_filter | Line can not be filtered
+| no_highlight | No highlight is possible on line
+| no_log | Line is not written in log file
+| log0 ... log9 | Level of log for line (see `/help logger`)
+| notify_none | Buffer with line is not added to hotlist
+| notify_message | Buffer with line is added to hotlist with level "message"
+| notify_private | Buffer with line is added to hotlist with level "private"
+| notify_highlight | Buffer with line is added to hotlist with level "highlight"
+| nick_xxx | Message is from nick "xxx"
+| prefix_nick_ccc | Prefix is a nick with color "ccc"
+| irc_xxx | IRC message "xxx" (can be a command or a 3-digits number)
+| irc_numeric | IRC numeric message
+| irc_error | Error from IRC server
+| irc_action | Action from a nick (command `/me`)
+| irc_ctcp | CTCP message
+| irc_ctcp_reply | Reply to CTCP message
+| irc_smart_filter | IRC message that can be filtered with the "smart filter"
+| away_info | Message with away info
+|========================================
+
C example:
[source,C]
diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt
index 9502518e9..4b946eee4 100644
--- a/doc/fr/weechat_plugin_api.fr.txt
+++ b/doc/fr/weechat_plugin_api.fr.txt
@@ -6384,6 +6384,31 @@ Paramètres :
* 'tags' : liste d'étiquettes ("tags") séparées par des virgules
* 'message' : message à afficher
+Tags couramment utilisés (liste non exhaustive) :
+
+[width="70%",cols="1m,4",options="header"]
+|========================================
+| Tag | Description
+| no_filter | La ligne ne peut pas être filtrée
+| no_highlight | Aucun highlight n'est possible sur cette ligne
+| no_log | La ligne n'est pas écrite dans le fichier de log
+| log0 ... log9 | Niveau de log pour la ligne (voir `/help logger`)
+| notify_none | Le tampon avec la ligne ne sera pas ajouté à la "hotlist"
+| notify_message | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "message"
+| notify_private | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "private"
+| notify_highlight | Le tampon avec la ligne sera ajouté à la "hotlist" avec le niveau "highlight"
+| nick_xxx | Le message vient du pseudo "xxx"
+| prefix_nick_ccc | Le préfixe est un pseudo avec la couleur "ccc"
+| irc_xxx | Message IRC "xxx" (peut-être une commande ou un numérique sur 3 chiffres)
+| irc_numeric | Message IRC numérique
+| irc_error | Erreur du serveur IRC
+| irc_action | Action d'un pseudo (commande `/me`)
+| irc_ctcp | Message CTCP
+| irc_ctcp_reply | Réponse à un message CTCP
+| irc_smart_filter | Message IRC qui peut être filtré avec le "smart filter" (filtre intelligent)
+| away_info | Message avec une info d'absence
+|========================================
+
Exemple en C :
[source,C]
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index b68823d62..e3f2817e2 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -6313,6 +6313,33 @@ Argomenti:
* 'tags': lista di tag separati da virgole
* 'message': messaggio da visualizzare
+// TRANSLATION MISSING
+Tags commonly used (non-exhaustive list):
+
+// TRANSLATION MISSING
+[width="70%",cols="1m,4",options="header"]
+|========================================
+| Tag | Description
+| no_filter | Line can not be filtered
+| no_highlight | No highlight is possible on line
+| no_log | Line is not written in log file
+| log0 ... log9 | Level of log for line (see `/help logger`)
+| notify_none | Buffer with line is not added to hotlist
+| notify_message | Buffer with line is added to hotlist with level "message"
+| notify_private | Buffer with line is added to hotlist with level "private"
+| notify_highlight | Buffer with line is added to hotlist with level "highlight"
+| nick_xxx | Message is from nick "xxx"
+| prefix_nick_ccc | Prefix is a nick with color "ccc"
+| irc_xxx | IRC message "xxx" (can be a command or a 3-digits number)
+| irc_numeric | IRC numeric message
+| irc_error | Error from IRC server
+| irc_action | Action from a nick (command `/me`)
+| irc_ctcp | CTCP message
+| irc_ctcp_reply | Reply to CTCP message
+| irc_smart_filter | IRC message that can be filtered with the "smart filter"
+| away_info | Message with away info
+|========================================
+
Esempio in C:
[source,C]