diff --git a/po/cs.po b/po/cs.po index 478ac3b02..0bada6c17 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -4130,9 +4130,11 @@ msgstr "%sChyba odesílání signálu %d na pid %d: %s" msgid "%sYou can not write text in this buffer" msgstr "%sDo tohoto bufferu nemůžete zapisovat text" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sBarva \"%s\" není definovávána v paletě" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/de.po b/po/de.po index 365f44257..69b2dceae 100644 --- a/po/de.po +++ b/po/de.po @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-03-09 19:33+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de\n" @@ -4982,8 +4982,10 @@ msgid "%sYou can not write text in this buffer" msgstr "%sIn diesen Buffer kann nicht geschrieben werden" #, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "debug: Befehl \"%s\" ist in diesem Kontext nicht erlaubt" +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/es.po b/po/es.po index 1f1d4e6b8..14eb960eb 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" "Language: es\n" @@ -4323,9 +4323,11 @@ msgstr "" msgid "%sYou can not write text in this buffer" msgstr "%sNo es posible escribir texto en este buffer" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sColor \"%s\" no está definido en la paleta" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/fr.po b/po/fr.po index fb149556e..472d4b95d 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-03-11 20:48+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -4853,8 +4853,12 @@ msgid "%sYou can not write text in this buffer" msgstr "%sVous ne pouvez pas écrire de texte dans ce tampon" #, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "debug : la commande \"%s\" n'est pas autorisée dans ce contexte" +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" +"attention : la commande \"%s\" n'est pas autorisée actuellement (commande : " +"\"%s\", tampon : \"%s\")" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/hu.po b/po/hu.po index a406ea182..7411b6323 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: 2019-03-11 20:47+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" "PO-Revision-Date: 2019-02-28 20:18+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -3698,7 +3698,9 @@ msgid "%sYou can not write text in this buffer" msgstr "%s az utolsó puffert nem lehet bezárni\n" #, c-format -msgid "debug: command \"%s\" is not allowed in this context" +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" msgstr "" #, fuzzy, c-format diff --git a/po/it.po b/po/it.po index f12987c50..3abdee94b 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" "Language: it\n" @@ -4438,9 +4438,11 @@ msgstr "" msgid "%sYou can not write text in this buffer" msgstr "%sNon è possibile scrivere del testo in questo buffer" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sColore \"%s\" non definito nella tavolozza" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/ja.po b/po/ja.po index 96202770c..da8fe3fb5 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -4642,9 +4642,11 @@ msgstr "%sシグナル %d を pid %d に送信中にエラー: %s" msgid "%sYou can not write text in this buffer" msgstr "%sこのバッファに書き込むことは出来ません" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sコマンド \"/%s eval\" はまだ実装されていません" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/pl.po b/po/pl.po index afe091c0f..664876959 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: Polish \n" "Language: pl\n" @@ -4750,9 +4750,11 @@ msgstr "%sBłąd wysyłania sygnału %d do pid %d: %s" msgid "%sYou can not write text in this buffer" msgstr "%s nie możesz nic pisać w tym buforze" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sKomenda \"/%s eval\" nie jest jeszcze zaimplementowana" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/pt.po b/po/pt.po index 7e1cf749b..61720790a 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" "Language: pt\n" @@ -4690,9 +4690,11 @@ msgstr "%sErro ao enviar o sinal %d ao pid %d: %s" msgid "%sYou can not write text in this buffer" msgstr "%sNão pode escrever texto neste buffer" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sA cor \"%s\" não está definida na paleta" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/pt_BR.po b/po/pt_BR.po index 70335cfaa..e452cbdac 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:53+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" "Language: pt_BR\n" @@ -4320,9 +4320,11 @@ msgstr "" msgid "%sYou can not write text in this buffer" msgstr "" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sCor \"%s\" não está definida na palheta" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/ru.po b/po/ru.po index d9a776f81..941886855 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: 2019-03-11 20:47+0100\n" -"PO-Revision-Date: 2019-02-28 20:19+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" +"PO-Revision-Date: 2019-03-11 21:10+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" "Language: ru\n" @@ -3726,9 +3726,11 @@ msgstr "" msgid "%sYou can not write text in this buffer" msgstr "%s невозможно закрыть единственный буфер\n" -#, fuzzy, c-format -msgid "debug: command \"%s\" is not allowed in this context" -msgstr "%sЦвет \"%s\" не определён в палитре" +#, c-format +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" +msgstr "" #, fuzzy, c-format msgid "%sError: unknown command \"%s\" (type /help for help)" diff --git a/po/tr.po b/po/tr.po index 87dea136c..9f9804836 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: 2019-03-11 20:47+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" "PO-Revision-Date: 2019-01-29 21:05+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -3354,7 +3354,9 @@ msgid "%sYou can not write text in this buffer" msgstr "" #, c-format -msgid "debug: command \"%s\" is not allowed in this context" +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" msgstr "" #, c-format diff --git a/po/weechat.pot b/po/weechat.pot index 5c71bd87d..689f4801d 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: 2019-03-11 20:47+0100\n" +"POT-Creation-Date: 2019-03-11 20:59+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -3344,7 +3344,9 @@ msgid "%sYou can not write text in this buffer" msgstr "" #, c-format -msgid "debug: command \"%s\" is not allowed in this context" +msgid "" +"warning: the command \"%s\" is not currently allowed (command: \"%s\", " +"buffer: \"%s\")" msgstr "" #, c-format diff --git a/src/core/wee-input.c b/src/core/wee-input.c index 00c7edc3c..0ab2357ee 100644 --- a/src/core/wee-input.c +++ b/src/core/wee-input.c @@ -115,10 +115,13 @@ input_exec_command (struct t_gui_buffer *buffer, { if (weechat_debug_core >= 1) { - gui_chat_printf_date_tags (NULL, 0, GUI_FILTER_TAG_NO_FILTER, - _("debug: command \"%s\" is not " - "allowed in this context"), - command_name); + gui_chat_printf_date_tags ( + NULL, 0, "command_forbidden," GUI_FILTER_TAG_NO_FILTER, + _("warning: the command \"%s\" is not currently allowed " + "(command: \"%s\", buffer: \"%s\")"), + command_name, + command, + buffer->full_name); } rc = WEECHAT_RC_ERROR; goto end;