mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
core: allow command mask for infolist_get on command hooks
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
|
||||
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
|
||||
|
||||
| weechat | hook | Auflistung der Hooks | - | type,arguments (type ist command/timer/.., arguments dient dazu nur einige hooks abzufragen, beide Optionen sind optional)
|
||||
| weechat | hook | Auflistung der Hooks | - | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
|
||||
|
||||
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
| weechat | history | history of commands | buffer pointer (if not set, return global history) (optional) | -
|
||||
|
||||
| weechat | hook | list of hooks | - | type,arguments (type is command/timer/.., arguments to get only some hooks, both are optional)
|
||||
| weechat | hook | list of hooks | - | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
|
||||
|
||||
| weechat | hotlist | list of buffers in hotlist | - | -
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
| weechat | history | historique des commandes | pointeur vers le tampon (si non défini, retourne l'historique global) (optionnel) | -
|
||||
|
||||
| weechat | hook | liste des hooks | - | type,paramètres (le type est command/timer/.., paramètres pour avoir seulement quelques hooks, les deux sont optionnels)
|
||||
| weechat | hook | liste des hooks | - | type,paramètres (le type est command/timer/.., paramètres pour avoir seulement quelques hooks (peut démarrer ou se terminer par "*" comme joker), les deux sont optionnels)
|
||||
|
||||
| weechat | hotlist | liste des tampons dans la hotlist | - | -
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
| weechat | history | cronologia dei comandi | puntatore al buffer (se non impostato, restituisce la cronologia globale) (opzionale) | -
|
||||
|
||||
| weechat | hook | elenco di hook | - | tipo,argomenti (il tipo è comando/timer/.., l'argomento solo per ottenere alcuni hook, entrambi sono opzionali)
|
||||
| weechat | hook | elenco di hook | - | type,arguments (type is command/timer/.., arguments to get only some hooks (can start or end with "*" as wildcard), both are optional)
|
||||
|
||||
| weechat | hotlist | elenco dei buffer nella hotlist | - | -
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:32+0200\n"
|
||||
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6427,10 +6427,13 @@ msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "seznam napojení"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"jméno položky pole (může začínat nebo končit \"*\" jako zástupným znakem) "
|
||||
"(volitelné)"
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "seznam bufferů v hotlistu"
|
||||
|
||||
@@ -22,7 +22,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-15 21:04+0100\n"
|
||||
"Last-Translator: Nils G.\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6722,9 +6722,10 @@ msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "Auflistung der Hooks"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"type,arguments (type ist command/timer/.., arguments dient dazu nur einige "
|
||||
"hooks abzufragen, beide Optionen sind optional)"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:31+0200\n"
|
||||
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6568,10 +6568,13 @@ msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "lista de enganches"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"nombre del elemento de barra (puede empezar o terminar con \"*\" como "
|
||||
"comodín) (opcional)"
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "lista de buffers en la lista de actividad"
|
||||
|
||||
@@ -21,8 +21,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"PO-Revision-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-19 20:10+0200\n"
|
||||
"Last-Translator: Sebastien Helleu <flashcode@flashtux.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
"Language: French\n"
|
||||
@@ -6592,11 +6592,12 @@ msgid "list of hooks"
|
||||
msgstr "liste des hooks"
|
||||
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"type,paramètres (le type est command/timer/.., paramètres pour avoir "
|
||||
"seulement quelques hooks, les deux sont optionnels)"
|
||||
"seulement quelques hooks (peut démarrer ou se terminer par \"*\" comme "
|
||||
"joker), les deux sont optionnels)"
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "liste des tampons dans la hotlist"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 11:21+0200\n"
|
||||
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6057,8 +6057,8 @@ msgid "list of hooks"
|
||||
msgstr "Aliaszok listája:\n"
|
||||
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:33+0200\n"
|
||||
"Last-Translator: Marco Paolone <marcopaolone@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6537,9 +6537,10 @@ msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "elenco di hook"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"tipo,argomenti (il tipo è comando/timer/.., l'argomento solo per ottenere "
|
||||
"alcuni hook, entrambi sono opzionali)"
|
||||
|
||||
@@ -21,7 +21,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:32+0200\n"
|
||||
"Last-Translator: Krzysztof Koroscik <soltys@szluug.org>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6518,10 +6518,12 @@ msgstr ""
|
||||
msgid "list of hooks"
|
||||
msgstr "lista powiązań"
|
||||
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
"nazwa elementu paska (może się zaczynać lub kończyć \"*\") (opcjonalne)"
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
msgstr "lista buforów w hotliście"
|
||||
|
||||
+3
-3
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 11:22+0200\n"
|
||||
"Last-Translator: Ivan Sichmann Freitas <ivansichfreitas@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -5796,8 +5796,8 @@ msgid "list of hooks"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
|
||||
@@ -20,7 +20,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: WeeChat 0.3.5-dev\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: 2011-04-10 17:33+0200\n"
|
||||
"Last-Translator: Pavel Shevchuk <stlwrt@gmail.com>\n"
|
||||
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
|
||||
@@ -6072,8 +6072,8 @@ msgid "list of hooks"
|
||||
msgstr "Список сокращений:\n"
|
||||
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
|
||||
#, fuzzy
|
||||
|
||||
+3
-3
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
|
||||
"POT-Creation-Date: 2011-04-17 11:00+0200\n"
|
||||
"POT-Creation-Date: 2011-04-19 20:09+0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -5257,8 +5257,8 @@ msgid "list of hooks"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks, "
|
||||
"both are optional)"
|
||||
"type,arguments (type is command/timer/.., arguments to get only some hooks "
|
||||
"(can start or end with \"*\" as wildcard), both are optional)"
|
||||
msgstr ""
|
||||
|
||||
msgid "list of buffers in hotlist"
|
||||
|
||||
+1
-1
@@ -2898,7 +2898,7 @@ hook_add_to_infolist_type (struct t_infolist *infolist, int type,
|
||||
switch (ptr_hook->type)
|
||||
{
|
||||
case HOOK_TYPE_COMMAND:
|
||||
match = (strcmp (HOOK_COMMAND(ptr_hook, command), arguments) == 0);
|
||||
match = string_match (HOOK_COMMAND(ptr_hook, command), arguments, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
@@ -1005,7 +1005,8 @@ plugin_api_init ()
|
||||
hook_infolist (NULL, "hook", N_("list of hooks"),
|
||||
NULL,
|
||||
N_("type,arguments (type is command/timer/.., arguments to "
|
||||
"get only some hooks, both are optional)"),
|
||||
"get only some hooks (can start or end with \"*\" as "
|
||||
"wildcard), both are optional)"),
|
||||
&plugin_api_infolist_get_internal, NULL);
|
||||
hook_infolist (NULL, "hotlist", N_("list of buffers in hotlist"),
|
||||
NULL,
|
||||
|
||||
Reference in New Issue
Block a user