diff options
-rw-r--r-- | po/cs.po | 8 | ||||
-rw-r--r-- | po/de.po | 8 | ||||
-rw-r--r-- | po/es.po | 8 | ||||
-rw-r--r-- | po/fr.po | 12 | ||||
-rw-r--r-- | po/hu.po | 8 | ||||
-rw-r--r-- | po/it.po | 8 | ||||
-rw-r--r-- | po/ja.po | 8 | ||||
-rw-r--r-- | po/pl.po | 8 | ||||
-rw-r--r-- | po/pt.po | 8 | ||||
-rw-r--r-- | po/pt_BR.po | 8 | ||||
-rw-r--r-- | po/ru.po | 8 | ||||
-rw-r--r-- | po/sr.po | 8 | ||||
-rw-r--r-- | po/tr.po | 8 | ||||
-rw-r--r-- | po/weechat.pot | 8 | ||||
-rw-r--r-- | src/gui/gui-buffer.c | 13 |
15 files changed, 114 insertions, 15 deletions
@@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5084,6 +5084,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "" "maximální počet navštívených bufferů uchovaných v paměti (0 = nekonečně)" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sChyba: je možné spojovat pouze bufferz s formátovaným obsahem" @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-04-13 20:09+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German - Germany <weechatter@arcor.de>\n" @@ -6309,6 +6309,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sMaximale Anzahl an Buffern erreicht (%d)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sEs ist nur möglich Buffer mit formatiertem Inhalt zusammenzufügen" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5697,6 +5697,12 @@ msgstr "%sError: un buffer con el mismo nombre (%s) ya existe" msgid "%sMaximum number of buffers is reached (%d)" msgstr "número máximo de buffers visitados en memoria" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" -"PO-Revision-Date: 2023-04-19 16:34+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" +"PO-Revision-Date: 2023-04-20 22:35+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -6174,6 +6174,14 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sLe nombre maximum de tampons est atteint (%d)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" +"%sLa propriété de tampon \"%s\" ne peut pas être désactivée si le tampon " +"contient des lignes (tampon : %s)" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "" "%sIl est possible de mélanger seulement des tampons avec du contenu formaté" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2022-10-15 22:51+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4630,6 +4630,12 @@ msgstr "" "felhasználói parancsok maximális száma az előzményekben (0 = korlátlan)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5363,6 +5363,12 @@ msgstr "%sErrore: un buffer con lo stesso nome (%s) esiste già" msgid "%sMaximum number of buffers is reached (%d)" msgstr "numero massimo di buffer visitati da memorizzare" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sErrore: è possibile solo unire i buffer con il contenuto formattato" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" @@ -5962,6 +5962,12 @@ msgstr "%sエラー: 同じ名前 (%s) のバッファがあります" msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sエラー: バッファ数の最大値に達しました (%d)" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sエラー: 書式ありバッファ以外はマージできません" @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-04-13 20:09+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n" @@ -6425,6 +6425,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sOsiągnięto maksymalną ilość buforów (%d)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sMożliwe jest tylko połączenie buforów z sformatowaną zawartością" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" @@ -6008,6 +6008,12 @@ msgstr "%sErro: já existe um buffer com o mesmo nome (%s)" msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sErro: o número máximo de buffers foi atingido (%d)" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sErro: só é possível unir buffers com conteúdo formatado" diff --git a/po/pt_BR.po b/po/pt_BR.po index 90df1baab..8c85a453b 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: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -5322,6 +5322,12 @@ msgstr "%sErro: um buffer com o mesmo nome (%s) já existe" msgid "%sMaximum number of buffers is reached (%d)" msgstr "número máximo de buffers visitados a serem mantidos em memória" +#, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + #, fuzzy, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sErro: só é possível mesclar buffers com conteúdo formatado" @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4668,6 +4668,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "максимальное количество команд в истории (0 = не ограничено)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-04-13 20:10+0200\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -6404,6 +6404,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sДостигнут је максималан број бафера (%d)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sСпајање је могуће само за бафере са форматираним садржајем" @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2023-03-25 21:13+0100\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -6420,6 +6420,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "%sEn çok arabellek sayısına ulaşıldı (%d)" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "%sYalnızca biçimlendirilmiş içeriğe iye arabellekler birleştirilebilir" diff --git a/po/weechat.pot b/po/weechat.pot index 1a7de2cfb..e6064527d 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: 2023-04-19 14:56+0200\n" +"POT-Creation-Date: 2023-04-20 22:34+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" @@ -4250,6 +4250,12 @@ msgid "%sMaximum number of buffers is reached (%d)" msgstr "" #, c-format +msgid "" +"%sBuffer property \"%s\" can not be disabled if buffer contains lines " +"(buffer: %s)" +msgstr "" + +#, c-format msgid "%sIt is only possible to merge buffers with formatted content" msgstr "" diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index 88a0248ff..dc1b6d5dd 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -2102,6 +2102,19 @@ gui_buffer_set_input_multiline (struct t_gui_buffer *buffer, if (!buffer) return; + if (buffer->input_multiline + && !input_multiline + && buffer->own_lines->first_line) + { + gui_chat_printf (NULL, + _("%sBuffer property \"%s\" can not be disabled " + "if buffer contains lines (buffer: %s)"), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + "input_multiline", + buffer->full_name); + return; + } + buffer->input_multiline = (input_multiline) ? 1 : 0; } |