From 75243a46a1999b0aae297826a04ef31e96027aa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 28 Mar 2016 11:15:12 +0200 Subject: [PATCH] doc: add missing quotes in plugin API reference --- doc/en/weechat_plugin_api.en.asciidoc | 4 ++-- doc/fr/weechat_plugin_api.fr.asciidoc | 2 +- doc/it/weechat_plugin_api.it.asciidoc | 4 ++-- doc/ja/weechat_plugin_api.ja.asciidoc | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/en/weechat_plugin_api.en.asciidoc b/doc/en/weechat_plugin_api.en.asciidoc index adb225001..4da663890 100644 --- a/doc/en/weechat_plugin_api.en.asciidoc +++ b/doc/en/weechat_plugin_api.en.asciidoc @@ -4425,8 +4425,8 @@ Arguments: * 'callback_write_data': pointer given to callback when it is called by WeeChat; if not NULL, it must have been allocated with malloc (or similar function) and it is automatically freed when the section is freed -* callback_write_default: function called when default values for section must - be written in file, arguments and return value: +* 'callback_write_default': function called when default values for section + must be written in file, arguments and return value: ** 'const void *pointer': pointer ** 'void *data': pointer ** 'struct t_config_file *config_file': configuration file pointer diff --git a/doc/fr/weechat_plugin_api.fr.asciidoc b/doc/fr/weechat_plugin_api.fr.asciidoc index 931834e71..56931aa5a 100644 --- a/doc/fr/weechat_plugin_api.fr.asciidoc +++ b/doc/fr/weechat_plugin_api.fr.asciidoc @@ -4504,7 +4504,7 @@ Paramètres : par WeeChat; si non NULL, doit avoir été alloué par malloc (ou une fonction similaire) et est automatiquement libéré (par free) lorsque la section est libérée -* callback_write_default : fonction appelée lorsque les valeurs par défaut +* 'callback_write_default' : fonction appelée lorsque les valeurs par défaut doivent être écrites dans le fichier, paramètres et valeur de retour : ** 'const void *pointer' : pointeur ** 'void *data' : pointeur diff --git a/doc/it/weechat_plugin_api.it.asciidoc b/doc/it/weechat_plugin_api.it.asciidoc index 50db82ad7..c390e19c6 100644 --- a/doc/it/weechat_plugin_api.it.asciidoc +++ b/doc/it/weechat_plugin_api.it.asciidoc @@ -4556,8 +4556,8 @@ Argomenti: * 'callback_write_data': puntatore fornito dalla callback quando chiamata da WeeChat; if not NULL, it must have been allocated with malloc (or similar function) and it is automatically freed when the section is freed -* callback_write_default: funzione chiamata quando i valori predefiniti per la sezione - devono essere scritti in un file, argomenti e valore restituito: +* 'callback_write_default': funzione chiamata quando i valori predefiniti per + la sezione devono essere scritti in un file, argomenti e valore restituito: ** 'const void *pointer': puntatore ** 'void *data': puntatore ** 'struct t_config_file *config_file': puntatore al file di configurazione diff --git a/doc/ja/weechat_plugin_api.ja.asciidoc b/doc/ja/weechat_plugin_api.ja.asciidoc index a323927de..cbaf337fb 100644 --- a/doc/ja/weechat_plugin_api.ja.asciidoc +++ b/doc/ja/weechat_plugin_api.ja.asciidoc @@ -4427,7 +4427,7 @@ struct t_config_section *weechat_config_new_section ( * 'callback_write_data': WeeChat がコールバックを呼び出す際にコールバックに渡すポインタ; if not NULL, it must have been allocated with malloc (or similar function) and it is automatically freed when the section is freed -* callback_write_default: +* 'callback_write_default': セクションのデフォルト値が必ずファイルに書き込まれる際に呼び出す関数、引数と戻り値: ** 'const void *pointer': ポインタ ** 'void *data': ポインタ