From 52cbd0b9217f2ea5f93c30bd1043cd4ad9fa494a Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 14 Dec 2013 11:43:58 +0100 Subject: [PATCH] core: add note about support of "*" for tags in /help filter --- doc/de/autogen/user/weechat_commands.txt | 3 ++- doc/en/autogen/user/weechat_commands.txt | 3 ++- doc/fr/autogen/user/weechat_commands.txt | 3 ++- doc/it/autogen/user/weechat_commands.txt | 3 ++- doc/ja/autogen/user/weechat_commands.txt | 3 ++- po/cs.po | 7 ++++--- po/de.po | 7 ++++--- po/es.po | 7 ++++--- po/fr.po | 14 ++++++++------ po/hu.po | 7 ++++--- po/it.po | 7 ++++--- po/ja.po | 7 ++++--- po/pl.po | 7 ++++--- po/pt_BR.po | 7 ++++--- po/ru.po | 7 ++++--- po/tr.po | 7 ++++--- po/weechat.pot | 7 ++++--- src/core/wee-command.c | 6 +++--- 18 files changed, 65 insertions(+), 47 deletions(-) diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt index 3ad41f3e4..6352051f2 100644 --- a/doc/de/autogen/user/weechat_commands.txt +++ b/doc/de/autogen/user/weechat_commands.txt @@ -296,7 +296,8 @@ disable: disable filters - a name starting with '!' is excluded - name can start or end with '*' to match many buffers tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - (it is possible to combine many tags as a logical "and" with separator "+", for example: "nick_toto+irc_action") + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - tags can start or end with '*' regex: 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/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index eb22bd085..e14983a92 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -296,7 +296,8 @@ disable: disable filters - a name starting with '!' is excluded - name can start or end with '*' to match many buffers tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - (it is possible to combine many tags as a logical "and" with separator "+", for example: "nick_toto+irc_action") + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - tags can start or end with '*' regex: 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 0605b21c6..20c47965b 100644 --- a/doc/fr/autogen/user/weechat_commands.txt +++ b/doc/fr/autogen/user/weechat_commands.txt @@ -296,7 +296,8 @@ disable: désactiver les filtres - un nom commençant par '!' est exclu - le nom peut commencer ou se terminer par '*' pour plusieurs tampons tags: liste de tags, séparés par des virgules, par exemple: "irc_join,irc_part,irc_quit" - (il est possible de combiner plusieurs tags sous forme d'un "et" logique avec le séparateur "+", par exemple: "nick_toto+irc_action") + - "et" logique: utilisez "+" entre les tags (par exemple: "nick_toto+irc_action") + - les tags peuvent commencer ou se terminer par '*' regex: expression régulière à 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 49381a192..509446615 100644 --- a/doc/it/autogen/user/weechat_commands.txt +++ b/doc/it/autogen/user/weechat_commands.txt @@ -296,7 +296,8 @@ disable: disable filters - a name starting with '!' is excluded - name can start or end with '*' to match many buffers tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - (it is possible to combine many tags as a logical "and" with separator "+", for example: "nick_toto+irc_action") + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - tags can start or end with '*' regex: 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 9bbf7adee..b58303942 100644 --- a/doc/ja/autogen/user/weechat_commands.txt +++ b/doc/ja/autogen/user/weechat_commands.txt @@ -296,7 +296,8 @@ disable: disable filters - a name starting with '!' is excluded - name can start or end with '*' to match many buffers tags: comma separated list of tags, for example "irc_join,irc_part,irc_quit" - (it is possible to combine many tags as a logical "and" with separator "+", for example: "nick_toto+irc_action") + - logical "and": use "+" between tags (for example: "nick_toto+irc_action") + - tags can start or end with '*' regex: 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 3eed065b6..d48f4e0d1 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -1391,8 +1391,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 e68413318..24990f789 100644 --- a/po/de.po +++ b/po/de.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.4.3-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-20 15:12+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -1510,8 +1510,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 54ea402f8..d22be5841 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -1430,8 +1430,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 1968b5233..80f8104a6 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: 2013-12-14 10:20+0100\n" -"PO-Revision-Date: 2013-12-14 10:23+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" +"PO-Revision-Date: 2013-12-14 11:41+0100\n" "Last-Translator: Sebastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -1493,8 +1493,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: regular expression to search in line\n" " - use '\\t' to separate prefix from message, special chars like '|' " "must be escaped: '\\|'\n" @@ -1552,8 +1553,9 @@ msgstr "" "tampons\n" " tags: liste de tags, séparés par des virgules, par exemple: \"irc_join," "irc_part,irc_quit\"\n" -" (il est possible de combiner plusieurs tags sous forme d'un \"et\" " -"logique avec le séparateur \"+\", par exemple: \"nick_toto+irc_action\")\n" +" - \"et\" logique: utilisez \"+\" entre les tags (par exemple: " +"\"nick_toto+irc_action\")\n" +" - les tags peuvent commencer ou se terminer par '*'\n" " regex: expression régulière à 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 019a99a96..327b3f89b 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1315,8 +1315,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 d33c9f299..573fab057 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -1464,8 +1464,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 89ddd2262..628520222 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -1449,8 +1449,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 ffb14fa79..009b73698 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-11 09:07+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" @@ -1486,8 +1486,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 45a9e7921..f8ddceae3 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" @@ -1444,8 +1444,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 08c87d6ea..6bff4815e 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:18+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -1337,8 +1337,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 5e7f7f608..440977a4a 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-11-09 10:13+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -1179,8 +1179,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 82f00d4d1..15a177c56 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: 2013-12-14 10:20+0100\n" +"POT-Creation-Date: 2013-12-14 11:41+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -1185,8 +1185,9 @@ msgid "" " - name can start or end with '*' to match many buffers\n" " tags: comma separated list of tags, for example \"irc_join,irc_part," "irc_quit\"\n" -" (it is possible to combine many tags as a logical \"and\" with " -"separator \"+\", for example: \"nick_toto+irc_action\")\n" +" - logical \"and\": use \"+\" between tags (for example: \"nick_toto" +"+irc_action\")\n" +" - tags can start or end with '*'\n" " regex: 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 5c1956bed..83a061713 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -6591,9 +6591,9 @@ command_init () "match many buffers\n" " tags: comma separated list of tags, for example " "\"irc_join,irc_part,irc_quit\"\n" - " (it is possible to combine many tags as a logical " - "\"and\" with separator \"+\", for example: " - "\"nick_toto+irc_action\")\n" + " - logical \"and\": use \"+\" between tags (for " + "example: \"nick_toto+irc_action\")\n" + " - tags can start or end with '*'\n" " regex: regular expression to search in line\n" " - use '\\t' to separate prefix from message, special " "chars like '|' must be escaped: '\\|'\n"