Fix typos in config functions in plugin API reference
parent
19d355c10e
commit
7a5200a8e4
|
@ -4641,10 +4641,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_boolean(option)
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# example
|
||||
if weechat.config_option_boolean(option):
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4687,10 +4687,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_boolean_default(option)
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# example
|
||||
if weechat.config_option_boolean_default(option):
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4726,10 +4726,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_integer(option)
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# example
|
||||
if weechat.config_option_integer(option):
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4765,10 +4765,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_integer_default(option)
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# example
|
||||
if weechat.config_option_integer_default(option):
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4804,10 +4804,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_string(option)
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_option_string(option):
|
||||
value = weechat.config_string(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string_default
|
||||
|
@ -4819,7 +4819,7 @@ Prototype:
|
|||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
const char *weechat_config_integer_default (struct t_config_option *option);
|
||||
const char *weechat_config_string_default (struct t_config_option *option);
|
||||
----------------------------------------
|
||||
|
||||
Arguments:
|
||||
|
@ -4842,10 +4842,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_string_default(option)
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_option_string_default(option):
|
||||
value = weechat.config_string_default(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color
|
||||
|
@ -4880,10 +4880,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_color(option)
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_option_color(option):
|
||||
value = weechat.config_color(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color_default
|
||||
|
@ -4918,10 +4918,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_color_default(option)
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# example
|
||||
value = weechat.config_option_color_default(option):
|
||||
value = weechat.config_color_default(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_write_option
|
||||
|
|
|
@ -4693,10 +4693,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_boolean(option)
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_option_boolean(option):
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4739,10 +4739,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_boolean_default(option)
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_option_boolean_default(option):
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4778,10 +4778,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_integer(option)
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_option_integer(option):
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4817,10 +4817,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_integer_default(option)
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# exemple
|
||||
if weechat.config_option_integer_default(option):
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4856,10 +4856,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_string(option)
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# exemple
|
||||
value = weechat.config_option_string(option)
|
||||
value = weechat.config_string(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string_default
|
||||
|
@ -4871,7 +4871,7 @@ Prototype :
|
|||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
const char *weechat_config_integer_default (struct t_config_option *option);
|
||||
const char *weechat_config_string_default (struct t_config_option *option);
|
||||
----------------------------------------
|
||||
|
||||
Paramètres :
|
||||
|
@ -4894,10 +4894,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_string_default(option)
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# exemple
|
||||
value = weechat.config_option_string_default(option)
|
||||
value = weechat.config_string_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color
|
||||
|
@ -4932,14 +4932,14 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_color(option)
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# exemple
|
||||
value = weechat.config_option_color(option)
|
||||
value = weechat.config_color(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color_default
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Retourne la valeur par défaut de l'option, sous forme de couleur.
|
||||
|
||||
|
@ -4971,10 +4971,10 @@ Script (Python) :
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototype
|
||||
value = weechat.config_option_color_default(option)
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# exemple
|
||||
value = weechat.config_option_color_default(option)
|
||||
value = weechat.config_color_default(option)
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_write_option
|
||||
|
|
|
@ -4638,10 +4638,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_boolean(option)
|
||||
value = weechat.config_boolean(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_option_boolean(option):
|
||||
if weechat.config_boolean(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4684,10 +4684,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_boolean_default(option)
|
||||
value = weechat.config_boolean_default(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_option_boolean_default(option):
|
||||
if weechat.config_boolean_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4723,10 +4723,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_integer(option)
|
||||
value = weechat.config_integer(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_option_integer(option):
|
||||
if weechat.config_integer(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4762,10 +4762,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_integer_default(option)
|
||||
value = weechat.config_integer_default(option)
|
||||
|
||||
# esempio
|
||||
if weechat.config_option_integer_default(option):
|
||||
if weechat.config_integer_default(option):
|
||||
# ...
|
||||
----------------------------------------
|
||||
|
||||
|
@ -4801,10 +4801,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_string(option)
|
||||
value = weechat.config_string(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_option_string(option):
|
||||
value = weechat.config_string(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_string_default
|
||||
|
@ -4816,7 +4816,7 @@ Prototipo:
|
|||
|
||||
[source,C]
|
||||
----------------------------------------
|
||||
const char *weechat_config_integer_default (struct t_config_option *option);
|
||||
const char *weechat_config_string_default (struct t_config_option *option);
|
||||
----------------------------------------
|
||||
|
||||
Argomenti:
|
||||
|
@ -4839,10 +4839,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_string_default(option)
|
||||
value = weechat.config_string_default(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_option_string_default(option):
|
||||
value = weechat.config_string_default(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color
|
||||
|
@ -4877,10 +4877,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_color(option)
|
||||
value = weechat.config_color(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_option_color(option):
|
||||
value = weechat.config_color(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_color_default
|
||||
|
@ -4915,10 +4915,10 @@ Script (Python):
|
|||
[source,python]
|
||||
----------------------------------------
|
||||
# prototipo
|
||||
value = weechat.config_option_color_default(option)
|
||||
value = weechat.config_color_default(option)
|
||||
|
||||
# esempio
|
||||
value = weechat.config_option_color_default(option):
|
||||
value = weechat.config_color_default(option):
|
||||
----------------------------------------
|
||||
|
||||
weechat_config_write_option
|
||||
|
|
Loading…
Reference in New Issue