diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index 37d1579be..258ebc1e2 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -3880,7 +3880,7 @@ Arguments: *** 'WEECHAT_CONFIG_WRITE_MEMORY_ERROR' * callback_write_data: pointer given to callback when it is called by WeeChat * callback_write_default: function called when default values for section must - be written in file, arguments: + be written in file, arguments and return value: ** 'void *data': pointer ** 'struct t_config_file *config_file': configuration file pointer ** 'const char *section_name': name of section @@ -4396,7 +4396,7 @@ This function is not available in scripting API. ==== weechat_config_search_with_string -Search an option with full name. +Get file/section/option info about an option with full name. Prototype: @@ -6188,7 +6188,7 @@ Script (Python): value = weechat.color(color_name) # example -weechat.prnt("", "%sColor: %sblue %sdefault color %syellow on red" +weechat.prnt("", "Color: %sblue %sdefault color %syellow on red" % (weechat.color("blue"), weechat.color("chat"), weechat.color("yellow,red"))) ---- diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index 1761481b2..6f650cff2 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -4452,7 +4452,8 @@ Cette fonction n'est pas disponible dans l'API script. ==== weechat_config_search_with_string -Recherche une option avec le nom complet. +Retourne des infos sur fichier/section/option pour une option avec le nom +complet. Prototype : @@ -6267,7 +6268,7 @@ Script (Python) : value = weechat.color(color_name) # exemple -weechat.prnt("", "%sCouleur : %sbleu %scouleur par défaut %sjaune sur rouge" +weechat.prnt("", "Couleur : %sbleu %scouleur par défaut %sjaune sur rouge" % (weechat.color("blue"), weechat.color("chat"), weechat.color("yellow,red"))) ---- diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index 3e1b250b6..770e33a07 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -4410,7 +4410,8 @@ Questa funzione non è disponibile nelle API per lo scripting. ==== weechat_config_search_with_string -Cerca un'opzione con il nome completo. +// TRANSLATION MISSING +Get file/section/option info about an option with full name. Prototipo: @@ -6217,7 +6218,7 @@ Script (Python): value = weechat.color(color_name) # esempio -weechat.prnt("", "%sColor: %sblue %sdefault color %syellow on red" +weechat.prnt("", "Color: %sblue %sdefault color %syellow on red" % (weechat.color("blue"), weechat.color("chat"), weechat.color("yellow,red"))) ----