diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-07-22 17:06:49 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-07-22 17:06:49 +0200 |
commit | d43b9e99c13452d9e76caaf33fe008010a2e36a2 (patch) | |
tree | 41a79e3386e9e479552b02f3ef1322a5ef2cdb08 /doc | |
parent | d5c4342bceadc4d3c3997986cb48f3bd4235e8f8 (diff) | |
download | weechat-d43b9e99c13452d9e76caaf33fe008010a2e36a2.zip |
doc/scripting: add missing fields "paramN" and "num_params" in output of "irc_message_parse"
These new fields were added in version 3.4 with major improvements of the IRC
message parser.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/de/weechat_scripting.de.adoc | 13 | ||||
-rw-r--r-- | doc/en/weechat_scripting.en.adoc | 11 | ||||
-rw-r--r-- | doc/fr/weechat_scripting.fr.adoc | 11 | ||||
-rw-r--r-- | doc/it/weechat_scripting.it.adoc | 13 | ||||
-rw-r--r-- | doc/ja/weechat_scripting.ja.adoc | 13 | ||||
-rw-r--r-- | doc/pl/weechat_scripting.pl.adoc | 13 | ||||
-rw-r--r-- | doc/sr/weechat_scripting.sr.adoc | 13 |
7 files changed, 87 insertions, 0 deletions
diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc index 59620a1ee..a628f6710 100644 --- a/doc/de/weechat_scripting.de.adoc +++ b/doc/de/weechat_scripting.de.adoc @@ -1376,6 +1376,16 @@ Das Ergebnis ist eine Hashtabelle mit folgenden Schlüsseln | der Text (zum Beispiel eine Nachricht eines Users). | `+hello!+` +// TRANSLATION MISSING +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +// TRANSLATION MISSING +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | Index von _command_ innerhalb einer Nachricht ("-1" falls _command_ nicht gefunden wird). | `+47+` @@ -1414,6 +1424,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/en/weechat_scripting.en.adoc b/doc/en/weechat_scripting.en.adoc index 87f6d06e3..dde5dcfc8 100644 --- a/doc/en/weechat_scripting.en.adoc +++ b/doc/en/weechat_scripting.en.adoc @@ -1349,6 +1349,14 @@ The result is a hashtable with following keys | The text (for example user message). | `+hello!+` +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | The index of _command_ in message ("-1" if _command_ was not found). | `+47+` @@ -1387,6 +1395,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/fr/weechat_scripting.fr.adoc b/doc/fr/weechat_scripting.fr.adoc index 9f5c88939..b4553368d 100644 --- a/doc/fr/weechat_scripting.fr.adoc +++ b/doc/fr/weechat_scripting.fr.adoc @@ -1387,6 +1387,14 @@ Le résultat est une table de hachage avec les clés suivantes | Le texte (par exemple un message utilisateur). | `+hello!+` +| paramN | 3.4 +| Paramètre de commande (de 1 à N). +| `+#weechat+` + +| num_params | 3.4 +| Nombre de paramètres de commande. +| `+2+` + | pos_command | 1.3 | La position de _command_ dans le message ("-1" si _command_ n'a pas été trouvé). | `+47+` @@ -1425,6 +1433,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/it/weechat_scripting.it.adoc b/doc/it/weechat_scripting.it.adoc index f87246e11..1274fcaf8 100644 --- a/doc/it/weechat_scripting.it.adoc +++ b/doc/it/weechat_scripting.it.adoc @@ -1418,6 +1418,16 @@ The result is a hashtable with following keys | The text (for example user message). | `+hello!+` +// TRANSLATION MISSING +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +// TRANSLATION MISSING +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | The index of _command_ in message ("-1" if _command_ was not found). | `+47+` @@ -1457,6 +1467,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc index 941dc3371..edcd3d501 100644 --- a/doc/ja/weechat_scripting.ja.adoc +++ b/doc/ja/weechat_scripting.ja.adoc @@ -1394,6 +1394,16 @@ _WeeChat バージョン 0.3.4 以上で利用可。_ | テキスト (ユーザメッセージなど) | `+hello!+` +// TRANSLATION MISSING +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +// TRANSLATION MISSING +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | メッセージ内における _command_ のインデックス (_command_ が見つからない場合 "-1") | `+47+` @@ -1433,6 +1443,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/pl/weechat_scripting.pl.adoc b/doc/pl/weechat_scripting.pl.adoc index f5c9e3a7e..322cd63b3 100644 --- a/doc/pl/weechat_scripting.pl.adoc +++ b/doc/pl/weechat_scripting.pl.adoc @@ -1361,6 +1361,16 @@ Wynik jest tabela hashy z następującymi kluczami | Tekst (na przykład wiadomość użytkownika). | `+hello!+` +// TRANSLATION MISSING +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +// TRANSLATION MISSING +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | The index of _command_ in message ("-1" if _command_ was not found). | `+47+` @@ -1399,6 +1409,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :hello!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", diff --git a/doc/sr/weechat_scripting.sr.adoc b/doc/sr/weechat_scripting.sr.adoc index eea8734b0..f02337c6b 100644 --- a/doc/sr/weechat_scripting.sr.adoc +++ b/doc/sr/weechat_scripting.sr.adoc @@ -1285,6 +1285,16 @@ IRC поруку можете да парсирате са info_hashtable под | Текст (на пример, корисникова порука). | `+здраво!+` +// TRANSLATION MISSING +| paramN | 3.4 +| Command parameter (from 1 to N). +| `+#weechat+` + +// TRANSLATION MISSING +| num_params | 3.4 +| Number of command parameters. +| `+2+` + | pos_command | 1.3 | Индекс _command_ у поруци („-1” ако се _command_ не пронађе). | `+47+` @@ -1323,6 +1333,9 @@ dict = weechat.info_get_hashtable( # "channel": "#weechat", # "arguments": "#weechat :здраво!", # "text": "hello!", +# "param1": "#weechat", +# "param2": "hello!", +# "num_params": "2", # "pos_command": "65", # "pos_arguments": "73", # "pos_channel": "73", |