diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-24 19:56:43 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-03-24 19:56:43 +0100 |
commit | ff26a8d550858822904aff412784ae62132435d3 (patch) | |
tree | 344e827cf5bebbbad1dd6103b88df682ca69511b /doc/ja | |
parent | fad848bf7caff763ace7a8b88f06307feca77bac (diff) | |
download | weechat-ff26a8d550858822904aff412784ae62132435d3.zip |
Revert "doc: add note about constants in lua, fix lua example (scripting guide)"
This reverts commit fad848bf7caff763ace7a8b88f06307feca77bac.
Diffstat (limited to 'doc/ja')
-rw-r--r-- | doc/ja/weechat_scripting.ja.txt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/doc/ja/weechat_scripting.ja.txt b/doc/ja/weechat_scripting.ja.txt index 7e75d2a42..70ab66b2c 100644 --- a/doc/ja/weechat_scripting.ja.txt +++ b/doc/ja/weechat_scripting.ja.txt @@ -63,9 +63,6 @@ Weechat.config_new_option(config, section, "name", "string", "description of opt ==== Lua ==== * 関数は `weechat.xxx(arg1, arg2, ...)` のように呼び出してください。 -// TRANSLATION MISSING -* Constants in API are in fact functions, the returned value must be used as - constant (not the function itself). ==== Tcl ==== @@ -319,7 +316,7 @@ Weechat.hook_timer(1000, 0, 1, "timer_cb", "test"); ---------------------------------------- function timer_cb(data, remaining_calls) weechat.print("", "timer! data="..data) - return weechat.WEECHAT_RC_OK() + return weechat.WEECHAT_RC_OK end weechat.hook_timer(1000, 0, 1, "timer_cb", "test") |