summaryrefslogtreecommitdiffstats
path: root/doc/it/weechat_plugin_api.it.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/it/weechat_plugin_api.it.adoc')
-rw-r--r--doc/it/weechat_plugin_api.it.adoc24
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 80c500f5b..8c2ae012d 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -294,6 +294,30 @@ Per ogni funzione, viene fornita:
* esempio nello script Python (la sintassi รจ simile per gli altri linguaggi di
scripting).
+// 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.it.html#register_function[WeeChat scripting guide].
+
+Script (Python):
+
+[source,python]
+----
+# prototype
+weechat.register(name, author, version, license, description, shutdown_function, charset)
+----
+
+[NOTE]
+This function is not available in the C API.
+
[[plugins]]
=== Plugin