summaryrefslogtreecommitdiff
path: root/doc/ja
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-07-29 15:55:42 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-07-29 15:55:42 +0200
commit09c52755d1c4212276dbffe55e0cbbf360e21800 (patch)
treeaa0f861f029b436393fa335539ff8d4a69af7fcd /doc/ja
parent4397dccd1b0beb7b052c577b0722c2660f1bc497 (diff)
downloadweechat-09c52755d1c4212276dbffe55e0cbbf360e21800.zip
relay: return an empty hdata when the requested hdata or pointer is not found (closes #767)
Diffstat (limited to 'doc/ja')
-rw-r--r--doc/ja/weechat_relay_protocol.ja.adoc21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/ja/weechat_relay_protocol.ja.adoc b/doc/ja/weechat_relay_protocol.ja.adoc
index 7da957e79..1c0f9f060 100644
--- a/doc/ja/weechat_relay_protocol.ja.adoc
+++ b/doc/ja/weechat_relay_protocol.ja.adoc
@@ -171,6 +171,12 @@ _hdata_ を要求。
* 負数: N 回前の要素への反復を繰り返す
* _*_: 最後の要素まで、次の要素への反復を繰り返す
+[NOTE]
+// TRANSLATION MISSING
+With WeeChat ≥ 1.6, if the hdata path is invalid or if a NULL pointer is found,
+an empty hdata is returned (see example in <<object_hdata,hdata object>>). +
+With older versions, nothing was returned.
+
例:
----
@@ -1624,6 +1630,21 @@ nicklist
nick (@ChanServ)
....
+// TRANSLATION MISSING
+Example of empty hdata (hotlist is empty in WeeChat):
+
+....
+# コマンド
+hdata hotlist:gui_hotlist(*)
+
+# 応答
+┌────────┬────────┬───┐
+│ (NULL) │ (NULL) │ 0 │
+└────────┴────────┴───┘
+ └──────┘ └──────┘ └─┘
+ h-path keys count
+....
+
[[object_info]]
==== インフォ