From 3b4d9156e28295d3ab03a8db813e13b5295fdff3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 18 Jun 2016 09:06:56 +0200 Subject: [PATCH] doc: add note about function printf_date_tags in function printf (plugin API reference) --- doc/en/weechat_plugin_api.en.adoc | 9 +++++++++ doc/fr/weechat_plugin_api.fr.adoc | 9 +++++++++ doc/it/weechat_plugin_api.it.adoc | 10 ++++++++++ doc/ja/weechat_plugin_api.ja.adoc | 10 ++++++++++ 4 files changed, 38 insertions(+) diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index 4b27cb9d6..fbf8f48a0 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -6842,6 +6842,15 @@ Prototype: void weechat_printf (struct t_gui_buffer *buffer, const char *message, ...); ---- +This function is a shortcut for function printf_date_tags. These two calls give +exactly same result: + +[source,C] +---- +weechat_printf (buffer, "message"); +weechat_printf_date_tags (buffer, 0, NULL, "message"); +---- + Arguments: * _buffer_: buffer pointer, if NULL, message is displayed on WeeChat buffer diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc index 108b80fdb..105c305af 100644 --- a/doc/fr/weechat_plugin_api.fr.adoc +++ b/doc/fr/weechat_plugin_api.fr.adoc @@ -6953,6 +6953,15 @@ Prototype : void weechat_printf (struct t_gui_buffer *buffer, const char *message, ...); ---- +Cette fonction est un raccourci vers la fonction printf_date_tags. Ces deux appels +donnent exactement le même résultat : + +[source,C] +---- +weechat_printf (buffer, "message"); +weechat_printf_date_tags (buffer, 0, NULL, "message"); +---- + Paramètres : * _buffer_ : pointeur vers le tampon, si NULL, le message est affiché sur le diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc index 2d5c1033b..e9387590c 100644 --- a/doc/it/weechat_plugin_api.it.adoc +++ b/doc/it/weechat_plugin_api.it.adoc @@ -7013,6 +7013,16 @@ Prototipo: void weechat_printf (struct t_gui_buffer *buffer, const char *message, ...); ---- +// TRANSLATION MISSING +This function is a shortcut for function printf_date_tags. These two calls give +exactly same result: + +[source,C] +---- +weechat_printf (buffer, "message"); +weechat_printf_date_tags (buffer, 0, NULL, "message"); +---- + Argomenti: * _buffer_: puntatore al buffer, se NULL il messaggio viene visualizzato sul buffer di WeeChat diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc index fd88d5599..cf5ed0efe 100644 --- a/doc/ja/weechat_plugin_api.ja.adoc +++ b/doc/ja/weechat_plugin_api.ja.adoc @@ -6842,6 +6842,16 @@ weechat.prnt("", "Color: %sblue %sdefault color %syellow on red" void weechat_printf (struct t_gui_buffer *buffer, const char *message, ...); ---- +// TRANSLATION MISSING +This function is a shortcut for function printf_date_tags. These two calls give +exactly same result: + +[source,C] +---- +weechat_printf (buffer, "message"); +weechat_printf_date_tags (buffer, 0, NULL, "message"); +---- + 引数: * _buffer_: バッファへのポインタ、NULL の場合は WeeChat バッファにメッセージを表示