From f6bc6fec2e2a5640042c36d7d650ccca429f9e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= <flashcode@flashtux.org>
Date: Thu, 11 Jul 2019 21:12:33 +0200
Subject: doc: add function "register" in the plugin API reference

---
 doc/ja/weechat_plugin_api.ja.adoc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'doc/ja/weechat_plugin_api.ja.adoc')

diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index a41afe010..3c9f3e6a3 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -281,6 +281,30 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
 * C 言語での使用例、
 * Python スクリプトでの使用例 (他のスクリプト言語を使う場合も文法は似ています)。
 
+// TRANSLATION MISSING
+[[registering]]
+=== Registering
+
+Functions to register a script: used only by scripting API, not the C API.
+
+==== register
+
+Register the script.
+
+For more information, see the
+link:weechat_scripting.ja.html#register_function[WeeChat scripting guide].
+
+スクリプト (Python) での使用例:
+
+[source,python]
+----
+# プロトタイプ
+weechat.register(name, author, version, license, description, shutdown_function, charset)
+----
+
+[NOTE]
+This function is not available in the C API.
+
 [[plugins]]
 === プラグイン
 
-- 
cgit v1.2.3

