From 7b6c9328be81cc521db046ce706c36bc94cd3f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 5 Jul 2023 21:22:54 +0200 Subject: [PATCH] core: add quotes around key names in /help key --- po/cs.po | 6 +- po/de.po | 226 +++++------------------------------------ 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, 66 insertions(+), 246 deletions(-) diff --git a/po/cs.po b/po/cs.po index fa74308c5..6585f2ec7 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 22:00+0200\n" +"POT-Creation-Date: 2023-07-05 21:22+0200\n" "PO-Revision-Date: 2023-06-26 21:34+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 7bcbedaa7..cef60fb9a 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 22:00+0200\n" -"PO-Revision-Date: 2023-07-05 20:29+0200\n" +"POT-Creation-Date: 2023-07-05 21:22+0200\n" +"PO-Revision-Date: 2023-07-05 21:23+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -2515,70 +2515,6 @@ msgstr "" "unbindctxt || reset || resetctxt || " "resetall -yes [] || missing [] || legacy [...]" -#| 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" @@ -2605,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" @@ -2679,10 +2615,10 @@ 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 Strg-H sein oder" -"Strg-?, abhängig von Ihrem Terminal und anderen Einstellungen)\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" @@ -6992,20 +6928,15 @@ msgstr "" "Variable, die verwendet werden kann, um zwischen verschiedenen buflist-" "Elementen zu unterscheiden, zum Beispiel \"${bar_item.name}\")" -#| msgid "" -#| "number of buflist bar items that can be used; the item names are: " -#| "\"buflist\", \"buflist2\", \"buflist3\"; be careful, using more than one " -#| "bar item slows down the display of buffers list" msgid "" "number of buflist bar items that can be used; the item names are: " "\"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" and \"buflist5\"; be " "careful, using more than one bar item slows down the display of buffers list" msgstr "" "Anzahl der Buflist-Bar-Items, die verwendet werden können; die Item-Namen " -"sind: \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" und \"buflist5\";" -" Seien Sie vorsichtig, wenn " -"Sie mehr als ein Bar-Item verwenden, wird die Anzeige der Bufferliste " -"verlangsamt" +"sind: \"buflist\", \"buflist2\", \"buflist3\", \"buflist4\" und " +"\"buflist5\"; Seien Sie vorsichtig, wenn Sie mehr als ein Bar-Item " +"verwenden, wird die Anzeige der Bufferliste verlangsamt" msgid "" "format of each line with a buffer (note: content is evaluated, see /help " @@ -15959,18 +15890,15 @@ msgstr " %s%s%s: %s%s%s%s%s%s%s%s%s%s%s%s%s" msgid "No trigger defined" msgstr "Kein Trigger definiert" -#| msgid "Triggers enabled" msgid "Triggers enabled:" msgstr "Trigger aktiviert:" -#| msgid "default: " msgid "default" msgstr "Standard" msgid "custom" msgstr "benutzerdefiniert" -#| msgid "Triggers enabled" msgid "No triggers enabled" msgstr "Keine Trigger aktiviert" @@ -16117,19 +16045,10 @@ msgstr "" msgid "manage triggers, the Swiss Army knife for WeeChat" msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat" -#| msgid "" -#| "list|listfull|listdefault || add|addoff|addreplace " -#| "[\"\" [\"\" [\"\" [\"\" [\"\" [\"\"]]]]]] " -#| "|| addinput [] || input|output|recreate || set " -#| "