From 0f1cee08bf12aab377417d6d7077a4f5abdd08a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 26 Apr 2020 09:15:23 +0200 Subject: [PATCH] relay: fix error message for an invalid buffer received in a command (weechat protocol) --- po/cs.po | 4 ++-- po/de.po | 6 +++--- po/es.po | 4 ++-- po/fr.po | 8 ++++---- po/hu.po | 4 ++-- po/it.po | 4 ++-- po/ja.po | 6 +++--- po/pl.po | 6 +++--- po/pt.po | 6 +++--- po/pt_BR.po | 4 ++-- po/ru.po | 4 ++-- po/tr.po | 4 ++-- po/weechat.pot | 4 ++-- src/plugins/relay/weechat/relay-weechat-protocol.c | 6 ++---- 14 files changed, 34 insertions(+), 36 deletions(-) diff --git a/po/cs.po b/po/cs.po index 3f3c45da3..f5520cc8f 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -11301,7 +11301,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%sChyba: nemohu odpojit klávesu \"%s\"" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s%s: nekorektní znaková sada: \"%s\"" #, fuzzy, c-format diff --git a/po/de.po b/po/de.po index 240e9aaf0..7506b3012 100644 --- a/po/de.po +++ b/po/de.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-19 12:01+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -13313,8 +13313,8 @@ msgstr "%s%s: Nicht genug Speicher um an einem neuen Port zu lauschen" msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s: ungültiger Pointer inm hdata-Pfad: \"%s\"" -#, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +#, fuzzy, c-format +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s: ungültiger Buffer-Pointer in Nachricht: \"%s %s\"" #, c-format diff --git a/po/es.po b/po/es.po index c4024379c..52724a89d 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" @@ -11644,7 +11644,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%sError: no se pudo deshacer el atajo \"%s\"" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s%s: set de caracteres inválido: \"%s\"" #, c-format diff --git a/po/fr.po b/po/fr.po index 8fb4d92b6..140bf8aef 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: 2020-04-24 11:27+0200\n" -"PO-Revision-Date: 2020-04-24 22:36+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" +"PO-Revision-Date: 2020-04-26 09:15+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -13034,8 +13034,8 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s : pointeur invalide dans le chemin hdata : \"%s\"" #, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" -msgstr "%s : pointeur de tampon invalide dans le message : \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" +msgstr "%s : tampon invalide dans le message : \"%s %s\"" #, c-format msgid "%s%s: failed to execute command \"%s\" for client %s%s%s" diff --git a/po/hu.po b/po/hu.po index 6ef3a2186..8c7309030 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -10633,7 +10633,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s nem sikerült a(z) \"%s\" billentyűparancsot visszavonni\n" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" #, fuzzy, c-format diff --git a/po/it.po b/po/it.po index 253d40c64..01a55a714 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -11854,7 +11854,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%sErrore: impossibile rimuovere la combinazione del tasto \"%s\"" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s%s: set di caratter invalido: \"%s\"" #, c-format diff --git a/po/ja.po b/po/ja.po index 10a99c9c9..c5cabc630 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -12737,8 +12737,8 @@ msgstr "%s%s: za mało pamięci do nasłuchu na nowym porcie" msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s: nieprawidłowy wskaźnik w ścieżce hdata: \"%s\"" -#, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +#, fuzzy, c-format +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s: nieprawidłowy wskaźnik bufora w wiadomości: \"%s %s\"" #, c-format diff --git a/po/pt.po b/po/pt.po index fdabe8c61..e8ff781de 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -12316,8 +12316,8 @@ msgstr "%s%s: memória insuficiente para escutar nova porta" msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s: ponteiro inválido no caminho de hdata: \"%s\"" -#, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +#, fuzzy, c-format +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s: ponteiro para buffer inválido na mensagem \"%s %s\"" #, c-format diff --git a/po/pt_BR.po b/po/pt_BR.po index e414ee178..4dd85de5a 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" @@ -11092,7 +11092,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%sErro: não foi possível desassociar a tecla de atalho \"%s\"" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%s%s: charset inválido: \"%s\"" #, fuzzy, c-format diff --git a/po/ru.po b/po/ru.po index a14f23b7e..06aa91dcf 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2020-04-18 11:34+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -10669,7 +10669,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%s не могу отвязать клавишу \"%s\"\n" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "Не могу записать лог-файл \"%s\"\n" #, fuzzy, c-format diff --git a/po/tr.po b/po/tr.po index 56cc9d9a4..1768ac238 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2019-11-03 08:38+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -9708,7 +9708,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "%sHata: dosya \"%s\" oluşturulamaz" #, fuzzy, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "%sHata: dosya \"%s\" oluşturulamaz" #, c-format diff --git a/po/weechat.pot b/po/weechat.pot index 494d66f62..7e9141ffa 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: 2020-04-24 11:27+0200\n" +"POT-Creation-Date: 2020-04-26 09:14+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -9572,7 +9572,7 @@ msgid "%s: invalid pointer in hdata path: \"%s\"" msgstr "" #, c-format -msgid "%s: invalid buffer pointer in message: \"%s %s\"" +msgid "%s: invalid buffer in message: \"%s %s\"" msgstr "" #, c-format diff --git a/src/plugins/relay/weechat/relay-weechat-protocol.c b/src/plugins/relay/weechat/relay-weechat-protocol.c index 9cd42564a..91abec80b 100644 --- a/src/plugins/relay/weechat/relay-weechat-protocol.c +++ b/src/plugins/relay/weechat/relay-weechat-protocol.c @@ -571,8 +571,7 @@ RELAY_WEECHAT_PROTOCOL_CALLBACK(nicklist) if (weechat_relay_plugin->debug >= 1) { weechat_printf (NULL, - _("%s: invalid buffer pointer in message: " - "\"%s %s\""), + _("%s: invalid buffer in message: \"%s %s\""), RELAY_PLUGIN_NAME, command, argv_eol[0]); @@ -616,8 +615,7 @@ RELAY_WEECHAT_PROTOCOL_CALLBACK(input) if (weechat_relay_plugin->debug >= 1) { weechat_printf (NULL, - _("%s: invalid buffer pointer in message: " - "\"%s %s\""), + _("%s: invalid buffer in message: \"%s %s\""), RELAY_PLUGIN_NAME, command, argv[0]);