From 8143d44e442b4f9e864cec714751322f61ee9adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 1 Nov 2025 16:10:11 +0100 Subject: [PATCH] buflist: replace hardcoded "buflist" by constant in error message --- po/cs.po | 6 +++--- po/de.po | 12 ++++++------ po/es.po | 6 +++--- po/fr.po | 18 +++++++++--------- po/hu.po | 6 +++--- po/it.po | 6 +++--- po/ja.po | 14 +++++++------- po/pl.po | 14 +++++++------- po/pt.po | 6 +++--- po/pt_BR.po | 6 +++--- po/ru.po | 6 +++--- po/sr.po | 10 +++++----- po/tr.po | 10 +++++----- po/weechat.pot | 6 +++--- src/plugins/buflist/buflist.c | 4 ++-- 15 files changed, 65 insertions(+), 65 deletions(-) diff --git a/po/cs.po b/po/cs.po index bca53e5f7..62f7a1494 100644 --- a/po/cs.po +++ b/po/cs.po @@ -23,7 +23,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:26+0100\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -7185,8 +7185,8 @@ msgstr "Seznam bufferů" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/de.po b/po/de.po index f7445dab9..29fffe7de 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-10-27 08:26+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:07+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -8207,13 +8207,13 @@ msgstr "Liste von Buffern" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist: Warnung: das Skript buffers.pl ist installiert und stellt eine " -"Bar mit der Liste aller Buffer zur Verfügung. Diese Funktion wird durch die " +"%s%s: Warnung: das Skript buffers.pl ist installiert und stellt eine Bar mit " +"der Liste aller Buffer zur Verfügung. Diese Funktion wird durch die " "Erweiterung buflist bereitgestellt, weshalb das buffers.pl Skript entfernt " "werden sollte (/script remove buffers.pl), oder man deaktiviert oder " "entfernt die buflist Erweiterung. Für weitere Informationen sollte man die " diff --git a/po/es.po b/po/es.po index 96c3ba0b4..d43ba214c 100644 --- a/po/es.po +++ b/po/es.po @@ -24,7 +24,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:26+0100\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" @@ -7368,8 +7368,8 @@ msgstr "Lista de buffers:" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/fr.po b/po/fr.po index d550b555d..5e29e934c 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-11-01 16:00+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:07+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -8056,16 +8056,16 @@ msgstr "Liste des tampons" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist : attention : le script buffers.pl est chargé et fournit une barre " -"avec la liste des tampons similaire à celle de l'extension buflist ; vous " -"voudrez peut-être désinstaller le script buffers.pl (/script remove " -"buffers.pl) ou désactiver/décharger l'extension buflist ; voir les notes de " -"version de WeeChat pour plus d'information" +"%s%s : attention : le script buffers.pl est chargé et fournit une barre avec " +"la liste des tampons similaire à celle de l'extension buflist ; vous voudrez " +"peut-être désinstaller le script buffers.pl (/script remove buffers.pl) ou " +"désactiver/décharger l'extension buflist ; voir les notes de version de " +"WeeChat pour plus d'information" msgid "Charset conversions" msgstr "Conversions de charset" diff --git a/po/hu.po b/po/hu.po index 7b930072b..c6ff8fea5 100644 --- a/po/hu.po +++ b/po/hu.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:27+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -6827,8 +6827,8 @@ msgstr "hotlist törlése" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/it.po b/po/it.po index 6da12f104..7aad20158 100644 --- a/po/it.po +++ b/po/it.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:27+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -7341,8 +7341,8 @@ msgstr "Elenco buffer:" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/ja.po b/po/ja.po index e8b95815d..5aa817f85 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:08+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" @@ -7611,14 +7611,14 @@ msgstr "バッファリスト" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist: 警告: buffers.pl スクリプトが読み込まれました。buffers.pl スクリプ" -"トは buflist プラグインと類似するバーリストが含まれるバーを提供しています; 必" -"要ならば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、" +"%s%s: 警告: buffers.pl スクリプトが読み込まれました。buffers.pl スクリプトは " +"buflist プラグインと類似するバーリストが含まれるバーを提供しています; 必要な" +"らば、buffers.pl スクリプトを削除 (/script remove buffers.pl) するか、" "buflist プラグインを無効化/アンロードしてください; 詳しい情報は WeeChat リ" "リースノートを参照してください" diff --git a/po/pl.po b/po/pl.po index 5b9a0ffab..94c39e07a 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:08+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: pl\n" @@ -8049,14 +8049,14 @@ msgstr "Lista buforów" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist: uwaga: skrypt buffers.pl jest załadowany i dodaje on element z " -"listą buforów podobną do tej z wtyczki buflist; powinieneś odinstalować " -"sktypt buffers.pl (/script remove buffers.pl) lub wyłączyć/wyładować wtyczkę " +"%s%s: uwaga: skrypt buffers.pl jest załadowany i dodaje on element z listą " +"buforów podobną do tej z wtyczki buflist; powinieneś odinstalować sktypt " +"buffers.pl (/script remove buffers.pl) lub wyłączyć/wyładować wtyczkę " "buflist; więcej informacji można znaleźć w informacjach o nowej wersji " "WeeChat" diff --git a/po/pt.po b/po/pt.po index 5648ab8a1..8df461810 100644 --- a/po/pt.po +++ b/po/pt.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:27+0100\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -7599,8 +7599,8 @@ msgstr "Lista de buffers:" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index b56dac0aa..237d88204 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -23,7 +23,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:27+0100\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -7241,8 +7241,8 @@ msgstr "Lista de buffers:" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/ru.po b/po/ru.po index 59299bf88..be7f698f1 100644 --- a/po/ru.po +++ b/po/ru.po @@ -23,7 +23,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2025-10-27 08:27+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -6868,8 +6868,8 @@ msgstr "Список буферов:" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/po/sr.po b/po/sr.po index 234bfd061..fbcc96ceb 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-10-31 11:14+0400\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:08+0100\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" "Language: sr\n" @@ -7799,12 +7799,12 @@ msgstr "Листа бафера" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist: упозорење: учитана је скрипта buffers.pl која обезбеђује траку са " +"%s%s: упозорење: учитана је скрипта buffers.pl која обезбеђује траку са " "листом бафера која је слична са додатком; требало би или да деинсталирате " "скрипту buffers.pl (/script remove buffers.pl) или да искључите/уклоните из " "меморије buflist додатак; за више информација, погледајте WeeChat напомене " diff --git a/po/tr.po b/po/tr.po index 0734206e3..5a0f86aef 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: 2025-11-01 15:58+0100\n" -"PO-Revision-Date: 2025-10-27 08:27+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" +"PO-Revision-Date: 2025-11-01 16:08+0100\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" "Language: tr\n" @@ -7584,12 +7584,12 @@ msgstr "Arabellek listesi" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" -"%sbuflist: Uyarı: buffers.pl betiği yüklendi ve buflist eklentisine benzer " +"%s%s: Uyarı: buffers.pl betiği yüklendi ve buflist eklentisine benzer " "arabellek listesini içeren bir çubuk sağlar; buffers.pl betiğinin " "yüklemesini kaldırmak veya buflist eklentisini devre dışı bırakıp/bellekten " "kaldırmakisteyebilirsiniz; ek bilgi için WeeChat sürüm notlarına bakın" diff --git a/po/weechat.pot b/po/weechat.pot index e25ad5dd2..8e52620a3 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: 2025-11-01 15:58+0100\n" +"POT-Creation-Date: 2025-11-01 16:05+0100\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -6366,8 +6366,8 @@ msgstr "" #, c-format msgid "" -"%sbuflist: warning: the script buffers.pl is loaded and provides a bar with " -"list of buffers similar to the buflist plugin; you may want to uninstall the " +"%s%s: warning: the script buffers.pl is loaded and provides a bar with list " +"of buffers similar to the buflist plugin; you may want to uninstall the " "script buffers.pl (/script remove buffers.pl) or disable/unload the buflist " "plugin; see WeeChat release notes for more information" msgstr "" diff --git a/src/plugins/buflist/buflist.c b/src/plugins/buflist/buflist.c index b446b533f..ae79a33e3 100644 --- a/src/plugins/buflist/buflist.c +++ b/src/plugins/buflist/buflist.c @@ -401,14 +401,14 @@ buflist_script_loaded_cb (const void *pointer, void *data, const char *signal, if (strcmp (base_name2, "buffers.pl") == 0) { weechat_printf (NULL, - _("%sbuflist: warning: the script buffers.pl is " + _("%s%s: warning: the script buffers.pl is " "loaded and provides a bar with list of buffers " "similar to the buflist plugin; you may want to " "uninstall the script buffers.pl " "(/script remove buffers.pl) or disable/unload the " "buflist plugin; see WeeChat release notes for more " "information"), - weechat_prefix ("error")); + weechat_prefix ("error"), BUFLIST_PLUGIN_NAME); } free (base_name2);