doc: fix typos in plugin API reference

v2.8-utf8proc
Sebastien Helleu 2013-12-31 13:08:12 +01:00
parent 8cba1e10c0
commit 52cb1036d2
3 changed files with 9 additions and 7 deletions

View File

@ -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")))
----

View File

@ -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")))
----

View File

@ -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")))
----