]> jfr.im git - irc/weechat/weechat.git/commitdiff
doc/api: Fix config_new_option types for non English docs
authorTrygve Aaberge <redacted>
Thu, 29 Sep 2022 19:56:49 +0000 (21:56 +0200)
committerSébastien Helleu <redacted>
Fri, 30 Sep 2022 05:53:37 +0000 (07:53 +0200)
Only English was changed in commit 197a7a01e.

doc/fr/weechat_plugin_api.fr.adoc
doc/it/weechat_plugin_api.it.adoc
doc/ja/weechat_plugin_api.ja.adoc
doc/sr/weechat_plugin_api.sr.adoc

index 767836aa25a0f3eeda36b978b95c6e8a22f545c2..d70f56eca32db9721e7e1a78b27fd63a40d648bc 100644 (file)
@@ -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: ...
index 286b3e68ae0aeaf57f1307537f32a167b32b1282..6d205d72fcf4cb15d1f1968370574ead6c6a96cc 100644 (file)
@@ -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: ...
index f8c64cee51d448be178e11173a4833e3e5d15502..b8659fd4d3c5a73634a79f12542077fbb9f8d6e2 100644 (file)
@@ -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: ...
index ae92d6453521fc915a960779d737d10d62661e13..194aeaa3cd975f01ba9cbcc8269194b6ccd7329f 100644 (file)
@@ -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: ...