diff --git a/po/cs.po b/po/cs.po index 425daad58..dfa5974ce 100644 --- a/po/cs.po +++ b/po/cs.po @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-10-27 08:26+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:48+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -507,9 +507,9 @@ msgstr "" "opatření)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "přidána %d nová klávesa" +msgstr[0] "přidána %d nová klávesa (kontext: \"%s\")" msgstr[1] "přidány %d nové klávesy (kontext: \"%s\")" msgstr[2] "přidáno %d nových kláves (kontext: \"%s\")" diff --git a/po/de.po b/po/de.po index 9648d3bf8..03a43974c 100644 --- a/po/de.po +++ b/po/de.po @@ -28,8 +28,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:30+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:49+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -500,9 +500,9 @@ msgstr "" "Tastenbelegung notwendig" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "(%d) neue Taste hinzugefügt" +msgstr[0] "(%d) neue Taste hinzugefügt (Kontext: \"%s\")" msgstr[1] "(%d) neue Tasten hinzugefügt (Kontext: \"%s\")" msgid "Stored layouts:" diff --git a/po/es.po b/po/es.po index 9dda4af8d..1bff8fff7 100644 --- a/po/es.po +++ b/po/es.po @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-10-27 08:26+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:49+0100\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" "Language: es\n" @@ -511,9 +511,9 @@ msgstr "" "atajos" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "%d nuevo atajo agregado" +msgstr[0] "%d nuevo atajo agregado (contexto: \"%s\")" msgstr[1] "%d nuevos atajos agregados (contexto: \"%s\")" msgid "Stored layouts:" diff --git a/po/fr.po b/po/fr.po index cd7ede5e1..a05c8955b 100644 --- a/po/fr.po +++ b/po/fr.po @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:31+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:49+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -488,7 +488,7 @@ msgstr "" "(raison de sécurité)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" msgstr[0] "%d nouvelle touche ajoutée (contexte : \"%s\")" msgstr[1] "%d nouvelles touches ajoutées (contexte : \"%s\")" diff --git a/po/hu.po b/po/hu.po index 3ee289ff7..b7171c230 100644 --- a/po/hu.po +++ b/po/hu.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:50+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" "Language: hu\n" @@ -493,11 +493,11 @@ msgstr "" "%s \"-yes\" paraméter megadása kötelező a billentyűparancsok " "visszaállításához (biztonsági okokból)\n" -#, fuzzy, c-format -msgid "%d new key added" +#, c-format +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "Nincs mellőzés megadva.\n" -msgstr[1] "Nincs mellőzés megadva.\n" +msgstr[0] "" +msgstr[1] "" #, fuzzy msgid "Stored layouts:" diff --git a/po/it.po b/po/it.po index 89345207e..9c74717e7 100644 --- a/po/it.po +++ b/po/it.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:50+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" "Language: it\n" @@ -496,7 +496,7 @@ msgstr "" "sicurezza)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" msgstr[0] "%d nuovo tasto aggiunto (contesto: \"%s\")" msgstr[1] "%d nuovi tasti aggiunti (contesto: \"%s\")" diff --git a/po/ja.po b/po/ja.po index bffcc118d..f93a0553e 100644 --- a/po/ja.po +++ b/po/ja.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-11-01 16:08+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:51+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -507,9 +507,9 @@ msgstr "" "由で)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "%d 個の新しいキーを追加しました (コンテキスト: \"%s\")" +msgstr[0] "" msgid "Stored layouts:" msgstr "保存されたレイアウト:" diff --git a/po/pl.po b/po/pl.po index 73cb51c0b..0761bf08a 100644 --- a/po/pl.po +++ b/po/pl.po @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:35+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:51+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: pl\n" @@ -486,9 +486,9 @@ msgstr "" "bezpieczeństwa)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "dodano %d nowy klawisz" +msgstr[0] "dodano %d nowy klawisz (kontekst: \"%s\")" msgstr[1] "dodano %d nowe klawisze (kontekst: \"%s\")" msgstr[2] "dodano %d nowych klawiszy (kontekst: \"%s\")" diff --git a/po/pt.po b/po/pt.po index 2cf3db442..f57746240 100644 --- a/po/pt.po +++ b/po/pt.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:51+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" "Language: pt\n" @@ -509,9 +509,9 @@ msgstr "" "de segurança)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "%d nova tecla adicionada" +msgstr[0] "%d nova tecla adicionada (contexto: \"%s\")" msgstr[1] "%d novas teclas adicionadas (contexto: \"%s\")" msgid "Stored layouts:" diff --git a/po/pt_BR.po b/po/pt_BR.po index 1af8afe35..ead229be6 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:36+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:51+0100\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" "Language: pt_BR\n" @@ -504,9 +504,9 @@ msgstr "" "de segurança)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "%d nova tecla adicionada" +msgstr[0] "%d nova tecla adicionada (context: \"%s\")" msgstr[1] "%d novas teclas adicionadas (context: \"%s\")" #, fuzzy diff --git a/po/ru.po b/po/ru.po index 6d429cee9..12753f366 100644 --- a/po/ru.po +++ b/po/ru.po @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:36+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:52+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" "Language: ru\n" @@ -504,12 +504,12 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)" msgstr "" "%s аргумент \"-yes\" необходим для сброса ключей (в целях безопасности)\n" -#, fuzzy, c-format -msgid "%d new key added" +#, c-format +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" -msgstr[0] "Игнорирования не заданы.\n" -msgstr[1] "Игнорирования не заданы.\n" -msgstr[2] "Игнорирования не заданы.\n" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" #, fuzzy msgid "Stored layouts:" diff --git a/po/sr.po b/po/sr.po index d04dd9f0f..cf7b476e0 100644 --- a/po/sr.po +++ b/po/sr.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:37+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:52+0100\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" "Language: sr\n" @@ -477,7 +477,7 @@ msgstr "" "%sЗа ресетовање тастера је неопходан аргумент „-yes” (из разлога безбедности)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" msgstr[0] "додат је %d нови тастер (контекст: „%s”)" msgstr[1] "додато је %d нова тастера (контекст: „%s”)" diff --git a/po/tr.po b/po/tr.po index 3782c3942..cef80b88e 100644 --- a/po/tr.po +++ b/po/tr.po @@ -23,8 +23,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" -"PO-Revision-Date: 2026-01-21 20:37+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" +"PO-Revision-Date: 2026-01-21 20:52+0100\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" "Language: tr\n" @@ -479,7 +479,7 @@ msgstr "" "%s\"-yes\" argümanı düğmelerin sıfırlanması için gerekli (güvenlik gerekçeli)" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" msgstr[0] "%d yeni düğme eklendi (bağlam: \"%s\")" msgstr[1] "%d yeni düğme eklendi (bağlam: \"%s\")" diff --git a/po/weechat.pot b/po/weechat.pot index 41ab01e8f..ecc60711e 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -23,7 +23,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2026-01-21 20:28+0100\n" +"POT-Creation-Date: 2026-01-21 20:45+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -465,7 +465,7 @@ msgid "%sArgument \"-yes\" is required for keys reset (security reason)" msgstr "" #, c-format -msgid "%d new key added" +msgid "%d new key added (context: \"%s\")" msgid_plural "%d new keys added (context: \"%s\")" msgstr[0] "" msgstr[1] "" diff --git a/src/core/core-command.c b/src/core/core-command.c index 1c87a0310..33b3c8188 100644 --- a/src/core/core-command.c +++ b/src/core/core-command.c @@ -4474,8 +4474,9 @@ COMMAND_CALLBACK(key) keys_added = (gui_keys_count[context] > old_keys_count) ? gui_keys_count[context] - old_keys_count : 0; gui_chat_printf (NULL, - NG_("%d new key added", "%d new keys added " - "(context: \"%s\")", keys_added), + NG_("%d new key added (context: \"%s\")", + "%d new keys added (context: \"%s\")", + keys_added), keys_added, gui_key_context_string[context]); }