summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-09-29 21:56:49 +0200
committerSébastien Helleu <flashcode@flashtux.org>2022-09-30 07:53:37 +0200
commit6bb4bed8bb0ba447e93db6bfe90abac93caa9823 (patch)
treef30d88771ac6ad8dca3ffcb2cafc4fb3cb6df113
parent92cdcee8f64fd74cc1242c0fe23ae2c8b1e4aef2 (diff)
downloadweechat-6bb4bed8bb0ba447e93db6bfe90abac93caa9823.zip
doc/api: Fix config_new_option types for non English docs
Only English was changed in commit 197a7a01e.
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc2
-rw-r--r--doc/it/weechat_plugin_api.it.adoc2
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc2
-rw-r--r--doc/sr/weechat_plugin_api.sr.adoc2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 767836aa2..d70f56eca 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -6698,7 +6698,7 @@ Script (Python) :
# prototype
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
- default_value: str, value: str, null_value_allowed: int,
+ default_value: str | None, value: str | None, null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 286b3e68a..6d205d72f 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -6825,7 +6825,7 @@ Script (Python):
# prototipo
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
- default_value: str, value: str, null_value_allowed: int,
+ default_value: str | None, value: str | None, null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index f8c64cee5..b8659fd4d 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -6623,7 +6623,7 @@ struct t_config_option *option5 =
# プロトタイプ
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
- default_value: str, value: str, null_value_allowed: int,
+ default_value: str | None, value: str | None, null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...
diff --git a/doc/sr/weechat_plugin_api.sr.adoc b/doc/sr/weechat_plugin_api.sr.adoc
index ae92d6453..194aeaa3c 100644
--- a/doc/sr/weechat_plugin_api.sr.adoc
+++ b/doc/sr/weechat_plugin_api.sr.adoc
@@ -6380,7 +6380,7 @@ struct t_config_option *option5 =
# прототип
def config_new_option(config_file: str, section: str, name: str, type: str, description: str,
string_values: str, min: int, max: int,
- default_value: str, value: str, null_value_allowed: int,
+ default_value: str | None, value: str | None, null_value_allowed: int,
callback_check_value: str, callback_check_value_data: str,
callback_change: str, callback_change_data: str,
callback_delete: str, callback_delete_data: str) -> str: ...