1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

irc: add option irc.look.display_join_message (task #10895)

This commit is contained in:
Sebastien Helleu
2013-03-24 13:02:26 +01:00
parent e03310cb0d
commit a08603c24c
34 changed files with 541 additions and 207 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
+5
View File
@@ -143,6 +143,11 @@
** Typ: boolesch
** Werte: on, off (Standardwert: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** Beschreibung: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** Beschreibung: `Zeige das alte Thema an, falls das Thema des Channels geändert wurde`
** Typ: boolesch
+16 -1
View File
@@ -609,7 +609,22 @@ Für weitere Hilfe: `/help filter` und `/help irc.look.smart_filter`
Wie kann ich Nachrichten filtern wenn ich einen IRC Channel betrete?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Es folgen einige Tags die man zum filtern von Nachrichten nutzen kann:
// TRANSLATION MISSING
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
// TRANSLATION MISSING
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
// TRANSLATION MISSING
Another solution is to filter messages on tag:
* 'irc_366': Auflistung der Namen die sich im Channel befinden
* 'irc_332,irc_333': Channel Topic/Datum
+1 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
+5
View File
@@ -143,6 +143,11 @@
** type: boolean
** values: on, off (default value: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** description: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** type: string
** values: any string (default value: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `display old topic when channel topic is changed`
** type: boolean
+13 -1
View File
@@ -579,7 +579,19 @@ For help: `/help filter` and `/help irc.look.smart_filter`
How can I filter some messages displayed when I join an IRC channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some tags you can use to filter messages:
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
Another solution is to filter messages on tag:
* 'irc_366': names on channel
* 'irc_332,irc_333': channel topic/date
+1 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
+5
View File
@@ -143,6 +143,11 @@
** type: booléen
** valeurs: on, off (valeur par défaut: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** description: `liste de messages (séparés par des virgules) à afficher après avoir rejoint un canal: 329 = date de création du canal, 332 = titre, 333 = pseudo/date pour le titre, 366 = noms sur le canal`
** type: chaîne
** valeurs: toute chaîne (valeur par défaut: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** description: `afficher l'ancien titre lorsque le titre du canal est changé`
** type: booléen
+13 -1
View File
@@ -605,7 +605,19 @@ Pour l'aide : `/help filter` et `/help irc.look.smart_filter`
Comment puis-je filtrer certains messages affichés quand je rejoins un canal IRC ?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Quelques étiquettes que vous pouvez utiliser pour filtrer des messages :
Avec WeeChat ≥ 0.4.1, vous pouvez désactiver des messages avec l'option
'irc.look.display_join_message'.
Par exemple, pour désactiver les noms (qui est le message IRC '366') :
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
Pour l'aide : `/help irc.look.display_join_message`
Une autre solution est de filtrer les messages par l'étiquette :
* 'irc_366' : noms sur le canal
* 'irc_332,irc_333' : titre/date du canal
+1 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
+5
View File
@@ -143,6 +143,11 @@
** tipo: bool
** valori: on, off (valore predefinito: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** descrizione: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** descrizione: `visualizza l'argomento del canale precedente quando viene cambiato`
** tipo: bool
+16 -1
View File
@@ -600,7 +600,22 @@ Per aiuto: `/help filter` e `/help irc.look.smart_filter`
Come posso filtrare i messaggi visualizzati all'ingresso su un canale IRC?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ecco alcuni tag da poter utilizzare per filtrare i messaggi:
// TRANSLATION MISSING
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
// TRANSLATION MISSING
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
// TRANSLATION MISSING
Another solution is to filter messages on tag:
* 'irc_366': nomi sui canali
* 'irc_332,irc_333': topic/data del canale
+1 -1
View File
@@ -27,7 +27,7 @@
'modes' (string) +
'limit' (integer) +
'key' (string) +
'names_received' (integer) +
'join_msg_received' (hashtable) +
'checking_away' (integer) +
'away_message' (string) +
'has_quit_server' (integer) +
+5
View File
@@ -143,6 +143,11 @@
** タイプ: ブール
** 値: on, off (デフォルト値: `on`)
* [[option_irc.look.display_join_message]] *irc.look.display_join_message*
** 説明: `comma-separated list of messages to display after joining a channel: 329 = channel creation date, 332 = topic, 333 = nick/date for topic, 366 = names on channel`
** タイプ: 文字列
** 値: 未制約文字列 (デフォルト値: `"329,332,333,366"`)
* [[option_irc.look.display_old_topic]] *irc.look.display_old_topic*
** 説明: `チャンネルトピックが変更された場合に、古いトピックを表示`
** タイプ: ブール
+16 -1
View File
@@ -539,7 +539,22 @@ of channels):
[[filter_irc_join_channel_messages]]
=== どうすれば IRC チャンネルに参加した際に表示される一部のメッセージをフィルタできますか。 ===
メッセージをフィルタするためにいくつかのタグが使えます:
// TRANSLATION MISSING
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
// TRANSLATION MISSING
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
// TRANSLATION MISSING
Another solution is to filter messages on tag:
* 'irc_366': チャンネルにいるユーザの名前
* 'irc_332,irc_333': チャンネルのトピック/日時
+16 -1
View File
@@ -583,7 +583,22 @@ Więcej informacji: `/help filter` i `/help irc.look.smart_filter`
Jak mogę filtrować wyświetlane wiadomości podczas wejścia na kanał IRC?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tagi, które można użyć do filtrowania wiadomości:
// TRANSLATION MISSING
With WeeChat ≥ 0.4.1, you can disable some messages with option
'irc.look.display_join_message'.
// TRANSLATION MISSING
For example, to disable names (which is IRC message '366'):
----------------------------------------
/set irc.look.display_join_message "329,332,333"
----------------------------------------
[NOTE]
For help: `/help irc.look.display_join_message`
// TRANSLATION MISSING
Another solution is to filter messages on tag:
* 'irc_366': osoby na kanale
* 'irc_332,irc_333': temat/data kanału