diff options
Diffstat (limited to 'doc/ja/weechat_scripting.ja.adoc')
-rw-r--r-- | doc/ja/weechat_scripting.ja.adoc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/ja/weechat_scripting.ja.adoc b/doc/ja/weechat_scripting.ja.adoc index b2c08693e..11c3fdccb 100644 --- a/doc/ja/weechat_scripting.ja.adoc +++ b/doc/ja/weechat_scripting.ja.adoc @@ -72,9 +72,11 @@ link:weechat_plugin_api.ja.html#_hook_process[WeeChat プラグイン API リフ [[languages_specificities]] === 言語仕様 +[[language_python]] ==== Python // TRANSLATION MISSING +[[python_module]] ===== Module WeeChat defines a `weechat` module which must be imported with `import weechat`. + @@ -82,6 +84,7 @@ A Python stub for WeeChat API is available in the repository: https://raw.githubusercontent.com/weechat/weechat/master/src/plugins/python/weechat.pyi[weechat.pyi]. // TRANSLATION MISSING +[[python_functions]] ===== Functions Functions are called with `+weechat.xxx(arg1, arg2, ...)+`. @@ -90,6 +93,7 @@ Functions `+print*+` are called `+prnt*+` in python (because `print` was a reserved keyword in Python 2). // TRANSLATION MISSING +[[python_strings]] ===== Strings received in callbacks In Python 3 and with WeeChat ≥ 2.7, the strings received in callbacks have type @@ -143,21 +147,26 @@ In Python 2, which is now deprecated and should not be used any more, the strings sent to callbacks are always of type `str`, and may contain invalid UTF-8 data, in the cases mentioned above. +[[language_perl]] ==== Perl // TRANSLATION MISSING +[[perl_functions]] ===== Functions Functions are called with `+weechat::xxx(arg1, arg2, ...);+`. +[[language_ruby]] ==== Ruby // TRANSLATION MISSING +[[ruby_init]] ===== Initialization You have to define _weechat_init_ and call _register_ inside. // TRANSLATION MISSING +[[ruby_functions]] ===== Functions Functions are called with `+Weechat.xxx(arg1, arg2, ...)+`. @@ -183,23 +192,29 @@ Weechat.bar_new("name", "off", "0", "window", "", "left", "vertical", "vertical" ["default", "default", "default", "default"], "0", "items") ---- +[[language_lua]] ==== Lua // TRANSLATION MISSING +[[lua_functions]] ===== Functions Functions are called with `+weechat.xxx(arg1, arg2, ...)+`. +[[language_tcl]] ==== Tcl // TRANSLATION MISSING +[[tcl_functions]] ===== Functions Functions are called with `+weechat::xxx arg1 arg2 ...+`. +[[language_guile]] ==== Guile (Scheme) // TRANSLATION MISSING +[[guile_functions]] ===== Functions Functions are called with `+(weechat:xxx arg1 arg2 ...)+`. @@ -212,16 +227,20 @@ arguments in Guile: * config_new_option * bar_new +[[language_javascript]] ==== JavaScript // TRANSLATION MISSING +[[javascript_functions]] ===== Functions Functions are called with `+weechat.xxx(arg1, arg2, ...);+`. +[[language_php]] ==== PHP // TRANSLATION MISSING +[[php_functions]] ===== Functions Functions are called with `+weechat_xxx(arg1, arg2, ...);+`. |