summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-03-31 21:04:21 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-03-31 21:04:21 +0200
commit36eb3ee3437cb82205487080bccc527f90c00d2a (patch)
treecf2f000e8556506aa49c3c2b0e50f22a17ab8510 /doc
parent85bb23f8cb46d29b4fcff4c0b5e65941fcc4f0d2 (diff)
downloadweechat-36eb3ee3437cb82205487080bccc527f90c00d2a.zip
api: add special key "__quiet" in function key_bind
Diffstat (limited to 'doc')
-rw-r--r--doc/en/weechat_plugin_api.en.adoc8
-rw-r--r--doc/fr/weechat_plugin_api.fr.adoc9
-rw-r--r--doc/it/weechat_plugin_api.it.adoc10
-rw-r--r--doc/ja/weechat_plugin_api.ja.adoc9
4 files changed, 28 insertions, 8 deletions
diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc
index ec48f67a5..a1bd8f3d4 100644
--- a/doc/en/weechat_plugin_api.en.adoc
+++ b/doc/en/weechat_plugin_api.en.adoc
@@ -7111,7 +7111,7 @@ Functions for key bindings.
==== key_bind
-_WeeChat ≥ 0.3.6._
+_WeeChat ≥ 0.3.6, updated in 1.8._
Add new key bindings.
@@ -7126,6 +7126,8 @@ Prototype:
int weechat_key_bind (const char *context, struct t_hashtable *keys);
----
+:key_bind_quiet: __quiet
+
Arguments:
* _context_: context for keys:
@@ -7133,7 +7135,9 @@ Arguments:
** _search_: search context (when searching text in buffer)
** _cursor_: free movement of cursor on screen
** _mouse_: keys for mouse events
-* _keys_: hashtable with key bindings
+* _keys_: hashtable with key bindings; it can contain following special keys:
+** _{key_bind_quiet}_: do not display the keys added in core buffer
+ _(WeeChat ≥ 1.8)_
Return value:
diff --git a/doc/fr/weechat_plugin_api.fr.adoc b/doc/fr/weechat_plugin_api.fr.adoc
index 4b1761935..e8c80bac6 100644
--- a/doc/fr/weechat_plugin_api.fr.adoc
+++ b/doc/fr/weechat_plugin_api.fr.adoc
@@ -7221,7 +7221,7 @@ Fonctions pour les associations de touches.
==== key_bind
-_WeeChat ≥ 0.3.6._
+_WeeChat ≥ 0.3.6, mis à jour dans la 1.8._
Ajouter de nouvelles associations de touches.
@@ -7237,6 +7237,8 @@ Prototype :
int weechat_key_bind (const char *context, struct t_hashtable *keys);
----
+:key_bind_quiet: __quiet
+
Paramètres :
* _context_ : contexte pour les touches :
@@ -7245,7 +7247,10 @@ Paramètres :
tampon)
** _cursor_ : mouvement libre du curseur à l'écran
** _mouse_ : touches pour les évènements de souris
-* _keys_ : table de hachage avec les associations de touches
+* _keys_ : table de hachage avec les associations de touches ; elle peut contenir
+ les clés spéciales suivantes :
+** _{key_bind_quiet}_: ne pas afficher les touches ajoutées dans le tampon _core_
+ _(WeeChat ≥ 1.8)_
Valeur de retour :
diff --git a/doc/it/weechat_plugin_api.it.adoc b/doc/it/weechat_plugin_api.it.adoc
index 8f70f1402..633f80998 100644
--- a/doc/it/weechat_plugin_api.it.adoc
+++ b/doc/it/weechat_plugin_api.it.adoc
@@ -7315,7 +7315,8 @@ Funzioni per le combinazioni dei tasti.
==== key_bind
-_WeeChat ≥ 0.3.6._
+// TRANSLATION MISSING
+_WeeChat ≥ 0.3.6, updated in 1.8._
Aggiunge una nuova combinazione tasto.
@@ -7331,6 +7332,8 @@ Prototipo:
int weechat_key_bind (const char *context, struct t_hashtable *keys);
----
+:key_bind_quiet: __quiet
+
Argomenti:
* _context_: contesto per i tasti:
@@ -7338,7 +7341,10 @@ Argomenti:
** _search_: contesto search (quando si cerca testo nel buffer)
** _cursor_: movimento libero del cursore sullo schermo
** _mouse_: tasti per gli eventi del mouse
-* _keys_: tabella hash con le combinazioni dei tasti
+// TRANSLATION MISSING
+* _keys_: hashtable with key bindings; it can contain following special keys:
+** _{key_bind_quiet}_: do not display the keys added in core buffer
+ _(WeeChat ≥ 1.8)_
Valore restituito:
diff --git a/doc/ja/weechat_plugin_api.ja.adoc b/doc/ja/weechat_plugin_api.ja.adoc
index feee8826f..9f260c953 100644
--- a/doc/ja/weechat_plugin_api.ja.adoc
+++ b/doc/ja/weechat_plugin_api.ja.adoc
@@ -7119,7 +7119,7 @@ elif rc == weechat.WEECHAT_CONFIG_OPTION_UNSET_ERROR:
==== key_bind
-_WeeChat バージョン 0.3.6 以上で利用可。_
+_WeeChat バージョン 0.3.6 以上で利用可、バージョン 1.8 で更新。_
新しいキー割り当てを追加。
@@ -7135,6 +7135,8 @@ _WeeChat バージョン 0.3.6 以上で利用可。_
int weechat_key_bind (const char *context, struct t_hashtable *keys);
----
+:key_bind_quiet: __quiet
+
引数:
* _context_: キーのコンテキスト:
@@ -7142,7 +7144,10 @@ int weechat_key_bind (const char *context, struct t_hashtable *keys);
** _search_: 検索コンテキスト (バッファ中のテキストを検索中)
** _cursor_: 画面上のカーソルを自由に移動
** _mouse_: マウスイベント用のキー
-* _keys_: キー割り当てを収めたハッシュテーブル
+// TRANSLATION MISSING
+* _keys_: hashtable with key bindings; it can contain following special keys:
+** _{key_bind_quiet}_: do not display the keys added in core buffer
+ _(WeeChat ≥ 1.8)_
戻り値: