summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>2016-11-06 09:00:00 +0900
committerAYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>2016-11-06 09:00:00 +0900
commit78d3a0572970c14069093838bff2bc62f8362df8 (patch)
treeb523fc0f2d416381f79e38e1dc6da89f5fb53065 /doc
parentd5ff36a6deb8b2fb46c8c25a5984043eca48a98b (diff)
downloadweechat-78d3a0572970c14069093838bff2bc62f8362df8.zip
doc: fix typo in plugin API reference
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc2
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc2
-rw-r--r--doc/it/weechat_plugin_api.it.adoc2
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index 0765f04ac..994a947bf 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -9568,7 +9568,7 @@ recommended to choose a name with a unique prefix, like "plugin_xxx" (where
[IMPORTANT]
The callback must only call function <<_hook_completion_list_add,hook_completion_list_add>>
and must *NOT* update the command line. +
-To update the command line when key[Tab] is pressed, you can use the function
+To update the command line when kbd:[Tab] is pressed, you can use the function
<<_hook_command_run,hook_command_run>> with command: "/input complete_next"
(and you must return _WEECHAT_RC_OK_EAT_ if your callback has updated the command line,
so that WeeChat will not perform the completion).
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 4b9dedc45..3a98be3f8 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -9762,7 +9762,7 @@ Il est donc recommandé de choisir un nom avec un préfixe unique, comme
Le "callback" doit seulement appeler la fonction
<<_hook_completion_list_add,hook_completion_list_add>>
et ne doit *PAS* mettre à jour la ligne de commande. +
-Pour mettre à jour la ligne de commande quand key[Tab] est pressé, vous pouvez
+Pour mettre à jour la ligne de commande quand kbd:[Tab] est pressé, vous pouvez
utiliser la fonction <<_hook_command_run,hook_command_run>>
avec la commande : "/input complete_next" (et vous devez retourner
_WEECHAT_RC_OK_EAT_ si votre "callback" a mis à jour la ligne de commande, de
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 1179e8e22..6b728e504 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -9920,7 +9920,7 @@ raccomanda pertanto di scegliere un nome con un prefisso unico, come
The callback must only call function
<<_hook_completion_list_add,hook_completion_list_add>>
and must *NOT* update the command line. +
-To update the command line when key[Tab] is pressed, you can use the function
+To update the command line when kbd:[Tab] is pressed, you can use the function
<<_hook_command_run,hook_command_run>> with command:
"/input complete_next" (and you must return _WEECHAT_RC_OK_EAT_ if your callback
has updated the command line, so that WeeChat will not perform the completion).
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index c33d54956..53f71d48f 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -9574,7 +9574,7 @@ struct t_hook *weechat_hook_completion (const char *completion_item,
コールバックは
<<_hook_completion_list_add,hook_completion_list_add>>
関数を呼び出すだけで、コマンドラインをコールバックで絶対に *変更しない*でください。 +
-key[Tab] が押された時にコマンドラインを更新するためには、関数
+kbd:[Tab] が押された時にコマンドラインを更新するためには、関数
<<_hook_command_run,hook_command_run>> を使ってコマンド
"/input complete_next" をフックしてください (コールバックがコマンドラインを更新する場合は必ず
_WEECHAT_RC_OK_EAT_ を返してください。そうすれば WeeChat は補完を行いません)。