1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: display when zstd is not available in output of /debug libs

This commit is contained in:
Sébastien Helleu
2023-12-24 16:50:45 +01:00
parent 7700228823
commit 28fc733aaf
15 changed files with 156 additions and 48 deletions
+9 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5161,6 +5161,14 @@ msgstr "Využití paměti (viz \"man mallinfo\" pro nápovědu):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Využití pamětí není dostupné (funkce \"mallinfo\" nenalezena)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "není proměnná"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+11 -7
View File
@@ -26,7 +26,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-12-13 21:21+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
@@ -5852,6 +5852,14 @@ msgstr "Auslastung des Speichers (siehe\"man mallinfo\" für Hilfe):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Speicheranzeige nicht verfügbar (Funktion \"mallinfo\" nicht gefunden)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "keine Variable"
msgid "TEMPORARY, deleted on exit"
msgstr "TEMPORÄR, wird beim Beenden gelöscht"
@@ -11470,7 +11478,6 @@ msgstr "zeigt den Host innerhalb einer notice Nachricht an"
msgid "display host in part/quit messages"
msgstr "zeigt den Host innerhalb einer part/quit Nachricht an"
#| msgid "display host in join messages"
msgid "display host in wallops messages"
msgstr "zeigt den Host innerhalb von wallops Nachrichten an"
@@ -16427,8 +16434,7 @@ msgstr "verwaltet Trigger, das Schweizer Armeemesser für WeeChat"
msgid ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -16437,8 +16443,7 @@ msgid ""
msgstr ""
"list [-o|-ol|-i|-il] || listfull || listdefault || add|addoff|addreplace "
"<name> <hook> "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<"
"return_code>\" [\"<post_action>\"]]]]]] "
"[\"<arguments>\" [\"<conditions>\" [\"<regex>\" [\"<command>\" [\"<return_code>\" [\"<post_action>\"]]]]]] "
"|| addinput [<hook>] || input|output|recreate <name> || set <name> <option> "
"<value> || rename|copy <name> <new_name> || enable|disable|toggle [<name>|"
"<mask> [<name>|<mask>...]] || restart <name>|<mask> [<name>|<mask>...] || "
@@ -17436,4 +17441,3 @@ msgstr "%s%s: Zeitüberschreitung für \"%s\" mit %s"
msgid "%s%s: unable to connect: unexpected error (%d)"
msgstr ""
"%s%s: Verbindung konnte nicht hergestellt werden: unerwarteter Fehler (%d)"
+8 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Santiago Forero <santiago@forero.xyz>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5343,6 +5343,13 @@ msgstr "Uso de memoria (ver en \"man mallinfo\" por ayuda):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Uso de memoria no disponible (función \"mallinfo\" no encontrada)"
msgid "not initialized"
msgstr ""
#, fuzzy
msgid "not available"
msgstr "Variables"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+8 -2
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"PO-Revision-Date: 2023-12-10 21:11+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-12-24 16:47+0100\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -5720,6 +5720,12 @@ msgstr "Utilisation mémoire (voir \"man mallinfo\" pour de l'aide) :"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Utilisation mémoire non disponible (fonction \"mallinfo\" non trouvée)"
msgid "not initialized"
msgstr "non initialisé"
msgid "not available"
msgstr "non disponible"
msgid "TEMPORARY, deleted on exit"
msgstr "TEMPORAIRE, supprimé en quittant"
+8 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4873,6 +4873,13 @@ msgstr ""
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr ""
msgid "not initialized"
msgstr ""
#, fuzzy
msgid "not available"
msgstr " . típus: szám\n"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+8 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5269,6 +5269,13 @@ msgstr "Uso della memoria (consultare \"man mallinfo\" per aiuto):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Uso della memoria non disponibile (funzione \"mallinfo\" non trovata)"
msgid "not initialized"
msgstr ""
#, fuzzy
msgid "not available"
msgstr "Variabili"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+9 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/master/"
@@ -5429,6 +5429,14 @@ msgstr "メモリ使用量 (ヘルプを見るには \"man mallinfo\" を参照
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "メモリ使用量は利用できません (\"mallinfo\" 関数が見つかりません)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "変数がありません"
#, fuzzy
msgid "TEMPORARY, deleted on exit"
msgstr "(一時的、終了時に削除されます)"
+9 -1
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-12-04 21:07+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n"
"Language-Team: Polish <kde-i18n-doc@kde.org>\n"
@@ -5544,6 +5544,14 @@ msgstr "Zużycie pamięci (zobacz \"man mallinfo\"):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Zużycie pamięci niedostępne (nie znaleziono funkcji \"mallinfo\")"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "brak zmiennej"
msgid "TEMPORARY, deleted on exit"
msgstr "TYMCZASOWY, usuwany przy wyjściu"
+9 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n"
"Language-Team: Portuguese <>\n"
@@ -5484,6 +5484,14 @@ msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr ""
"Utilização de memória não disponível (função \"mallinfo\" não encontrada)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "nenhum variável"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+8 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-10-20 13:11+0200\n"
"Last-Translator: Érico Nogueira <ericonr@disroot.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5225,6 +5225,13 @@ msgstr "Uso de memória (veja \"man mallinfo\" para ajuda):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Uso de memória não disponível (função \"mallinfo\" não encontrada)"
msgid "not initialized"
msgstr ""
#, fuzzy
msgid "not available"
msgstr "Variáveis"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+8 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4902,6 +4902,13 @@ msgstr ""
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr ""
msgid "not initialized"
msgstr ""
#, fuzzy
msgid "not available"
msgstr " . тип: целочисленный\n"
msgid "TEMPORARY, deleted on exit"
msgstr ""
+9 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-12-05 14:55+0400\n"
"Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5537,6 +5537,14 @@ msgstr ""
"Није доступна информација о искоришћењу меморије (није пронађена функција "
"„mallinfo”)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "нема променљиве"
msgid "TEMPORARY, deleted on exit"
msgstr "ПРИВРЕМЕН, брише се приликом напуштања програма"
+9 -1
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\n"
"PO-Revision-Date: 2023-11-29 09:59+0100\n"
"Last-Translator: Emir SARI <emir_sari@icloud.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5483,6 +5483,14 @@ msgstr "Bellek kullanımı (yardım için bkz. \"man mallinfo\"):"
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr "Bellek kullanımı mevcut değil (\"mallinfo\" işlevi bulunamadı)"
msgid "not initialized"
msgstr ""
#, fuzzy
#| msgid "no variable"
msgid "not available"
msgstr "değişken yok"
msgid "TEMPORARY, deleted on exit"
msgstr "GEÇİCİ, çıkışta silinir"
+7 -1
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2023-12-10 21:05+0100\n"
"POT-Creation-Date: 2023-12-24 16:45+0100\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"
@@ -4516,6 +4516,12 @@ msgstr ""
msgid "Memory usage not available (function \"mallinfo\" not found)"
msgstr ""
msgid "not initialized"
msgstr ""
msgid "not available"
msgstr ""
msgid "TEMPORARY, deleted on exit"
msgstr ""
+36 -27
View File
@@ -639,6 +639,27 @@ debug_libs_cb (const void *pointer, void *data,
const char *signal, const char *type_data,
void *signal_data)
{
#ifdef GCRYPT_VERSION
const char *version_gcrypt = GCRYPT_VERSION;
#else
const char *version_gcrypt = "(?)";
#endif
#ifdef GNUTLS_VERSION
const char *version_gnutls = GNUTLS_VERSION;
#else
const char *version_gnutls = "(?)";
#endif
#ifdef LIBCURL_VERSION
const char *version_libcurl = LIBCURL_VERSION;
#else
const char *version_libcurl = "(?)";
#endif
#ifdef ZLIB_VERSION
const char *version_zlib = ZLIB_VERSION;
#else
const char *version_zlib = "(?)";
#endif
/* make C compiler happy */
(void) pointer;
(void) data;
@@ -652,45 +673,33 @@ debug_libs_cb (const void *pointer, void *data,
gui_main_debug_libs ();
/* display gcrypt version */
#ifdef GCRYPT_VERSION
gui_chat_printf (NULL, " gcrypt: %s%s",
GCRYPT_VERSION,
(weechat_no_gcrypt) ? " (not initialized)" : "");
#else
gui_chat_printf (NULL, " gcrypt: (?)%s",
(weechat_no_gcrypt) ? " (not initialized)" : "");
#endif /* GCRYPT_VERSION */
gui_chat_printf (NULL, " gcrypt: %s%s%s%s",
version_gcrypt,
(weechat_no_gcrypt) ? " (" : "",
(weechat_no_gcrypt) ? _("not initialized") : "",
(weechat_no_gcrypt) ? ")" : "");
/* display gnutls version */
#ifdef GNUTLS_VERSION
gui_chat_printf (NULL, " gnutls: %s%s",
GNUTLS_VERSION,
(weechat_no_gnutls) ? " (not initialized)" : "");
#else
gui_chat_printf (NULL, " gnutls: (?)%s",
(weechat_no_gnutls) ? " (not initialized)" : "");
#endif /* GNUTLS_VERSION */
gui_chat_printf (NULL, " gnutls: %s%s%s%s",
version_gnutls,
(weechat_no_gnutls) ? " (" : "",
(weechat_no_gnutls) ? _("not initialized") : "",
(weechat_no_gnutls) ? ")" : "");
/* display curl version */
#ifdef LIBCURL_VERSION
gui_chat_printf (NULL, " curl: %s", LIBCURL_VERSION);
#else
gui_chat_printf (NULL, " curl: (?)");
#endif /* LIBCURL_VERSION */
gui_chat_printf (NULL, " curl: %s", version_libcurl);
/* display zlib version */
#ifdef ZLIB_VERSION
gui_chat_printf (NULL, " zlib: %s", ZLIB_VERSION);
#else
gui_chat_printf (NULL, " zlib: (?)");
#endif /* ZLIB_VERSION */
gui_chat_printf (NULL, " zlib: %s", version_zlib);
#ifdef HAVE_ZSTD
/* display zstd version */
#ifdef HAVE_ZSTD
gui_chat_printf (NULL, " zstd: %d.%d.%d",
ZSTD_VERSION_MAJOR,
ZSTD_VERSION_MINOR,
ZSTD_VERSION_RELEASE);
#else
gui_chat_printf (NULL, " zstd: %s", _("not available"));
#endif /* HAVE_ZSTD */
return WEECHAT_RC_OK;