New features::
+ * core: add option "recreate" in command /filter
* core: add evaluation of conditions in evaluation of expressions with "eval_cond:" (issue #1582)
* trigger: add variable "${tg_trigger_name}" in command trigger evaluated strings (issue #1580)
enable|disable|toggle [<name>|@]
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
+ recreate <name>
del <name>|-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
-addreplace: erzeugt neuen Filter oder ersetzt einen schon existierenden Filter
- 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" oder "irc.server.freenode")
- - "*" 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": mittels "+" zwischen den Tags (zum Beispiel: "nick_toto+irc_action")
- - Platzhalter "*" kann verwendet werden
- - wird ein Tag mit '!' eingeleitet, dann muss dieser Tag NICHT in der Nachricht enthalten sein
- 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.
-
-Mit der Tastenvoreinstellung alt+'=' kann die globale Filterfunktion (de-)aktiviert werden und alt+'-' (de-)aktiviert die Filterfunktion für den aktuellen Buffer.
-
-Die am häufigsten gebrauchten Schlagwörter lauten:
- no_filter, no_highlight, no_log, log0..log9 (log Level),
+ 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
+addreplace: add or replace an existing filter
+ rename: rename a filter
+ recreate: set input with the command used to edit the 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" or "irc.server.freenode")
+ - "*" 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
+
+The default key alt+'=' toggles filtering on/off globally and alt+'-' toggles filtering on/off in the current buffer.
+
+Tags most commonly used:
+ no_filter, no_highlight, no_log, log0..log9 (log level),
notify_none, notify_message, notify_private, notify_highlight,
- self_msg, nick_xxx (xxx ist der Nickname), prefix_nick_ccc (ccc ist die Farbe mit der der Nick dargestellt wird),
- host_xxx (xxx ist der Username + Host in Nachricht),
- irc_xxx (xxx ist durch einen IRC-Befehl/-Nummer zu ersetzen, siehe /server raw oder /debug tags)
+ self_msg, 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 Schlagwörter jeder einzelnen Zeile darstellen lassen.
+To see tags for lines in buffers: /debug tags
-Beispiele:
- aktiviert den intelligenten IRC Filter für alle Buffer:
+Examples:
+ use IRC smart filter on all buffers:
/filter add irc_smart * irc_smart_filter *
- aktiviert den intelligenten IRC Filter für alle Buffer, 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
- filter Zeilen die exakt "WeeChat sucks" lauten und das in allen Buffern:
+ filter lines that are strictly equal to "WeeChat sucks" on all buffers:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
enable|disable|toggle [<name>|@]
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
+ recreate <name>
del <name>|-all
list: list all filters
add: add a filter
addreplace: add or replace an existing filter
rename: rename a filter
+ recreate: set input with the command used to edit the filter
del: delete a filter
-all: delete all filters
buffer: comma separated list of buffers where filter is active:
enable|disable|toggle [<nom>|@]
add|addreplace <nom> <tampon>[,<tampon>...] <étiquettes> <regex>
rename <nom> <nouveau_nom>
+ recreate <nom>
del <nom>|-all
list : lister tous les filtres
add : ajouter un filtre
addreplace : ajouter ou remplacer un filtre existant
rename : renommer un filtre
+ recreate : définir la ligne de commande utilisée pour modifier le filtre
del : supprimer un filtre
-all : supprimer tous les filtres
tampon : liste des tampons, séparés par des virgules, où le filtre est actif :
enable|disable|toggle [<name>|@]
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
+ recreate <name>
del <name>|-all
list: list all filters
add: add a filter
addreplace: add or replace an existing filter
rename: rename a filter
+ recreate: set input with the command used to edit the filter
del: delete a filter
-all: delete all filters
buffer: comma separated list of buffers where filter is active:
enable|disable|toggle [<name>|@]
add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
rename <name> <new_name>
+ recreate <name>
del <name>|-all
- list: 全てのフィルタをリストアップ
- enable: フィルタを有効化 (フィルタはデフォルトで有効になっています)
- disable: フィルタを無効化
- toggle: フィルタの有効無効を切り替え
- name: フィルタの名前 ("@" = 現在のバッファに設定されている全てのフィルタを有効化/無効化)
- add: フィルタを追加
-addreplace: 既存のフィルタに追加もしくは置換
- rename: フィルタをリネーム
- del: フィルタを削除
- -all: 全てのフィルタを削除
- buffer: フィルタが有効化されているバッファのコンマ区切りリスト:
- - これはプラグイン名を含む完全な名前です (例: "irc.freenode.#weechat" または "irc.server.freenode")
- - "*" は全てのバッファを意味します
- - 名前が '!' から始まるものは除外されます
- - ワイルドカード "*" を使うことができます
- tags: タグのコンマ区切りリスト、例えば "irc_join,irc_part,irc_quit"
- - 論理積 "and": タグ同士を "+" でつなげてください (例: "nick_toto+irc_action")
- - ワイルドカード "*" を使うことができます
- - タグを '!' で始めると、そのタグが付けられたメッセージとそのタグを含むメッセージはフィルタされません
- regex: 行単位検索の正規表現
- - '\t' を使うと、プレフィックスをメッセージから分離できます。'|' 等の特別な文字は '\|' のようにエスケープしなければいけません
- - 正規表現の最初に '!' が含まれる場合は、マッチ結果が反転されます (最初の '!' にマッチさせたければ、'\!' を使ってください)
- - 2 種類の正規表現があります: 一方はプレフィックス用、他方はメッセージ用
- - 正規表現は大文字小文字を区別しません、"(?-i)" から始まる場合は区別します
-
-デフォルトではキー alt+'=' ですべてのバッファについてフィルタリングの on/off を切り替えられます。現在のバッファに限りフィルタリングを切り替えるには alt+'-' を使います。
-
-よく使われるタグ:
- no_filter、no_highlight、no_log、log0..log9 (ログレベル)、
- notify_none、notify_message、notify_private、notify_highlight、
- self_msg、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
+ 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
+addreplace: add or replace an existing filter
+ rename: rename a filter
+ recreate: set input with the command used to edit the 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" or "irc.server.freenode")
+ - "*" 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
+
+The default key alt+'=' toggles filtering on/off globally and alt+'-' toggles filtering on/off in the current buffer.
+
+Tags most commonly used:
+ no_filter, no_highlight, no_log, log0..log9 (log level),
+ notify_none, notify_message, notify_private, notify_highlight,
+ self_msg, 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
- すべてのバッファで "WeeChat sucks" と完全に一致する行をフィルタ:
+ filter lines that are strictly equal to "WeeChat sucks" on all buffers:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
----
/filter list
- enable|disable|toggle [<nazwa>|@]
- add | addreplace<nazwa> <bufor>[,<bufor>...] <tagi> <regex>
- rename <nazwa> <nowa_nazwa>
- del <nazwa>|-all
-
- list: wyświetla wszystkie filtry
- enable: włącza filtry (filtry są domyślnie włączone)
-disable: wyłącza filtry
- toggle: przełącza filtry
- nazwa: nazwa filtru ("@" = włącza/wyłącza wszystkie filtry w obecnym buforze)
- add: dodaje filtr
-addreplace: dodaje lub nadpisuje istniejący filtr
- rename: zmienia nazwę filtru
- del: usuwa filtr
- -all: usuwa wszystkie filtry
- bufor: oddzielona przecinkami lisa buforów, dla których filtr jest aktywny:
- - jest to pełna nazwa zawierająca wtyczkę (przykład: "irc.freenode.#weechat" lub "irc.server.freenode")
- - "*" oznacza wszystkie bufory
- - nazwa zaczynająca się od '!' jest wykluczana
- - dozwolony jest znak "*"
- tagi: lista tagów oddzielona przecinkiem, np: "irc_join,irc_part,irc_quit"
- - logiczne "i": użyj "+" pomiędzy tagami (na przykład: "nick_toto+irc_action")
- - dozwolony jest znak "*"
- - jeśli tag zaczyna się od '!', wtedy jest on wykluczony i NIE może znajdować się w wiadomości
- regex: rozszerzone wyrażenie regularne POSIX do wyszukania w linii
- - użyj '\t' do oddzielenia prefiksu od wiadomości, znaki specjalne jak '|' muszą zostać poprzedzone '\' np: '\|'
- - jeśli wyrażenie zaczyna się od '!', wtedy pasujący wynik jest odwracany (użyj '\!', aby zacząć od '!')
- - dwa wyrażenia są tworzone: jedno dla prefiksu, drugie dla wiadomości
- - wielkość znaków nie ma znaczenia dla wyrażeń, jeśli zaczynają się od "(?-i)" wielkość znaków ma znaczenie
-
-Domyślny skrót klawiszowy alt+'=' włącza/wyłącza filtrowanie globalnie i alt+'-' włącza/wyłącza filtrowanie w obecnym buforze.
-
-Najczęściej używane tagi:
- no_filter, no_highlight, no_log, log0..log9 (poziom logowania),
+ enable|disable|toggle [<name>|@]
+ add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>
+ rename <name> <new_name>
+ recreate <name>
+ del <name>|-all
+
+ 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
+addreplace: add or replace an existing filter
+ rename: rename a filter
+ recreate: set input with the command used to edit the 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" or "irc.server.freenode")
+ - "*" 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
+
+The default key alt+'=' toggles filtering on/off globally and alt+'-' toggles filtering on/off in the current buffer.
+
+Tags most commonly used:
+ no_filter, no_highlight, no_log, log0..log9 (log level),
notify_none, notify_message, notify_private, notify_highlight,
- self_msg, nick_xxx (xxx to nick w wiadomości), prefix_nick_ccc (ccc to kolor nicka),
- host_xxx (xxx to użytkownik + host w wiadomości),
- irc_xxx (xxx to nazwa komendy, lub numer; zobacz /server raw lub /debug tags),
+ self_msg, 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.
-Aby zobaczyć listę tagów w liniach buforów wykonaj: /debug tags
+To see tags for lines in buffers: /debug tags
-Przykłady:
- użyj inteligentnego filtru we wszystkich buforach IRC:
+Examples:
+ use IRC smart filter on all buffers:
/filter add irc_smart * irc_smart_filter *
- użyj inteligentnego filtru we wszystkich buforach IRC poza tymi zawierającymi "#weechat" w nazwie:
+ use IRC smart filter on all buffers except those with "#weechat" in name:
/filter add irc_smart *,!*#weechat* irc_smart_filter *
- filtruj wszystkie wiadomości IRC o join/part/quit:
+ filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
- filtruj nicki wyświetlane przy wejściu na kanał albo za pomocą /names:
+ filter nicks displayed when joining channels or with /names:
/filter add nicks * irc_366 *
- filtruj nick "toto" na kanale IRC #weechat:
+ filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat nick_toto *
- filtruj wejścia/akcje IRC od użytkownika "toto":
+ filter IRC join/action messages from nick "toto":
/filter add toto * nick_toto+irc_join,nick_toto+irc_action *
- filtruj linie zawierające frazę "weechat sucks" na kanale IRC #weechat:
+ filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
- filtruj linie "WeeChat sucks" we wszystkich buforach:
+ filter lines that are strictly equal to "WeeChat sucks" on all buffers:
/filter add sucks2 * * (?-i)^WeeChat sucks$
----
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr "%sChyba: musíte specifikovat buď tag(y) nebo regulární výraz pro filtr"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtr \"%s\" přidán:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtr \"%s\" přidán:"
#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<jméno>] || add <jméno> <buffer>[,"
"<buffer>...] <tags> <regex> || del <jméno>|-all"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-12-17 11:04+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
"%sFür Filter muss ein Schlagwort oder ein regulärer Ausdruck spezifiziert "
"werden"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filter \"%s\" hinzugefügt:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filter \"%s\" hinzugefügt:"
"Filterfunktion um Nachrichten in Buffern aus- oder einzublenden, dazu können "
"Schlagwörter oder reguläre Ausdrücke verwendet werden"
+#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"%sError: Debes especificar al menos una etiqueta (o varias) o una expresión "
"regular para el filtro"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtro \"%s\" añadido:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtro \"%s\" añadido:"
#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nombre>] || add <nombre> <buffer>[,"
"<buffer>...] <etiquetas> <regex> || del <nombre>|-all"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
-"PO-Revision-Date: 2020-12-15 20:39+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
+"PO-Revision-Date: 2020-12-18 20:24+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
"%sVous devez spécifier au moins les étiquettes ou l'expression régulière "
"pour le filtre"
+#, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtre \"%s\" mis à jour :"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtre \"%s\" ajouté :"
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nom>|@] || add|addreplace <nom> <tampon>[,"
-"<tampon>...] <étiquettes> <regex> || rename <nom> <nouveau_nom> || del "
-"<nom>|-all"
+"<tampon>...] <étiquettes> <regex> || rename <nom> <nouveau_nom> || recreate "
+"<nom> || del <nom>|-all"
msgid ""
" list: list all filters\n"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
" add : ajouter un filtre\n"
"addreplace : ajouter ou remplacer un filtre existant\n"
" rename : renommer un filtre\n"
+" recreate : définir la ligne de commande utilisée pour modifier le filtre\n"
" del : supprimer un filtre\n"
" -all : supprimer tous les filtres\n"
" tampon : liste des tampons, séparés par des virgules, où le filtre est "
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr ""
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "a felhasználók le lettek tiltva"
+
#, fuzzy, c-format
msgid "Filter \"%s\" added:"
msgstr "a felhasználók le lettek tiltva"
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
msgid ""
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr "%sErrore: specificare almeno un tag o una regex per il filtro"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtro \"%s\" aggiunto:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtro \"%s\" aggiunto:"
#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nome>] || add <nome> <buffer>[,<buffer>...] "
"<tag> <regex>] || del <nome>|-all"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
msgid "%sYou must specify at least tags or regex for filter"
msgstr "%sエラー: フィルタ用にタグか正規表現のどちらかを指定してください"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "フィルタ \"%s\" が追加されました:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "フィルタ \"%s\" が追加されました:"
"filter messages in buffers, to hide/show them according to tags or regex"
msgstr "タグか正規表現に基づくバッファメッセージの非表示/表示"
+#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
msgstr ""
"%sBłąd: musisz podać przynajmniej tag(i) lub wyrażenie regularne dla filtru"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Dodano filtr \"%s\":"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Dodano filtr \"%s\":"
"filtruje wiadomości w buforach, aby je ukryć/pokazać w zależności do tagów "
"lub wyrażeń regularnych"
+#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nazwa>|@] || add | addreplace<nazwa> "
"<bufor>[,<bufor>...] <tagi> <regex> || rename <nazwa> <nowa_nazwa> || del "
"<nazwa>|-all"
+#, fuzzy
msgid ""
" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr "%sErro: deve especificar pelo menos tags ou regex no filtro"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtro \"%s\" adicionado:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtro \"%s\" adicionado:"
#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nome>|@] || add <nome> <buffer>[,"
"<buffer>...] <tags> <regex> || rename <nome> <novo_nome> || del <nome>|-all"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-18 11:34+0200\n"
"Last-Translator: Eduardo Elias <camponez@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"%sErro: você precisa especificar pelo menos um marcador(es) ou expressão "
"regular para o filtro"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtro \"%s\" adicionado:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtro \"%s\" adicionado:"
#, fuzzy
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
"list || enable|disable|toggle [<nome>] || add <nome> <buffer>[,<buffer>...] "
"<tags> <regex> || del <nome>|-all"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2020-04-28 16:40+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgstr ""
"%sОшибка: Вы должны указать как минимум метку(и) или шаблон для фильтра"
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "команда users отключена"
+
#, fuzzy, c-format
msgid "Filter \"%s\" added:"
msgstr "команда users отключена"
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
msgid ""
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2019-11-03 08:38+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr ""
+#, fuzzy, c-format
+msgid "Filter \"%s\" updated:"
+msgstr "Filtre \"%s\" eklendi:"
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr "Filtre \"%s\" eklendi:"
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
msgid ""
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2020-12-15 20:37+0100\n"
+"POT-Creation-Date: 2020-12-18 20:22+0100\n"
"PO-Revision-Date: 2014-08-16 10:27+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
msgid "%sYou must specify at least tags or regex for filter"
msgstr ""
+#, c-format
+msgid "Filter \"%s\" updated:"
+msgstr ""
+
#, c-format
msgid "Filter \"%s\" added:"
msgstr ""
msgid ""
"list || enable|disable|toggle [<name>|@] || add|addreplace <name> <buffer>[,"
-"<buffer>...] <tags> <regex> || rename <name> <new_name> || del <name>|-all"
+"<buffer>...] <tags> <regex> || rename <name> <new_name> || recreate <name> "
+"|| del <name>|-all"
msgstr ""
msgid ""
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+" recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
COMMAND_CALLBACK(filter)
{
struct t_gui_filter *ptr_filter;
+ char str_command[4096], str_pos[16];
+ int update;
/* make C compiler happy */
(void) pointer;
return WEECHAT_RC_OK;
}
+ update = 0;
if (string_strcasecmp (argv[1], "addreplace") == 0)
{
ptr_filter = gui_filter_search_by_name (argv[2]);
ptr_filter->enabled = 0;
gui_filter_all_buffers (ptr_filter);
gui_filter_free (ptr_filter);
+ update = 1;
}
}
{
gui_filter_all_buffers (ptr_filter);
gui_chat_printf (NULL, "");
- gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER,
- _("Filter \"%s\" added:"),
- argv[2]);
+ gui_chat_printf_date_tags (
+ NULL, 0, GUI_FILTER_TAG_NO_FILTER,
+ (update) ? _("Filter \"%s\" updated:") : _("Filter \"%s\" added:"),
+ argv[2]);
command_filter_display (ptr_filter);
}
return WEECHAT_RC_OK;
}
+ /* recreate a filter */
+ if (string_strcasecmp (argv[1], "recreate") == 0)
+ {
+ COMMAND_MIN_ARGS(3, "recreate");
+ ptr_filter = gui_filter_search_by_name (argv[2]);
+ if (ptr_filter)
+ {
+ snprintf (str_command, sizeof (str_command),
+ "/filter addreplace %s %s %s %s",
+ ptr_filter->name,
+ ptr_filter->buffer_name,
+ ptr_filter->tags,
+ ptr_filter->regex);
+ gui_buffer_set (buffer, "input", str_command);
+ snprintf (str_pos, sizeof (str_pos),
+ "%d", utf8_strlen (str_command));
+ gui_buffer_set (buffer, "input_pos", str_pos);
+ }
+ else
+ {
+ gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER,
+ _("%sFilter \"%s\" not found"),
+ gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
+ argv[2]);
+ return WEECHAT_RC_OK;
+ }
+ return WEECHAT_RC_OK;
+ }
+
/* rename a filter */
if (string_strcasecmp (argv[1], "rename") == 0)
{
_("%sFilter \"%s\" not found"),
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR],
argv[2]);
- return WEECHAT_RC_OK;
}
return WEECHAT_RC_OK;
}
" || enable|disable|toggle [<name>|@]"
" || add|addreplace <name> <buffer>[,<buffer>...] <tags> <regex>"
" || rename <name> <new_name>"
+ " || recreate <name>"
" || del <name>|-all"),
N_(" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
" add: add a filter\n"
"addreplace: add or replace an existing filter\n"
" rename: rename a filter\n"
+ " recreate: set input with the command used to edit the filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter "
" || toggle %(filters_names)|@"
" || add|addreplace %(filters_names) %(buffers_plugins_names)|*"
" || rename %(filters_names) %(filters_names)"
+ " || recreate %(filters_names)"
" || del %(filters_names)|-all",
&command_filter, NULL, NULL);
hook_command (