summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_plugin_api.en.txt34
-rw-r--r--doc/fr/weechat_plugin_api.fr.txt36
-rw-r--r--doc/it/weechat_plugin_api.it.txt34
3 files changed, 52 insertions, 52 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt
index 1f9edead2..e2181bcf8 100644
--- a/doc/en/weechat_plugin_api.en.txt
+++ b/doc/en/weechat_plugin_api.en.txt
@@ -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
diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt
index cbf781c17..3505875d6 100644
--- a/doc/fr/weechat_plugin_api.fr.txt
+++ b/doc/fr/weechat_plugin_api.fr.txt
@@ -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
diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt
index ccfcb12dc..97ccf821b 100644
--- a/doc/it/weechat_plugin_api.it.txt
+++ b/doc/it/weechat_plugin_api.it.txt
@@ -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