From 6e7fe9604635ca4a3f002334fd6e0563313ba634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 5 Jul 2023 21:25:58 +0200 Subject: [PATCH] core: add quotes around key names in /help key --- po/cs.po | 6 ++-- po/de.po | 78 +++++------------------------------------- po/es.po | 6 ++-- po/fr.po | 12 +++---- po/hu.po | 6 ++-- po/it.po | 6 ++-- po/ja.po | 6 ++-- po/pl.po | 6 ++-- po/pt.po | 6 ++-- po/pt_BR.po | 6 ++-- po/ru.po | 6 ++-- po/sr.po | 6 ++-- po/tr.po | 6 ++-- po/weechat.pot | 6 ++-- src/core/wee-command.c | 2 +- 15 files changed, 52 insertions(+), 112 deletions(-) diff --git a/po/cs.po b/po/cs.po index 555b01b0b..e19795df9 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-25 00:48+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -2044,8 +2044,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/de.po b/po/de.po index bd11a72cb..4bfcea411 100644 --- a/po/de.po +++ b/po/de.po @@ -26,8 +26,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" -"PO-Revision-Date: 2023-06-23 07:41+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" +"PO-Revision-Date: 2023-07-05 21:25+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -2515,71 +2515,6 @@ msgstr "" "unbindctxt || reset || resetctxt || " "resetall -yes [] || missing [] || legacy [...]" -#, fuzzy -#| msgid "" -#| " list: list all current keys\n" -#| "listdefault: list default keys\n" -#| " listdiff: list differences between current and default keys (keys " -#| "added, redefined or deleted)\n" -#| " context: name of context (\"default\" or \"search\")\n" -#| " bind: bind a command to a key or display command bound to key (for " -#| "context \"default\")\n" -#| " bindctxt: bind a command to a key or display command bound to key, for " -#| "given context\n" -#| " command: command (many commands can be separated by semicolons)\n" -#| " unbind: remove a key binding (for context \"default\")\n" -#| " unbindctxt: remove a key binding for given context\n" -#| " reset: reset a key to default binding (for context \"default\")\n" -#| " resetctxt: reset a key to default binding, for given context\n" -#| " resetall: restore bindings to the default values and delete ALL " -#| "personal bindings (use carefully!)\n" -#| " missing: add missing keys (using default bindings), useful after " -#| "installing new WeeChat version\n" -#| " legacy: display new name for legacy keys\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 name in " -#| "command line.\n" -#| "\n" -#| "Modifiers allowed (in this order when multiple are used):\n" -#| " meta- (alt key)\n" -#| " ctrl- (control key)\n" -#| " shift- (shift key, can only be used with key names below)\n" -#| "\n" -#| "Key names allowed: f0 to f20, home, insert, delete, end, backspace, pgup, " -#| "pgdn, up, down, right, left, tab, return, comma, space.\n" -#| "\n" -#| "Combo of keys must be separated by a comma.\n" -#| "\n" -#| "For context \"mouse\" (possible in context \"cursor\" too), key has " -#| "format: \"@area:key\" or \"@area1>area2:key\" where area can be:\n" -#| " *: any area on screen\n" -#| " chat: chat area (any buffer)\n" -#| " chat(xxx): chat area for buffer with name \"xxx\" (full name including " -#| "plugin)\n" -#| " bar(*): any bar\n" -#| " bar(xxx): bar \"xxx\"\n" -#| " item(*): any bar item\n" -#| " item(xxx): bar item \"xxx\"\n" -#| "Wildcard \"*\" is allowed in key to match many mouse events.\n" -#| "A special value for command with format \"hsignal:name\" can be used for " -#| "context mouse, this will send the hsignal \"name\" with the focus " -#| "hashtable as argument.\n" -#| "Another special value \"-\" can be used to disable key (it will be " -#| "ignored when looking for keys).\n" -#| "\n" -#| "Examples:\n" -#| " key alt-r to jump to #weechat IRC channel:\n" -#| " /key bind meta-r /buffer #weechat\n" -#| " restore default binding for key alt-r:\n" -#| " /key reset meta-r\n" -#| " key meta-v then f1 to run /help:\n" -#| " /key bind meta-v,f1 /help\n" -#| " key \"tab\" to stop search in buffer:\n" -#| " /key bindctxt search tab /input search_stop\n" -#| " middle button of mouse on a nick to retrieve info on nick:\n" -#| " /key bindctxt mouse @item(buffer_nicklist):button3 /msg nickserv info " -#| "${nick}" msgid "" " list: list all current keys\n" "listdefault: list default keys\n" @@ -2606,8 +2541,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" @@ -2680,6 +2615,11 @@ msgstr "" "damit die zu belegende Taste zu ermitteln. Durch diesen Schritt wird der " "benötigte Tasten-Code in die Befehlszeile übernommen.\n" "\n" +"Für einige Tasten müssen Sie möglicherweise /debug key verwenden. Dadurch " +"wird der Wert des Rohschlüssels angezeigt, der verwendet werden kann (zum " +"Beispiel könnte die Taste Strg+Rücktaste \"ctrl-H\" sein \"ctrl-?\", " +"abhängig von Ihrem Terminal und anderen Einstellungen).\n" +"\n" "Zulässige Modifikatortasten (in dieser Reihenfolge, wenn mehrere verwendet " "werden):\n" " meta- (Alt-Taste)\n" diff --git a/po/es.po b/po/es.po index 65c5aa474..fac85576d 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" @@ -2538,8 +2538,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/fr.po b/po/fr.po index c7417e7cb..d479d0d9c 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" -"PO-Revision-Date: 2023-07-04 18:39+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" +"PO-Revision-Date: 2023-07-05 21:25+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -2492,8 +2492,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" @@ -2564,8 +2564,8 @@ msgstr "" "\n" "Pour certaines touches vous pourriez avoir besoin d'utiliser /debug key, " "cela affiche le code brut de la touche qui peut être utilisé (par exemple " -"ctrl+backspace pourrait être ctrl-h ou ctrl-?, selon votre terminal et " -"d'autres paramètres).\n" +"ctrl+backspace pourrait être \"ctrl-h\" ou \"ctrl-?\", selon votre terminal " +"et d'autres paramètres).\n" "\n" "Modificateurs autorisés (dans cet ordre lorsque plusieurs sont utilisés) :\n" " meta- (touche alt)\n" diff --git a/po/hu.po b/po/hu.po index 555de6e14..18668df0b 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -1869,8 +1869,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/it.po b/po/it.po index 97f159cdc..4667fb20e 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -2126,8 +2126,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/ja.po b/po/ja.po index 07bdcc212..90922bebb 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -2839,8 +2839,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/pt.po b/po/pt.po index 1feb19885..fc7827788 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -2500,8 +2500,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index 8eb00a46d..740f42c1d 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -2203,8 +2203,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/ru.po b/po/ru.po index 655a8247c..6e0aa7ede 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -1890,8 +1890,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/sr.po b/po/sr.po index 0ae2b4a7c..d13591e15 100644 --- a/po/sr.po +++ b/po/sr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" @@ -2515,8 +2515,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/tr.po b/po/tr.po index 077a4d3c2..ea553c741 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" @@ -2537,8 +2537,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/po/weechat.pot b/po/weechat.pot index 4b086289d..8ce6562f3 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-04 18:38+0200\n" +"POT-Creation-Date: 2023-07-05 21:24+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -1727,8 +1727,8 @@ msgid "" "command line.\n" "\n" "For some keys you might need to use /debug key, this displays the raw key " -"code that can be used (for example the key ctrl+backspace could be ctrl-h or " -"ctrl-?, depending on your terminal and other settings).\n" +"code that can be used (for example the key ctrl+backspace could be \"ctrl-" +"h\" or \"ctrl-?\", depending on your terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n" " meta- (alt key)\n" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index bd7b7767a..6f5869866 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -8524,7 +8524,7 @@ command_init () "\n" "For some keys you might need to use /debug key, this displays " "the raw key code that can be used (for example the key " - "ctrl+backspace could be ctrl-h or ctrl-?, depending on your " + "ctrl+backspace could be \"ctrl-h\" or \"ctrl-?\", depending on your " "terminal and other settings).\n" "\n" "Modifiers allowed (in this order when multiple are used):\n"