From 669aa2741a9828eb174a24b8291a602e324f5bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 17 Aug 2018 08:16:14 +0200 Subject: [PATCH] doc: rename variable "tg_tags" to "tags" in line trigger (user guide) --- doc/de/weechat_user.de.adoc | 8 +++----- doc/en/weechat_user.en.adoc | 8 +++----- doc/fr/weechat_user.fr.adoc | 8 +++----- doc/it/weechat_user.it.adoc | 8 +++----- doc/ja/weechat_user.ja.adoc | 8 +++----- doc/pl/weechat_user.pl.adoc | 8 +++----- 6 files changed, 18 insertions(+), 30 deletions(-) diff --git a/doc/de/weechat_user.de.adoc b/doc/de/weechat_user.de.adoc index 09b985088..026abbb08 100644 --- a/doc/de/weechat_user.de.adoc +++ b/doc/de/weechat_user.de.adoc @@ -4002,6 +4002,7 @@ Der Callback von "line" legt folgende Variablen in der Hashtable an: | date | string | Line date (timestamp). | date_printed | string | Date when line was displayed (timestamp). | str_time | string | Date for display. It may contain color codes. +| tags | string | Tags einer Nachricht (Komma wird automatisch zu Beginn und Ende den Tags hinzugefügt). | displayed | string | "1" if displayed, "0" if line filtered. | notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight | highlight | string | "1" if highlight, otherwise "0". @@ -4012,13 +4013,11 @@ Der Callback von "line" legt folgende Variablen in der Hashtable an: |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _print_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== | Variable | Typ | Beschreibung -| tg_tags | string | Tags einer Nachricht (Komma wird automatisch zu Beginn und Ende den Tags hinzugefügt). | tg_tags_count | string | Anzahl an Tags der Nachricht. | tg_tag_nick | string | Nick (extrahiert aus Tag "nick_xxx"). | tg_tag_prefix_nick | string | Nickfarbe für Präfix (extrahier aus Tag "prefix_nick_ccc"). @@ -4047,8 +4046,7 @@ Der Callback von "print" legt folgende Variablen in der Hashtable an: |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _line_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc index 64c774bb2..efbcff4fe 100644 --- a/doc/en/weechat_user.en.adoc +++ b/doc/en/weechat_user.en.adoc @@ -3907,6 +3907,7 @@ The "line" callback sets following variables in hashtable: | date | string | Line date (timestamp). | date_printed | string | Date when line was displayed (timestamp). | str_time | string | Date for display. It may contain color codes. +| tags | string | Tags of message (with comma added at beginning/end of string). | displayed | string | "1" if displayed, "0" if line filtered. | notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight | highlight | string | "1" if highlight, otherwise "0". @@ -3916,13 +3917,11 @@ The "line" callback sets following variables in hashtable: | tg_message_nocolor | string | Message without color codes. |=== -Variables set using tags in message (they are also set in _print_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== | Variable | Type | Description -| tg_tags | string | Tags of message (with comma added at beginning/end of string). | tg_tags_count | string | Number of tags in message. | tg_tag_nick | string | Nick (from tag "nick_xxx"). | tg_tag_prefix_nick | string | Color of nick in prefix (from tag "prefix_nick_ccc"). @@ -3950,8 +3949,7 @@ The "print" callback sets following variables in hashtable: | tg_message_nocolor | string | Message without color codes. |=== -Variables set using tags in message (they are also set in _line_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== diff --git a/doc/fr/weechat_user.fr.adoc b/doc/fr/weechat_user.fr.adoc index a8b06e117..9a627fbb2 100644 --- a/doc/fr/weechat_user.fr.adoc +++ b/doc/fr/weechat_user.fr.adoc @@ -4038,6 +4038,7 @@ de hachage : | date | chaîne | Date de la ligne (horodatage). | date_printed | chaîne | Date d'affichage de la ligne (horodatage). | str_time | chaîne | Date pour l'affichage. Elle peut contenir des codes couleur. +| tags | chaîne | Étiquettes du message (avec une virgule en début/fin de chaîne). | displayed | chaîne | "1" si affichée, "0" si la ligne est filtrée. | notify_level | chaîne | "0" = niveau bas, "1" = message, "2" = message privé, "3" = highlight | highlight | chaîne | "1" si highlight, sinon "0". @@ -4047,13 +4048,11 @@ de hachage : | tg_message_nocolor | chaîne | Message sans les codes couleur. |=== -Variables définies avec les étiquettes du message (elles sont définies aussi -pour fonction de rappel "print" et pour le modificateur _weechat_print_) : +Variables définies avec les étiquettes du message : [width="100%",cols="3m,2,14",options="header"] |=== | Variable | Type | Description -| tg_tags | chaîne | Étiquettes du message (avec une virgule en début/fin de chaîne). | tg_tags_count | chaîne | Nombre d'étiquettes dans le message. | tg_tag_nick | chaîne | Pseudo (depuis l'étiquette "nick_xxx"). | tg_tag_prefix_nick | chaîne | Couleur du pseudo dans le préfixe (depuis l'étiquette "prefix_nick_ccc"). @@ -4082,8 +4081,7 @@ hachage : | tg_message_nocolor | chaîne | Message sans les codes couleur. |=== -Variables définies avec les étiquettes du message (elles sont définies aussi -pour la fonction de rappel "line" et pour le modificateur _weechat_print_) : +Variables définies avec les étiquettes du message : [width="100%",cols="3m,2,14",options="header"] |=== diff --git a/doc/it/weechat_user.it.adoc b/doc/it/weechat_user.it.adoc index bb3dd8261..4137555ab 100644 --- a/doc/it/weechat_user.it.adoc +++ b/doc/it/weechat_user.it.adoc @@ -4168,6 +4168,7 @@ The "line" callback sets following variables in hashtable: | date | string | Line date (timestamp). | date_printed | string | Date when line was displayed (timestamp). | str_time | string | Date for display. It may contain color codes. +| tags | string | Tags of message (with comma added at beginning/end of string). | displayed | string | "1" if displayed, "0" if line filtered. | notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight | highlight | string | "1" if highlight, otherwise "0". @@ -4177,13 +4178,11 @@ The "line" callback sets following variables in hashtable: | tg_message_nocolor | string | Message without color codes. |=== -Variables set using tags in message (they are also set in _print_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== | Variable | Type | Description -| tg_tags | string | Tags of message (with comma added at beginning/end of string). | tg_tags_count | string | Number of tags in message. | tg_tag_nick | string | Nick (from tag "nick_xxx"). | tg_tag_prefix_nick | string | Color of nick in prefix (from tag "prefix_nick_ccc"). @@ -4211,8 +4210,7 @@ The "print" callback sets following variables in hashtable: | tg_message_nocolor | string | Message without color codes. |=== -Variables set using tags in message (they are also set in _line_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== diff --git a/doc/ja/weechat_user.ja.adoc b/doc/ja/weechat_user.ja.adoc index d52bc2959..d874e2d6d 100644 --- a/doc/ja/weechat_user.ja.adoc +++ b/doc/ja/weechat_user.ja.adoc @@ -3906,6 +3906,7 @@ _weechat_print_ 修飾子では、メッセージタグを使う変数 (下の | date | string | Line date (timestamp). | date_printed | string | Date when line was displayed (timestamp). | str_time | string | Date for display. It may contain color codes. +| tags | string | メッセージのタグ (文字列の最初と最後にコンマが追加されます) | displayed | string | "1" if displayed, "0" if line filtered. | notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight | highlight | string | "1" if highlight, otherwise "0". @@ -3916,13 +3917,11 @@ _weechat_print_ 修飾子では、メッセージタグを使う変数 (下の |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _print_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== | 変数 | 型 | 説明 -| tg_tags | string | メッセージのタグ (文字列の最初と最後にコンマが追加されます) | tg_tags_count | string | メッセージのタグの個数 | tg_tag_nick | string | ニックネーム ("nick_xxx" タグから) | tg_tag_prefix_nick | string | プレフィックスで使うニックネームの色 ("prefix_nick_ccc" タグから) @@ -3951,8 +3950,7 @@ modifier _weechat_print_): |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _line_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== diff --git a/doc/pl/weechat_user.pl.adoc b/doc/pl/weechat_user.pl.adoc index b780f03fe..e74c606e7 100644 --- a/doc/pl/weechat_user.pl.adoc +++ b/doc/pl/weechat_user.pl.adoc @@ -3939,6 +3939,7 @@ Callback "line" ustawia następujące zmienne w tablicy hashy: | date | ciąg | Line date (timestamp). | date_printed | ciąg | Date when line was displayed (timestamp). | str_time | ciąg | Date for display. It may contain color codes. +| tags | ciąg | Tagi wiadomości (z przecinkiem dodanym na początku/końcu ciągu). | displayed | ciąg | "1" if displayed, "0" if line filtered. | notify_level | ciąg | "0" = low level, "1" = message, "2" = private message, "3" = highlight | highlight | ciąg | "1" if highlight, otherwise "0". @@ -3949,13 +3950,11 @@ Callback "line" ustawia następujące zmienne w tablicy hashy: |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _print_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |=== | Zmienna | Typ | Opis -| tg_tags | ciąg | Tagi wiadomości (z przecinkiem dodanym na początku/końcu ciągu). | tg_tags_count | ciąg | Liczba tagów w wiadomości. | tg_tag_nick | ciąg | Nick (z tagu "nick_xxx"). | tg_tag_prefix_nick | ciąg | Kolor nicka w prefiksie (z tagu "prefix_nick_ccc"). @@ -3984,8 +3983,7 @@ Callback "print" ustawia następujące zmienne w tablicy hashy: |=== // TRANSLATION MISSING -Variables set using tags in message (they are also set in _line_ callback and -modifier _weechat_print_): +Variables set using tags in message: [width="100%",cols="3m,2,14",options="header"] |===