From 4383fd73b5e20058a2e4e5936fc6cefce05e15fc Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 2 Jun 2009 15:10:15 +0200 Subject: [PATCH] Add note about alt+k for binding keys in /help key --- doc/en/autogen/user/weechat_commands.txt | 2 ++ doc/fr/autogen/user/weechat_commands.txt | 2 ++ po/cs.po | 8 ++++++-- po/de.po | 8 ++++++-- po/es.po | 8 ++++++-- po/fr.po | 17 +++++++++++++---- po/hu.po | 8 ++++++-- po/pl.po | 8 ++++++-- po/ru.po | 8 ++++++-- po/weechat.pot | 8 ++++++-- src/core/wee-command.c | 5 ++++- 11 files changed, 63 insertions(+), 19 deletions(-) diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index 0a09a1526..2c354e750 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -167,6 +167,8 @@ unbind: remove a key binding reset: restore bindings to the default values and delete ALL personal bindings (use carefully!) missing: add missing keys (using default bindings) + + When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line. ........................................ • *`/layout`* `[[save | apply | reset] [buffers | windows]]`:: diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt index bb29c29c6..a7d2f03bb 100644 --- a/doc/fr/autogen/user/weechat_commands.txt +++ b/doc/fr/autogen/user/weechat_commands.txt @@ -167,6 +167,8 @@ unbind: supprimer l'association à une touche reset: restaure les touches aux valeurs par défaut et supprime TOUTES les touches personnelles (utiliser avec précaution !) missing: ajoute les touches manquantes (en utilisant les touches par défaut) + + Lors de l'association d'une commande à une touche, il est recommandé d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à associer: cela insère le code de la touche dans la ligne de commande. ........................................ • *`/layout`* `[[save | apply | reset] [buffers | windows]]`:: diff --git a/po/cs.po b/po/cs.po index 741b8a6e1..9dc6d506c 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" @@ -977,7 +977,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" " klávesa: zobrazí nebo napojí klávesu na vnitřní funkci nebo příkaz " "(začínající \"/\")\n" diff --git a/po/de.po b/po/de.po index 10ca587f6..1c9bc3b4e 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: Thomas Schuetz \n" "Language-Team: weechat-dev \n" @@ -1002,7 +1002,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" " Taste: diese Taste anzeigen oder mit einer internen Funktion oder " "einem Befehl, beginnend mit \"/\", belegen\n" diff --git a/po/es.po b/po/es.po index 0b88a3142..7cc5e38b9 100644 --- a/po/es.po +++ b/po/es.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: Roberto González Cardenete \n" "Language-Team: weechat-dev \n" @@ -996,7 +996,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" " clave: ata esta clave a una función interna o a un comando (comenzando " "por \"/ \")\n" diff --git a/po/fr.po b/po/fr.po index eed4e9473..e16e10c13 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" -"PO-Revision-Date: 2009-05-28 16:34+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" +"PO-Revision-Date: 2009-06-02 15:06+0200\n" "Last-Translator: FlashCode \n" "Language-Team: weechat-dev \n" "MIME-Version: 1.0\n" @@ -1052,14 +1052,23 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" " bind: associer une commande à une touche ou afficher la commande associée " "à la touche\n" " unbind: supprimer l'association à une touche\n" " reset: restaure les touches aux valeurs par défaut et supprime TOUTES les " "touches personnelles (utiliser avec précaution !)\n" -"missing: ajoute les touches manquantes (en utilisant les touches par défaut)" +"missing: ajoute les touches manquantes (en utilisant les touches par " +"défaut)\n" +"\n" +"Lors de l'association d'une commande à une touche, il est recommandé " +"d'utiliser la touche alt+k (ou Echap puis k), et puis de presser la touche à " +"associer: cela insère le code de la touche dans la ligne de commande." msgid "save/apply/reset layout for buffers and windows" msgstr "sauve/applique/réinitialise la disposition des tampons et fenêtres" diff --git a/po/hu.po b/po/hu.po index 66b18972a..e30a6640a 100644 --- a/po/hu.po +++ b/po/hu.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1018,7 +1018,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" "billentyű: billentyű hozzárendelése valamely belső funkcióhoz vagy \"/\" " "jellel kezdődő parancshoz\n" diff --git a/po/pl.po b/po/pl.po index d689d62fb..93caa88bb 100644 --- a/po/pl.po +++ b/po/pl.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: \n" "Language-Team: Polish\n" @@ -913,7 +913,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" msgid "save/apply/reset layout for buffers and windows" diff --git a/po/ru.po b/po/ru.po index c7f195cf7..f87591e24 100644 --- a/po/ru.po +++ b/po/ru.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat 0.3.0-dev\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: 2009-05-11 13:02+0200\n" "Last-Translator: Pavel Shevchuk \n" "Language-Team: weechat-dev \n" @@ -1013,7 +1013,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" " клавиша: отобразить или назначить этой клавише функцию или команду " "(начинающуюся на \"/\")\n" diff --git a/po/weechat.pot b/po/weechat.pot index 591bc6c25..d3aad87f1 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2009-05-28 16:33+0200\n" +"POT-Creation-Date: 2009-06-02 15:05+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -881,7 +881,11 @@ msgid "" " unbind: remove a key binding\n" " reset: restore bindings to the default values and delete ALL personal " "bindings (use carefully!)\n" -"missing: add missing keys (using default bindings)" +"missing: add missing keys (using default bindings)\n" +"\n" +"When binding a command to a key, it is recommended to use key alt+k (or Esc " +"then k), and then press the key to bind: this will insert key code in " +"command line." msgstr "" msgid "save/apply/reset layout for buffers and windows" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index 02cb42ecc..2f540516e 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -4037,7 +4037,10 @@ command_init () " unbind: remove a key binding\n" " reset: restore bindings to the default values and " "delete ALL personal bindings (use carefully!)\n" - "missing: add missing keys (using default bindings)"), + "missing: add missing keys (using default bindings)\n\n" + "When binding a command to a key, it is recommended to " + "use key alt+k (or Esc then k), and then press the key " + "to bind: this will insert key code in command line."), "bind %(keys_codes) %(commands)" " || unbind %(keys_codes)" " || reset"