From 9a8010eead5b5bc76b33a0195dbe9c642fa0c672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 20 Nov 2024 18:23:49 +0100 Subject: [PATCH] core: fix translation of keys in options This fixes French description of key options in docs. --- po/cs.po | 8 ++------ po/de.po | 13 ++----------- po/es.po | 9 ++------- po/fr.po | 8 ++------ po/hu.po | 8 ++------ po/it.po | 9 ++------- po/ja.po | 9 ++------- po/pl.po | 8 ++------ po/pt.po | 9 ++------- po/pt_BR.po | 9 ++------- po/ru.po | 8 ++------ po/sr.po | 22 +++++++++------------- po/tr.po | 9 ++------- po/weechat.pot | 6 +----- src/gui/gui-key.c | 2 +- 15 files changed, 35 insertions(+), 102 deletions(-) diff --git a/po/cs.po b/po/cs.po index e99845853..e62f740fc 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:05+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -6415,10 +6415,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s%s: nedostatek paměti pro regulární výraz" -#, fuzzy, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "Žádné klávesové zkratky nejsou definovány pro prostředí \"%s\"" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/de.po b/po/de.po index 9191b8454..b90cd9af7 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: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-11-14 09:53+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -1490,11 +1490,6 @@ msgid "debug functions" msgstr "Debug-Funktionen" #. TRANSLATORS: only text between angle brackets (eg: "") may be translated -#| msgid "" -#| "list || set || dump|hooks [] || buffer|certs|" -#| "color|dirs|infolists|key|libs|memory|tags|term|url|windows || callbacks " -#| "[] || mouse|cursor [verbose] || hdata [free] || time " -#| " || unicode " msgid "" "list || set || dump [] || hooks [ " "[...]] || buffer|certs|color|dirs|infolists|key|libs|memory|tags|" @@ -7247,10 +7242,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "ungültiger regulärer Ausdruck (%s)" -#, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "Tastenbelegung \"%s\" in Kontext: \"%s\"" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/es.po b/po/es.po index cee2d355e..17d5f12cf 100644 --- a/po/es.po +++ b/po/es.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:07+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" "Language: es\n" @@ -6594,11 +6594,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s%s: \"%s\" no es una expresión regular válida (%s)" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "Atajo \"%s\" deshecho (contexto: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/fr.po b/po/fr.po index 7c9bbd27f..0b0b77cd2 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: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-11-12 22:19+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -7099,10 +7099,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "expression régulière invalide (%s)" -#, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "touche \"%s\" dans le contexte \"%s\"" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/hu.po b/po/hu.po index b9e056e2d..5355b3506 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:09+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" "Language: hu\n" @@ -6070,10 +6070,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s a(z) \"%s\" érvénytelen reguláris kifejezés (%s)\n" -#, fuzzy, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "A(z) \"%s\" billentyűparancs visszavonva\n" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/it.po b/po/it.po index 5ae7f2d12..eda38d918 100644 --- a/po/it.po +++ b/po/it.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:10+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" "Language: it\n" @@ -6543,11 +6543,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s%s: \"%s\" non è una espressione regolare valida (%s)" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "Tasto \"%s\" non associato (contesto: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/ja.po b/po/ja.po index d09772dc9..bd9bdb265 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:11+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -6752,11 +6752,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "不正な正規表現 (%s)" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "キー \"%s\" の割り当て解除 (コンテキスト: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/pl.po b/po/pl.po index 4eec5ee6f..361403738 100644 --- a/po/pl.po +++ b/po/pl.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-11-03 09:44+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: pl\n" @@ -7103,10 +7103,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "nieprawidłowe wyrażenie regularne (%s)" -#, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "klawisz \"%s\" w kontekście \"%s\"" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/pt.po b/po/pt.po index beb009d73..6c816f720 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:12+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" "Language: pt\n" @@ -6804,11 +6804,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "expressão regular inválida (%s)" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "Tecla \"%s\" removida (contexto: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/pt_BR.po b/po/pt_BR.po index fd2fcd913..4abfe8be2 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:12+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" "Language: pt_BR\n" @@ -6446,11 +6446,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s%s: erro ao compilar expressão regular \"%s\"" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "Tecla \"%s\" desassociada (contexto: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/ru.po b/po/ru.po index 7e408504d..e7781276a 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:14+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" "Language: ru\n" @@ -6111,10 +6111,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "%s \"%s\" не является регулярным выражением (%s)\n" -#, fuzzy, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "Клавиша \"%s\" не привязана\n" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/sr.po b/po/sr.po index 06b534133..f43109dcd 100644 --- a/po/sr.po +++ b/po/sr.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-11-15 14:34+0400\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" "Language: sr\n" @@ -6495,8 +6495,8 @@ msgstr "" " -P, --plugins <додаци> приликом покретања се учитавају само ови додаци\n" " (погледајте /help weechat.plugin.autoload)\n" " -r, --run-command <ком> покреће команд(у/е) након покретања;\n" -" можете да раздвојите више команди са тачка " -"запета и оне се израчунавају,\n" +" можете да раздвојите више команди са тачка запета " +"и оне се израчунавају,\n" " ова опција може да се зада више пута\n" " -s, --no-script приликом учитавања се не учитавају никакве " "скрипте\n" @@ -6879,10 +6879,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "неважећи регуларни израз (%s)" -#, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "тастер „%s” у контексту „%s”" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" @@ -10086,8 +10082,8 @@ msgid "" "value \"*\" doesn't filter results" msgstr "" "рег_изр: POSIX проширени регуларни израз који се користи за филтрирање " -"резултата (без разликовања величине слова, може да почне са „(?-i)” па ће " -"се онда правити разлика); специјална вредност „*” не филтрира резултате" +"резултата (без разликовања величине слова, може да почне са „(?-i)” па ће се " +"онда правити разлика); специјална вредност „*” не филтрира резултате" msgid "raw[-join]: join the channel on the selected line" msgstr "raw[-join]: приступа каналу на изабраној линији" @@ -15569,7 +15565,8 @@ msgstr "" #, c-format msgid "remote[%s]: reconnecting to remote relay in %d %s, %d %s" -msgstr "удаљени[%s]: поновно успостављање везе са удаљеним релејем за %d %s, %d %s" +msgstr "" +"удаљени[%s]: поновно успостављање везе са удаљеним релејем за %d %s, %d %s" #, c-format msgid "remote[%s]: reconnecting to remote relay in %d %s" @@ -15806,8 +15803,7 @@ msgstr "%s%s: грешка при преузимању скрипте „%s”: #, c-format msgid "" "%s: script \"%s\" cannot be installed because plugin \"%s\" is not loaded" -msgstr "" -"%s: скрипта „%s” не може да се инсталира јер није учитан додатак „%s”" +msgstr "%s: скрипта „%s” не може да се инсталира јер није учитан додатак „%s”" #, c-format msgid "%s: downloading script \"%s\"..." diff --git a/po/tr.po b/po/tr.po index d945461c2..66a63a9a2 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2024-11-12 22:18+0100\n" -"PO-Revision-Date: 2024-10-31 18:15+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" +"PO-Revision-Date: 2024-11-20 18:17+0100\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" "Language: tr\n" @@ -6838,11 +6838,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "geçersiz düzenli ifade (%s)" -#, fuzzy, c-format -#| msgid "Key \"%s\" unbound (context: \"%s\")" -msgid "key \"%s\" in context \"%s\"" -msgstr "\"%s\" düğmesi bağıntılı değil (bağlam: \"%s\")" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/po/weechat.pot b/po/weechat.pot index 18f3153db..9e3e9918b 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: 2024-11-12 22:18+0100\n" +"POT-Creation-Date: 2024-11-20 16:48+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -5652,10 +5652,6 @@ msgstr "" msgid "invalid regular expression (%s)" msgstr "" -#, c-format -msgid "key \"%s\" in context \"%s\"" -msgstr "" - #, c-format msgid "" "%sInvalid key for mouse context \"%s\": it must start with \"@area\" (see /" diff --git a/src/gui/gui-key.c b/src/gui/gui-key.c index d7823c45a..6eb74d512 100644 --- a/src/gui/gui-key.c +++ b/src/gui/gui-key.c @@ -1439,7 +1439,7 @@ gui_key_new_option (int context, const char *name, const char *value) else { snprintf (str_description, sizeof (str_description), - _("key \"%s\" in context \"%s\""), + "\"%s\" (%s)", name, gui_key_context_string[context]); ptr_key = gui_key_search (gui_default_keys[context], name);