From 117dca056df7758298772002798f76b0d7457d6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Thu, 8 May 2014 11:01:07 +0200 Subject: [PATCH] core: add support of '!' for tags in /help filter --- doc/de/autogen/user/weechat_commands.txt | 75 +++++++++++----------- doc/en/autogen/user/weechat_commands.txt | 1 + doc/fr/autogen/user/weechat_commands.txt | 1 + doc/it/autogen/user/weechat_commands.txt | 1 + doc/ja/autogen/user/weechat_commands.txt | 79 ++++++++++++------------ doc/pl/autogen/user/weechat_commands.txt | 1 + po/cs.po | 4 +- po/de.po | 5 +- po/es.po | 4 +- po/fr.po | 8 ++- po/hu.po | 4 +- po/it.po | 4 +- po/ja.po | 5 +- po/pl.po | 4 +- po/pt_BR.po | 4 +- po/ru.po | 4 +- po/tr.po | 4 +- po/weechat.pot | 4 +- src/core/wee-command.c | 2 + 19 files changed, 125 insertions(+), 89 deletions(-) diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt index de4478dd1..8e9703b4e 100644 --- a/doc/de/autogen/user/weechat_commands.txt +++ b/doc/de/autogen/user/weechat_commands.txt @@ -301,54 +301,55 @@ Beispiele (Bedingungen): rename del |-all - list: alle Filter auflisten - enable: Filter wird aktiviert (Filter werden standardmäßig aktiviert) -disable: Filter deaktivieren - toggle: Filter umschalten - name: Name des Filters ("@" = aktiviert/deaktiviert alle Filter im aktuellen Buffer) - add: Filter hinzufügen - rename: benennt einen Filter um - del: Filter entfernen - -all: entfernt alle Filter - buffer: durch Kommata getrennte Liste von Buffer in denen der Filter aktiv sein soll: - - ist der vollständige Name eines Buffer inklusive seiner Erweiterung (Beispiel: "irc.freenode.#weechat") - - "*" bedeutet, alle Buffer - - beginnt ein Name mit '!' wird für diesen Buffer kein Filter genutzt - - Platzhalter "*" kann verwendet werden - tags: durch Kommata getrennte Liste von Schlagwörtern. Zum Beispiel: "irc_join,irc_part,irc_quit" - - logisch "und": wird "+" zwischen den Tags verwendet (zum Beispiel: "nick_toto+irc_action") - - Platzhalter "*" kann verwendet werden - regex: erweiterter regulärer POSIX Ausdruck, um in einer Zeile zu suchen - - das Präfix (z.B. Nick) wird mittels '\t' von der Nachricht getrennt. Sonderzeichen wie '|' müssen mit einer Escapesequenz : '\|' eingebunden werden) - - wird ein regulärer Ausdruck mit '!' eingeleitet dann wird das übereinstimmende Ergebnis umgekehrt (nutze '\!' um mit '!' zu beginnen) - - es werden zwei reguläre Ausdrücke erstellt: Der erste für den Präfix und der zweite für die eigentliche Nachricht - - reguläre Ausdrücke unterscheiden nicht zwischen Groß- und Kleinschreibung. Um zwischen Groß- und Kleinschreibung zu unterscheiden müssen diese mit "(?-i)" eingeleitet werden. + list: list all filters + enable: enable filters (filters are enabled by default) +disable: disable filters + toggle: toggle filters + name: filter name ("@" = enable/disable all filters in current buffer) + add: add a filter + rename: rename a filter + del: delete a filter + -all: delete all filters + buffer: comma separated list of buffers where filter is active: + - this is full name including plugin (example: "irc.freenode.#weechat") + - "*" means all buffers + - a name starting with '!' is excluded + - wildcard "*" is allowed + tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - wildcard "*" is allowed + - if tag starts with '!', then it is excluded and must NOT be in message + regex: POSIX extended regular expression to search in line + - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' + - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') + - two regular expressions are created: one for prefix and one for message + - regex are case insensitive, they can start by "(?-i)" to become case sensitive -Mit der Tastenvoreinstellung alt+'=' kann die Filterfunktion (de-)aktiviert werden. +The default key alt+'=' toggles filtering on/off. -Die am häufigsten gebrauchten Schlagwörter lauten: - no_filter, no_highlight, no_log, log0..log9 (log Level), +Tags most commonly used: + no_filter, no_highlight, no_log, log0..log9 (log level), notify_none, notify_message, notify_private, notify_highlight, - nick_xxx (xxx ist durch den Nicknamen zu ersetzen), prefix_nick_ccc (ccc ist die Farbe mit der der Nick dargestellt wird), - host_xxx (xxx ist durch den Username + Host zu ersetzen), - irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw oder /debug tags) + nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), + host_xxx (xxx is username + host in message), + irc_xxx (xxx is command name or number, see /server raw or /debug tags), irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. -Mittels "/debug tags" kann man sich die Tags jeder einzelnen Zeile darstellen zu lassen. +To see tags for lines in buffers: /debug tags -Beispiele: - aktiviert einen einfachen IRC Filter für join/part/quit/nick Nachrichten für alle Buffer: +Examples: + use IRC smart filter on all buffers: /filter add irc_smart * irc_smart_filter * - aktiviert einen einfachen IRC Filter für join/part/quit/nick Nachrichten der für alle Buffer genutzt wird, außer Buffer die "#weechat" im Namen tragen: + use IRC smart filter on all buffers except those with "#weechat" in name: /filter add irc_smart *,!*#weechat* irc_smart_filter * - filtert alle IRC join/part/quit Nachrichten: + filter all IRC join/part/quit messages: /filter add joinquit * irc_join,irc_part,irc_quit * - filtert Nicks wenn diese den Channel betreten oder durch den Befehl "/names" angezeigt werden: + filter nicks displayed when joining channels or with /names: /filter add nicks * irc_366 * - filtert Nick "toto" im IRC Channel #weechat: + filter nick "toto" on IRC channel #weechat: /filter add toto irc.freenode.#weechat nick_toto * - filtert IRC join/action Nachrichten von Nick "toto": + filter IRC join/action messages from nick "toto": /filter add toto * nick_toto+irc_join,nick_toto+irc_action * - filtert Zeilen die "weechat sucks" im IRC Channel #weechat enthalten: + filter lines containing "weechat sucks" on IRC channel #weechat: /filter add sucks irc.freenode.#weechat * weechat sucks ---- diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index 7e41cca20..7f24cf0f3 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -318,6 +318,7 @@ disable: disable filters tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - logical "and": use "+" between tags (for example: "nick_toto+irc_action") - wildcard "*" is allowed + - if tag starts with '!', then it is excluded and must NOT be in message regex: POSIX extended regular expression to search in line - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt index d7b261ed7..af9484a62 100644 --- a/doc/fr/autogen/user/weechat_commands.txt +++ b/doc/fr/autogen/user/weechat_commands.txt @@ -318,6 +318,7 @@ Exemples (conditions) : étiquettes : liste d'étiquettes, séparées par des virgules, par exemple : "irc_join,irc_part,irc_quit" - "et" logique : utilisez "+" entre les étiquettes (par exemple : "nick_toto+irc_action") - le caractère joker "*" est autorisé + - si l'étiquette commence par '!', alors elle est exclue et ne doit PAS être dans le message regex : expression régulière POSIX étendue à rechercher dans la ligne - utiliser '\t' pour séparer le préfixe du message, les caractères spéciaux comme '|' doivent être échappés : '\|' - si l'expression régulière commence par '!' alors le résultat est inversé (utiliser '\!' pour démarrer par '!') diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt index 8ae900ebd..61fb893bc 100644 --- a/doc/it/autogen/user/weechat_commands.txt +++ b/doc/it/autogen/user/weechat_commands.txt @@ -318,6 +318,7 @@ disable: disable filters tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - logical "and": use "+" between tags (for example: "nick_toto+irc_action") - wildcard "*" is allowed + - if tag starts with '!', then it is excluded and must NOT be in message regex: POSIX extended regular expression to search in line - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt index d3c9d5fbb..4f9106a09 100644 --- a/doc/ja/autogen/user/weechat_commands.txt +++ b/doc/ja/autogen/user/weechat_commands.txt @@ -301,54 +301,55 @@ hdata と変数の名前については、"プラグイン API リファレン rename del |-all - list: 全てのフィルタをリストアップ - enable: フィルタを有効化 (フィルタはデフォルトで有効になっています) -disable: フィルタを無効化 - toggle: フィルタの有効無効を切り替え - name: フィルタの名前 ("@" = 現在のバッファに設定されている全てのフィルタを有効化/無効化) - add: フィルタを追加 - rename: フィルタをリネーム - del: フィルタを削除 - -all: 全てのフィルタを削除 - buffer: フィルタが有効化されているバッファのコンマ区切りリスト: - - これはプラグイン名を含む完全な名前です (例えば: "irc.freenode.#weechat") - - "*" は全てのバッファを意味します - - 名前が '!' から始まるものは除外されます - - ワイルドカード '*' を使うことができます - tags: タグのコンマ区切りリスト、例えば "irc_join,irc_part,irc_quit" - - 論理積 "and": タグ同士を "+" でつなげる (例えば: "nick_toto+irc_action") - - ワイルドカード '*' を使うことができます - regex: 行単位検索の正規表現 - - '\t' を使うと、プレフィックスをメッセージから分離できます。'|' 等の特別な文字は '\|' のようにエスケープしなければいけません - - 正規表現の最初に '!' が含まれる場合は、マッチ結果が反転されます (最初の '!' にマッチさせたければ、'\!' を使ってください) - - 2 種類の正規表現があります: 一方はプレフィックス用、他方はメッセージ用 - - 正規表現は大文字小文字を区別しません、"(?-i)" から始まる場合は区別します + list: list all filters + enable: enable filters (filters are enabled by default) +disable: disable filters + toggle: toggle filters + name: filter name ("@" = enable/disable all filters in current buffer) + add: add a filter + rename: rename a filter + del: delete a filter + -all: delete all filters + buffer: comma separated list of buffers where filter is active: + - this is full name including plugin (example: "irc.freenode.#weechat") + - "*" means all buffers + - a name starting with '!' is excluded + - wildcard "*" is allowed + tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - wildcard "*" is allowed + - if tag starts with '!', then it is excluded and must NOT be in message + regex: POSIX extended regular expression to search in line + - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' + - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') + - two regular expressions are created: one for prefix and one for message + - regex are case insensitive, they can start by "(?-i)" to become case sensitive -デフォルトではキー alt+'=' でフィルタリングの on/off を切り替えられます。 +The default key alt+'=' toggles filtering on/off. -よく使われるタグ: - no_filter、no_highlight、no_log、log0..log9 (ログレベル)、 - notify_none、notify_message、notify_private、notify_highlight、 - nick_xxx (xxx はメッセージのニックネーム部分)、prefix_nick_ccc (ccc はニックネームの色)、 - host_xxx (xxx はメッセージのユーザ名 + ホスト名部分)、 - irc_xxx (xxx はコマンド名又は番号、/server raw または /debug tags で確認)、 - irc_numeric、irc_error、irc_action、irc_ctcp、irc_ctcp_reply、irc_smart_filter、away_info。 -バッファ内でタグを見るには: /debug tags +Tags most commonly used: + no_filter, no_highlight, no_log, log0..log9 (log level), + notify_none, notify_message, notify_private, notify_highlight, + nick_xxx (xxx is nick in message), prefix_nick_ccc (ccc is color of nick), + host_xxx (xxx is username + host in message), + irc_xxx (xxx is command name or number, see /server raw or /debug tags), + irc_numeric, irc_error, irc_action, irc_ctcp, irc_ctcp_reply, irc_smart_filter, away_info. +To see tags for lines in buffers: /debug tags -例: - 全てのバッファで IRC スマートフィルタを使用: +Examples: + use IRC smart filter on all buffers: /filter add irc_smart * irc_smart_filter * - 名前に "#weechat" を含むバッファを除いた全てのバッファで IRC スマートフィルタを使用: + use IRC smart filter on all buffers except those with "#weechat" in name: /filter add irc_smart *,!*#weechat* irc_smart_filter * - 全ての IRC join/part/quit メッセージをフィルタ: + filter all IRC join/part/quit messages: /filter add joinquit * irc_join,irc_part,irc_quit * - チャンネルに入った時や /names で表示されるニックネームをフィルタ: + filter nicks displayed when joining channels or with /names: /filter add nicks * irc_366 * - IRC チャンネル #weechat で "toto" を含むニックネームをフィルタ: + filter nick "toto" on IRC channel #weechat: /filter add toto irc.freenode.#weechat nick_toto * - ニックネーム "toto" からの IRC の参加/アクションメッセージをフィルタ: + filter IRC join/action messages from nick "toto": /filter add toto * nick_toto+irc_join,nick_toto+irc_action * - IRC チャンネル #weechat で "weechat sucks" を含む行をフィルタ: + filter lines containing "weechat sucks" on IRC channel #weechat: /filter add sucks irc.freenode.#weechat * weechat sucks ---- diff --git a/doc/pl/autogen/user/weechat_commands.txt b/doc/pl/autogen/user/weechat_commands.txt index 971ec5d0c..ce51b05f3 100644 --- a/doc/pl/autogen/user/weechat_commands.txt +++ b/doc/pl/autogen/user/weechat_commands.txt @@ -318,6 +318,7 @@ disable: disable filters tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - logical "and": use "+" between tags (for example: "nick_toto+irc_action") - wildcard "*" is allowed + - if tag starts with '!', then it is excluded and must NOT be in message regex: POSIX extended regular expression to search in line - use '\t' to separate prefix from message, special chars like '|' must be escaped: '\|' - if regex starts with '!', then matching result is reversed (use '\!' to start with '!') diff --git a/po/cs.po b/po/cs.po index 18d28d465..24c211019 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -1455,6 +1455,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/de.po b/po/de.po index 305303e07..1d1576c8d 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-05-06 22:10+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -1572,6 +1572,7 @@ msgstr "" "list || enable|disable|toggle [|@] || add [," "...] || rename || del |-all" +#, fuzzy msgid "" " list: list all filters\n" " enable: enable filters (filters are enabled by default)\n" @@ -1593,6 +1594,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/es.po b/po/es.po index 5e45bae8b..1bd5701e2 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -1493,6 +1493,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/fr.po b/po/fr.po index eeb6280fe..eae6f4608 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" -"PO-Revision-Date: 2014-05-06 21:18+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" +"PO-Revision-Date: 2014-05-08 10:59+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -1573,6 +1573,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" @@ -1635,6 +1637,8 @@ msgstr "" " - \"et\" logique : utilisez \"+\" entre les étiquettes (par " "exemple : \"nick_toto+irc_action\")\n" " - le caractère joker \"*\" est autorisé\n" +" - si l'étiquette commence par '!', alors elle est exclue et ne " +"doit PAS être dans le message\n" " regex : expression régulière POSIX étendue à rechercher dans la ligne\n" " - utiliser '\\t' pour séparer le préfixe du message, les " "caractères spéciaux comme '|' doivent être échappés : '\\|'\n" diff --git a/po/hu.po b/po/hu.po index 5e3fdca2c..60bde9b35 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1382,6 +1382,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/it.po b/po/it.po index d75402d4f..e8c0969f9 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -1531,6 +1531,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/ja.po b/po/ja.po index 5079191b9..6663ac5ce 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-21 00:44+0900\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -1509,6 +1509,7 @@ msgstr "" "list || enable|disable|toggle [|@] || add [," "...] || rename || del |-all" +#, fuzzy msgid "" " list: list all filters\n" " enable: enable filters (filters are enabled by default)\n" @@ -1530,6 +1531,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/pl.po b/po/pl.po index 5462a0d3e..71ccef76a 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-19 13:08+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -1556,6 +1556,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index a372bc557..4225cd8b7 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -1510,6 +1510,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/ru.po b/po/ru.po index e5dabfe04..e5af2c5bc 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-04-05 16:12+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -1404,6 +1404,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/tr.po b/po/tr.po index 3feefd465..86ebf731e 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2014-03-24 14:23+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -1238,6 +1238,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/po/weechat.pot b/po/weechat.pot index 022ab828c..03c77f4e4 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.1-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-05-06 21:17+0200\n" +"POT-Creation-Date: 2014-05-08 10:58+0200\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -1244,6 +1244,8 @@ msgid "" " - logical \"and\": use \"+\" between tags (for example: \"nick_toto" "+irc_action\")\n" " - wildcard \"*\" is allowed\n" +" - if tag starts with '!', then it is excluded and must NOT be in " +"message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index c21f25f3c..f393ef099 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -7076,6 +7076,8 @@ command_init () " - logical \"and\": use \"+\" between tags (for example: " "\"nick_toto+irc_action\")\n" " - wildcard \"*\" is allowed\n" + " - if tag starts with '!', then it is excluded and must " + "NOT be in message\n" " regex: POSIX extended regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars " "like '|' must be escaped: '\\|'\n"