doc: add note about "list" options for curl in function hook_process_hashtable (plugin API reference)

v2.8-utf8proc
Sébastien Helleu 2018-05-21 14:43:22 +02:00
parent 4f5c7c8b68
commit 271e395201
11 changed files with 30 additions and 18 deletions

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Einstellung | Type | Konstanten ^(1)^
| Einstellung | Type ^(1)^ | Konstanten ^(2)^
| verbose | long |

View File

@ -720,8 +720,9 @@ def docgen_cmd_cb(data, buf, args):
doc.write('[width="100%",cols="2,^1,7",options="header"]\n')
doc.write('|===\n')
doc.write('| {0} | {1} | {2}\n\n'
''.format(_('Option'), _('Type'),
_('Constants') + ' ^(1)^'))
''.format(_('Option'),
_('Type') + ' ^(1)^',
_('Constants') + ' ^(2)^'))
for option in url_options:
constants = option['constants']
if constants:

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Option | Type | Constants ^(1)^
| Option | Type ^(1)^ | Constants ^(2)^
| verbose | long |

View File

@ -8751,8 +8751,10 @@ For command "url:...", following options are available (see
include::autogen/plugin_api/url_options.adoc[]
[NOTE]
^(1)^ When constants are available they must be used as value for option. For
options with type "mask", format is: "value1+value2+value3".
^(1)^ For options with type "mask", format is: "value1+value2+value3";
for options with type "list", the list items must be separated by a newline
(`\n`). +
^(2)^ When constants are available they must be used as value for option.
For URL, two extra options (strings) are allowed for input/output file:

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Option | Type | Constantes ^(1)^
| Option | Type ^(1)^ | Constantes ^(2)^
| verbose | long |

View File

@ -8917,9 +8917,12 @@ Pour la commande "url:...", les options suivantes sont disponibles (voir
include::autogen/plugin_api/url_options.adoc[]
[NOTE]
^(1)^ Lorsque des constantes sont disponibles, elles doivent être utilisées
comme valeur pour l'option. Pour les options avec le type "mask", le format
est : "valeur1+valeur2+valeur3".
^(1)^ Pour les options avec le type "mask", le format est :
"value1+value2+value3" ;
pour les options avec le type "list", les éléments de la liste doivent être
séparés par un retour à la ligne (`\n`). +
^(2)^ Lorsque des constantes sont disponibles, elles doivent être utilisées
comme valeur pour l'option.
Pour l'URL, deux options supplémentaires (chaînes) sont autorisées, pour le
fichier en entrée/sortie :

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Opzione | Tipo | Costanti ^(1)^
| Opzione | Tipo ^(1)^ | Costanti ^(2)^
| verbose | long |

View File

@ -9032,10 +9032,13 @@ Per il comando "url:..." sono disponibili le seguenti opzioni (consultare
include::autogen/plugin_api/url_options.adoc[]
// TRANSLATION MISSING
[NOTE]
^(1)^ Quando sono disponibili le costanti, esse vanno usate come valore per
l'opzione. Per le opzioni con il tipo "mask" il formato è:
"value1+value2+value3".
^(1)^ Per le opzioni con il tipo "mask" il formato è: "value1+value2+value3";
for options with type "list", the list items must be separated by a newline
(`\n`). +
^(2)^ Quando sono disponibili le costanti, esse vanno usate come valore per
l'opzione.
Per un URL, sono consentite due opzioni aggiuntive (stringhe) per il file in
input/output:

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| オプション | タイプ | 定数 ^(1)^
| オプション | タイプ ^(1)^ | 定数 ^(2)^
| verbose | long |

View File

@ -8710,9 +8710,12 @@ struct t_hook *weechat_hook_process_hashtable (const char *command,
include::autogen/plugin_api/url_options.adoc[]
// TRANSLATION MISSING
[NOTE]
^(1)^ 定数が利用可能な場合、定数は必ずオプションの値に含めてください。"mask"
型のオプションでは、以下の書式に従ってください: "value1+value2+value3"。
^(1)^ For options with type "mask", format is: "value1+value2+value3";
for options with type "list", the list items must be separated by a newline
(`\n`). +
^(2)^ 定数が利用可能な場合、定数は必ずオプションの値に含めてください。
URL では、入力/出力ファイル用に 2 つのオプション (文字列) を使うことができます:

View File

@ -4,7 +4,7 @@
//
[width="100%",cols="2,^1,7",options="header"]
|===
| Opcja | Typ | Stałe ^(1)^
| Opcja | Typ ^(1)^ | Stałe ^(2)^
| verbose | long |