diff options
-rw-r--r-- | doc/de/includes/autogen_user_commands.de.adoc | 44 | ||||
-rw-r--r-- | doc/en/includes/autogen_user_commands.en.adoc | 6 | ||||
-rw-r--r-- | doc/fr/includes/autogen_user_commands.fr.adoc | 6 | ||||
-rw-r--r-- | doc/it/includes/autogen_user_commands.it.adoc | 6 | ||||
-rw-r--r-- | doc/ja/includes/autogen_user_commands.ja.adoc | 6 | ||||
-rw-r--r-- | doc/pl/includes/autogen_user_commands.pl.adoc | 44 | ||||
-rw-r--r-- | doc/sr/includes/autogen_user_commands.sr.adoc | 44 | ||||
-rw-r--r-- | po/cs.po | 112 | ||||
-rw-r--r-- | po/de.po | 116 | ||||
-rw-r--r-- | po/es.po | 114 | ||||
-rw-r--r-- | po/fr.po | 116 | ||||
-rw-r--r-- | po/hu.po | 126 | ||||
-rw-r--r-- | po/it.po | 109 | ||||
-rw-r--r-- | po/ja.po | 106 | ||||
-rw-r--r-- | po/pl.po | 119 | ||||
-rw-r--r-- | po/pt.po | 109 | ||||
-rw-r--r-- | po/pt_BR.po | 109 | ||||
-rw-r--r-- | po/ru.po | 129 | ||||
-rw-r--r-- | po/sr.po | 119 | ||||
-rw-r--r-- | po/tr.po | 115 | ||||
-rw-r--r-- | po/weechat.pot | 107 | ||||
-rw-r--r-- | src/core/wee-command.c | 243 | ||||
-rw-r--r-- | src/core/wee-debug.c | 97 | ||||
-rw-r--r-- | src/core/wee-debug.h | 1 |
24 files changed, 413 insertions, 1690 deletions
diff --git a/doc/de/includes/autogen_user_commands.de.adoc b/doc/de/includes/autogen_user_commands.de.adoc index 9ed07871e..47fbfd0b7 100644 --- a/doc/de/includes/autogen_user_commands.de.adoc +++ b/doc/de/includes/autogen_user_commands.de.adoc @@ -1331,32 +1331,32 @@ Beispiele: ---- /debug list set <plugin> <level> - dump [<plugin>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<plugin>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <command> - list: zeigt alle Erweiterungen mit Debuglevel an - set: setzt den Level der Protokollierung für eine Erweiterung - plugin: Name der Erweiterung ("core" für den WeeChat Kern) - level: Debuglevel der Erweiterung (0 = deaktiviert Debug) - dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei einem Programmabsturz) - buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die Protokolldatei - certs: gibt die Anzahl geladener vertrauenswürdiger Zertifizierungsstellen aus - color: zeigt Informationen über die aktuellen Farbpaarungen an - cursor: schaltet den debug-Modus für den Cursor-Modus ein/aus - dirs: Verzeichnisse werden angezeigt - hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata Informationen aus dem Speicher entfernt) - hooks: zeigt die aktiven Hooks an -infolists: zeigt Information über die Infolists an - libs: zeigt an welche externen Bibliotheken verwendet werden - memory: gibt Informationen über den genutzten Speicher aus - mouse: schaltet den debug-Modus für den Maus-Modus ein/aus - tags: zeigt für jede einzelne Zeile die dazugehörigen Schlagwörter an - term: zeigt Informationen über das Terminal an - windows: zeigt die Fensterstruktur an - time: misst die Zeit um einen Befehl auszuführen oder um einen Text in den aktuellen Buffer zu senden + list: list plugins with debug levels + set: set debug level for plugin + plugin: name of plugin ("core" for WeeChat core) + level: debug level for plugin (0 = disable debug) + dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) + buffer: dump buffer content with hexadecimal values in log file + certs: display number of loaded trusted certificate authorities + color: display infos about current color pairs + cursor: toggle debug for cursor mode + dirs: display directories + hdata: display infos about hdata (with free: remove all hdata in memory) +infolists: display infos about infolists + libs: display infos about external libraries used + memory: display infos about memory usage + mouse: toggle debug for mouse + tags: display tags for lines + term: display infos about terminal + windows: display windows tree + time: measure time to execute a command or to send text to the current buffer ---- [[command_weechat_eval]] diff --git a/doc/en/includes/autogen_user_commands.en.adoc b/doc/en/includes/autogen_user_commands.en.adoc index 24c2b670d..13d160681 100644 --- a/doc/en/includes/autogen_user_commands.en.adoc +++ b/doc/en/includes/autogen_user_commands.en.adoc @@ -1331,8 +1331,8 @@ Examples: ---- /debug list set <plugin> <level> - dump [<plugin>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<plugin>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <command> @@ -1342,13 +1342,13 @@ Examples: plugin: name of plugin ("core" for WeeChat core) level: debug level for plugin (0 = disable debug) dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) buffer: dump buffer content with hexadecimal values in log file certs: display number of loaded trusted certificate authorities color: display infos about current color pairs cursor: toggle debug for cursor mode dirs: display directories hdata: display infos about hdata (with free: remove all hdata in memory) - hooks: display infos about hooks infolists: display infos about infolists libs: display infos about external libraries used memory: display infos about memory usage diff --git a/doc/fr/includes/autogen_user_commands.fr.adoc b/doc/fr/includes/autogen_user_commands.fr.adoc index d993e83cb..572c560c7 100644 --- a/doc/fr/includes/autogen_user_commands.fr.adoc +++ b/doc/fr/includes/autogen_user_commands.fr.adoc @@ -1331,8 +1331,8 @@ Exemples : ---- /debug list set <extension> <niveau> - dump [<extension>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<extension>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows cursor|mouse [verbose] hdata [free] time <commande> @@ -1342,13 +1342,13 @@ Exemples : extension : nom de l'extension ("core" pour le cœur de WeeChat) niveau : niveau de debug pour l'extension dump : afficher les variables mémoire WeeChat dans le fichier log (les mêmes messages sont affichés lorsque WeeChat plante) + hooks : afficher des infos sur les hooks (avec une extension : afficher les infos détaillées sur les hooks créés par l'extension) buffer : afficher le contenu du tampon en valeurs hexadécimales dans le fichier log certs : afficher le nombre de certificats des autorités de certification chargés color : afficher des infos sur les paires de couleur courantes cursor : activer/désactiver le debug pour le mode curseur dirs : afficher les répertoires hdata : afficher des infos sur les hdata (avec free : supprimer tous les hdata en mémoire) - hooks : afficher des infos sur les hooks infolists : afficher des infos sur les infolists libs : afficher des infos sur les bibliothèques externes utilisées memory : afficher des infos sur l'utilisation de la mémoire diff --git a/doc/it/includes/autogen_user_commands.it.adoc b/doc/it/includes/autogen_user_commands.it.adoc index 795a80ec4..c2d878f44 100644 --- a/doc/it/includes/autogen_user_commands.it.adoc +++ b/doc/it/includes/autogen_user_commands.it.adoc @@ -1331,8 +1331,8 @@ Examples: ---- /debug list set <plugin> <level> - dump [<plugin>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<plugin>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <command> @@ -1342,13 +1342,13 @@ Examples: plugin: name of plugin ("core" for WeeChat core) level: debug level for plugin (0 = disable debug) dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) buffer: dump buffer content with hexadecimal values in log file certs: display number of loaded trusted certificate authorities color: display infos about current color pairs cursor: toggle debug for cursor mode dirs: display directories hdata: display infos about hdata (with free: remove all hdata in memory) - hooks: display infos about hooks infolists: display infos about infolists libs: display infos about external libraries used memory: display infos about memory usage diff --git a/doc/ja/includes/autogen_user_commands.ja.adoc b/doc/ja/includes/autogen_user_commands.ja.adoc index c01a6ed3b..1a12856d6 100644 --- a/doc/ja/includes/autogen_user_commands.ja.adoc +++ b/doc/ja/includes/autogen_user_commands.ja.adoc @@ -1331,8 +1331,8 @@ Examples: ---- /debug list set <plugin> <level> - dump [<plugin>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<plugin>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <command> @@ -1342,13 +1342,13 @@ Examples: plugin: name of plugin ("core" for WeeChat core) level: debug level for plugin (0 = disable debug) dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) buffer: dump buffer content with hexadecimal values in log file certs: display number of loaded trusted certificate authorities color: display infos about current color pairs cursor: toggle debug for cursor mode dirs: display directories hdata: display infos about hdata (with free: remove all hdata in memory) - hooks: display infos about hooks infolists: display infos about infolists libs: display infos about external libraries used memory: display infos about memory usage diff --git a/doc/pl/includes/autogen_user_commands.pl.adoc b/doc/pl/includes/autogen_user_commands.pl.adoc index aa5521eea..ce80564bc 100644 --- a/doc/pl/includes/autogen_user_commands.pl.adoc +++ b/doc/pl/includes/autogen_user_commands.pl.adoc @@ -1330,32 +1330,32 @@ Przykłady: ---- /debug list set <wtyczka> <poziom> - dump [<wtyczka>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<wtyczka>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <komenda> - list: wyświetla wtyczki z poziomem debugowania - set: ustawia poziom debugowania dla wtyczki - plugin: nazwa wtyczki ("core" dla rdzenia WeeChat) - poziom: poziom debugowania wtyczki (0 = wyłączony) - dump: zachowuje zrzut pamięci w pliku z logiem WeeChat (taki sam zrzut jest zapisywany podczas awarii WeeChat) - buffer: zrzuca zawartość bufora z wartościami heksadecymalnymi do pliku z logiem - certs: wyświetla ilość załadowanych zaufanych centrów certyfikacyjnych - color: wyświetla informacje na temat obecnych par kolorów - cursor: przełącza debugowanie dla trybu kursora - dirs: wyświetla katalogi - hdata: wyświetla informacje o hdata (z free: usuwa wszystkie hdata z pamięci) - hooks: wyświetla informacje o hooks -infolists: wyświetla informacje o infolistach - libs: wyświetla informacje o użytych zewnętrznych bibliotekach - memory: wyświetla informacje o zużyciu pamięci - mouse: przełącza debugowanie myszy - tags: wyświetla tagi dla linii - term: wyświetla informacje o terminalu - windows: wyświetla drzewo okien - time: mierzy czas do wykonania komendy lub wysłania tekstu do obecnego bufora + list: list plugins with debug levels + set: set debug level for plugin + plugin: name of plugin ("core" for WeeChat core) + level: debug level for plugin (0 = disable debug) + dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) + buffer: dump buffer content with hexadecimal values in log file + certs: display number of loaded trusted certificate authorities + color: display infos about current color pairs + cursor: toggle debug for cursor mode + dirs: display directories + hdata: display infos about hdata (with free: remove all hdata in memory) +infolists: display infos about infolists + libs: display infos about external libraries used + memory: display infos about memory usage + mouse: toggle debug for mouse + tags: display tags for lines + term: display infos about terminal + windows: display windows tree + time: measure time to execute a command or to send text to the current buffer ---- [[command_weechat_eval]] diff --git a/doc/sr/includes/autogen_user_commands.sr.adoc b/doc/sr/includes/autogen_user_commands.sr.adoc index 1b24c49b9..e3b740e6e 100644 --- a/doc/sr/includes/autogen_user_commands.sr.adoc +++ b/doc/sr/includes/autogen_user_commands.sr.adoc @@ -1331,32 +1331,32 @@ stop: зауставља режим померања курсора ---- /debug list set <додатак> <ниво> - dump [<додатак>] - buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|term|windows + dump|hooks [<додатак>] + buffer|certs|color|dirs|infolists|libs|memory|tags|term|windows mouse|cursor [verbose] hdata [free] time <команда> - list: исписује додатке са дибаг нивоима - set: поставља дибаг ниво за додатак - додатак: име додатка („core” за WeeChat језгро) - ниво: дибаг ниво за додатак (0 = искључује дибаг) - dump: чува садржај меморије у WeeChat лог фајл (исти садржај се записује када се програм WeeChat сруши) - buffer: уписује у лог фајл садржај бафера као хексадецималне вредности - certs: приказује број учитаних ауторитета сертификата којима се верује - color: приказује инфо о тренутним паровима боја - cursor: пребацује дибаг за режим померања курсора - dirs: исписује директоријуме - hdata: исписује инфо о hdata (са free: уклања све hdata из меморије) - hooks: исписује инфо о кукама -infolists: исписује инфо о инфолистама - libs: исписује инфо о коришћеним спољним библиотекама - memory: исписује инфо о употреби меморије - mouse: пребацује дибаг за миша - tags: исписује ознаке за линије - term: исписује инфо о терминалу - windows: исписује стабло прозора - time: мери време извршавања команде или слања текста текућем баферу + list: list plugins with debug levels + set: set debug level for plugin + plugin: name of plugin ("core" for WeeChat core) + level: debug level for plugin (0 = disable debug) + dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes) + hooks: display infos about hooks (with a plugin: display detailed info about hooks created by the plugin) + buffer: dump buffer content with hexadecimal values in log file + certs: display number of loaded trusted certificate authorities + color: display infos about current color pairs + cursor: toggle debug for cursor mode + dirs: display directories + hdata: display infos about hdata (with free: remove all hdata in memory) +infolists: display infos about infolists + libs: display infos about external libraries used + memory: display infos about memory usage + mouse: toggle debug for mouse + tags: display tags for lines + term: display infos about terminal + windows: display windows tree + time: measure time to execute a command or to send text to the current buffer ---- [[command_weechat_eval]] @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-01-28 09:35+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:19+0200\n" "Last-Translator: Ondřej Súkup <mimi.vx@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: cs\n" @@ -701,98 +701,6 @@ msgstr "Načtené pluginy:" msgid " written by \"%s\", license: %s" msgstr " napsal \"%s\", licence: %s" -msgid " commands hooked:" -msgstr " napojené příkazy:" - -msgid " command_run hooked:" -msgstr " napojení command_run:" - -msgid " timers hooked:" -msgstr " napojené časovače:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d zbývajících volání)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "sekunda" -msgstr[1] "sekundy" -msgstr[2] "sekund" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milisekunda" -msgstr[1] "milisekundy" -msgstr[2] "milisekund" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (žádný limit počtu volání)" - -msgid " fd hooked:" -msgstr " napojené popisovače souborů:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (příznaky: 0x%x:%s%s%s)" - -msgid " read" -msgstr " čtení" - -msgid " write" -msgstr " zápis" - -msgid " exception" -msgstr " vyjímka" - -msgid " process hooked:" -msgstr " napojené procesy:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " příkaz: '%s', pid potomka: %d" - -msgid " connect hooked:" -msgstr " napojené spojení:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " soket: %d, adresa: %s, port: %d, pid potomka: %d" - -msgid " prints hooked:" -msgstr " napojené tisky:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " buffer: %s, zpráva: \"%s\"" - -msgid "(none)" -msgstr "(žádné)" - -#, c-format -msgid " message: \"%s\"" -msgstr " zpráva: \"%s\"" - -msgid " signals hooked:" -msgstr " napojené signály:" - -#, c-format -msgid " signal: %s" -msgstr " signál: %s" - -msgid "(all)" -msgstr "(všechny)" - -msgid " configuration options hooked:" -msgstr " napojené konfigurační možnosti:" - -msgid " completions hooked:" -msgstr " napojené doplňování:" - -msgid " modifiers hooked:" -msgstr " napojené modifikátory:" - msgid "No plugin found" msgstr "Plugin nenalezen" @@ -811,6 +719,9 @@ msgstr "Seznam proxy:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), uživatelské jméno: %s, heslo: %s" +msgid "(none)" +msgstr "(žádné)" + msgid "No proxy defined" msgstr "Proxy nejsou definovány" @@ -1494,8 +1405,8 @@ msgstr "ladící funkce" #, fuzzy msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <level> || dump [<plugin>] || buffer|color|memory|term|" @@ -1509,6 +1420,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1516,7 +1429,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -6562,6 +6474,12 @@ msgstr "nepřipojen" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "sekunda" +msgstr[1] "sekundy" +msgstr[2] "sekund" + msgid "minute" msgid_plural "minutes" msgstr[0] "minuta" @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:07+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:19+0200\n" "Last-Translator: Nils Görs <weechatter@arcor.de>\n" "Language-Team: German <kde-i18n-de@kde.org>\n" "Language: de\n" @@ -742,96 +742,6 @@ msgstr "Installierte Erweiterungen:" msgid " written by \"%s\", license: %s" msgstr " geschrieben von \"%s\", Lizenz: %s" -msgid " commands hooked:" -msgstr " eingehängte (hooked) Befehle:" - -msgid " command_run hooked:" -msgstr " command_run eingehangen:" - -msgid " timers hooked:" -msgstr " eingehangene (hooked) Timer:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d Aufrufe verbleiben)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "Sekunde" -msgstr[1] "Sekunden" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "Millisekunde" -msgstr[1] "Millisekunden" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (keine Begrenzung für Aufruf)" - -msgid " fd hooked:" -msgstr " fd eingehangen:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (Flags: 0x%x:%s%s%s)" - -msgid " read" -msgstr " lese" - -msgid " write" -msgstr " schreibe" - -msgid " exception" -msgstr " Unterbrechung" - -msgid " process hooked:" -msgstr " eingehangener (hooked) Prozess:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " Befehl: '%s', Kind pid: %d" - -msgid " connect hooked:" -msgstr " eingehangene (hooked) Verbindung:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " Socket: %d, Adresse: %s, Port: %d, Kind pid: %d" - -msgid " prints hooked:" -msgstr " eingehangene (hooked) Prints:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " Buffer: %s, Nachricht: \"%s\"" - -msgid "(none)" -msgstr "(keine)" - -#, c-format -msgid " message: \"%s\"" -msgstr " Nachricht: \"%s\"" - -msgid " signals hooked:" -msgstr " eingehangene (hooked) Signale:" - -#, c-format -msgid " signal: %s" -msgstr " Signal: %s" - -msgid "(all)" -msgstr "(alle(s))" - -msgid " configuration options hooked:" -msgstr " eingehangene (hooked) Konfigurationsoptionen:" - -msgid " completions hooked:" -msgstr " eingehangene (hooked) Vervollständigungen:" - -msgid " modifiers hooked:" -msgstr " eingehangene modifiers:" - msgid "No plugin found" msgstr "Keine Erweiterung gefunden" @@ -848,6 +758,9 @@ msgstr "Auflistung der Proxys:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), Username: %s, Passwort: %s" +msgid "(none)" +msgstr "(keine)" + msgid "No proxy defined" msgstr "Kein Proxy definiert" @@ -1620,14 +1533,15 @@ msgid "debug functions" msgstr "Debug-Funktionen" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" +#, fuzzy msgid "" " list: list plugins with debug levels\n" " set: set debug level for plugin\n" @@ -1635,6 +1549,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1642,7 +1558,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -1659,6 +1574,7 @@ msgstr "" " level: Debuglevel der Erweiterung (0 = deaktiviert Debug)\n" " dump: Speicherabbild in die WeeChat Protokolldatei schreiben (wie bei " "einem Programmabsturz)\n" +" hooks: zeigt die aktiven Hooks an\n" " buffer: speichert den Bufferinhalt als hexadezimale Ausgabe in die " "Protokolldatei\n" " certs: gibt die Anzahl geladener vertrauenswürdiger " @@ -1668,7 +1584,6 @@ msgstr "" " dirs: Verzeichnisse werden angezeigt\n" " hdata: zeigt Informationen zu hdata an (mittels free werden alle hdata " "Informationen aus dem Speicher entfernt)\n" -" hooks: zeigt die aktiven Hooks an\n" "infolists: zeigt Information über die Infolists an\n" " libs: zeigt an welche externen Bibliotheken verwendet werden\n" " memory: gibt Informationen über den genutzten Speicher aus\n" @@ -8394,6 +8309,11 @@ msgstr "nicht verbunden" msgid " (fake)" msgstr " (Fälschung)" +msgid "second" +msgid_plural "seconds" +msgstr[0] "Sekunde" +msgstr[1] "Sekunden" + msgid "minute" msgid_plural "minutes" msgstr[0] "Minute" @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:08+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:19+0200\n" "Last-Translator: Santiago Forero <santiago@forero.xyz>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: es\n" @@ -749,96 +749,6 @@ msgstr "Plugins cargados:" msgid " written by \"%s\", license: %s" msgstr " escrito por \"%s\", licencia: %s" -msgid " commands hooked:" -msgstr " comandos enganchados:" - -msgid " command_run hooked:" -msgstr " command_run enganchados:" - -msgid " timers hooked:" -msgstr " temporizadores enganchados:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d llamadas restantes)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "segundo" -msgstr[1] "segundos" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milisegundo" -msgstr[1] "milisegundos" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (sin límite de llamadas)" - -msgid " fd hooked:" -msgstr " fd enganchados:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (banderas: 0x%x:%s%s%s)" - -msgid " read" -msgstr " lectura" - -msgid " write" -msgstr " escritura" - -msgid " exception" -msgstr " excepción" - -msgid " process hooked:" -msgstr " procesos enganchados:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " comando: '%s', pid hijo: %d" - -msgid " connect hooked:" -msgstr " conexiones enganchadas:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " socket: %d, dirección: %s, puerto: %d, pid: %d" - -msgid " prints hooked:" -msgstr " mensajes enganchados:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " buffer: %s, mensaje: \"%s\"" - -msgid "(none)" -msgstr "(ninguno)" - -#, c-format -msgid " message: \"%s\"" -msgstr " mensaje: \"%s\"" - -msgid " signals hooked:" -msgstr " señales enganchadas:" - -#, c-format -msgid " signal: %s" -msgstr " señal: %s" - -msgid "(all)" -msgstr "(todos)" - -msgid " configuration options hooked:" -msgstr " opciones de configuración enganchadas:" - -msgid " completions hooked:" -msgstr " completadores enganchados:" - -msgid " modifiers hooked:" -msgstr " modificadores enganchados:" - msgid "No plugin found" msgstr "Ningún plugin encontrado" @@ -855,6 +765,9 @@ msgstr "Lista de proxies:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), nombre de usuario: %s, contraseña: %s" +msgid "(none)" +msgstr "(ninguno)" + msgid "No proxy defined" msgstr "Ningún proxy definido" @@ -1567,9 +1480,14 @@ msgstr "" msgid "debug functions" msgstr "funciones de depuración" +#, fuzzy +#| msgid "" +#| "list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|" +#| "dirs|hooks|infolists|libs|memory|tags|term|windows || mouse|cursor " +#| "[verbose] || hdata [free] || time <command>" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <nível> || dump [<plugin>] || buffer|certs|color|dirs|" @@ -1584,6 +1502,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1591,7 +1511,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -7124,6 +7043,11 @@ msgstr "no conectado" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "segundo" +msgstr[1] "segundos" + msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:05+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: fr\n" @@ -724,96 +724,6 @@ msgstr "Extensions chargées :" msgid " written by \"%s\", license: %s" msgstr " écrit par \"%s\", licence : %s" -msgid " commands hooked:" -msgstr " commandes accrochées :" - -msgid " command_run hooked:" -msgstr " command_run accrochés :" - -msgid " timers hooked:" -msgstr " minuteurs accrochés :" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d appels restants)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "seconde" -msgstr[1] "secondes" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milliseconde" -msgstr[1] "millisecondes" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (pas de limite d'appel)" - -msgid " fd hooked:" -msgstr " fichiers accrochés :" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (drapeaux : 0x%x:%s%s%s)" - -msgid " read" -msgstr " lecture" - -msgid " write" -msgstr " écriture" - -msgid " exception" -msgstr " exception" - -msgid " process hooked:" -msgstr " processus accrochés :" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " commande : '%s', pid fils : %d" - -msgid " connect hooked:" -msgstr " connexions accrochées :" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " socket : %d, adresse : %s, port : %d, pid fils : %d" - -msgid " prints hooked:" -msgstr " impressions accrochées :" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " tampon : %s, message : \"%s\"" - -msgid "(none)" -msgstr "(aucun)" - -#, c-format -msgid " message: \"%s\"" -msgstr " message : \"%s\"" - -msgid " signals hooked:" -msgstr " signaux accrochés :" - -#, c-format -msgid " signal: %s" -msgstr " signal : %s" - -msgid "(all)" -msgstr "(tous)" - -msgid " configuration options hooked:" -msgstr " options de configuration accrochées :" - -msgid " completions hooked:" -msgstr " complétions accrochées :" - -msgid " modifiers hooked:" -msgstr " modificateurs accrochés :" - msgid "No plugin found" msgstr "Aucune extension trouvée" @@ -830,6 +740,9 @@ msgstr "Liste des proxies :" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s : %s, %s/%d (%s), utilisateur : %s, mot de passe : %s" +msgid "(none)" +msgstr "(aucun)" + msgid "No proxy defined" msgstr "Pas de proxy défini" @@ -1593,12 +1506,12 @@ msgid "debug functions" msgstr "fonctions de debug" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" -"list || set <extension> <niveau> || dump [<extension>] || buffer|certs|color|" -"dirs|hooks|infolists|libs|memory|tags|term|windows || cursor|mouse [verbose] " +"list || set <extension> <niveau> || dump|hooks [<extension>] || buffer|certs|" +"color|dirs|infolists|libs|memory|tags|term|windows || cursor|mouse [verbose] " "|| hdata [free] || time <commande>" msgid "" @@ -1608,6 +1521,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1615,7 +1530,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -1632,6 +1546,8 @@ msgstr "" " niveau : niveau de debug pour l'extension\n" " dump : afficher les variables mémoire WeeChat dans le fichier log (les " "mêmes messages sont affichés lorsque WeeChat plante)\n" +" hooks : afficher des infos sur les hooks (avec une extension : afficher " +"les infos détaillées sur les hooks créés par l'extension)\n" " buffer : afficher le contenu du tampon en valeurs hexadécimales dans le " "fichier log\n" " certs : afficher le nombre de certificats des autorités de certification " @@ -1641,7 +1557,6 @@ msgstr "" " dirs : afficher les répertoires\n" " hdata : afficher des infos sur les hdata (avec free : supprimer tous les " "hdata en mémoire)\n" -" hooks : afficher des infos sur les hooks\n" "infolists : afficher des infos sur les infolists\n" " libs : afficher des infos sur les bibliothèques externes utilisées\n" " memory : afficher des infos sur l'utilisation de la mémoire\n" @@ -8089,6 +8004,11 @@ msgstr "non connecté" msgid " (fake)" msgstr " (faux)" +msgid "second" +msgid_plural "seconds" +msgstr[0] "seconde" +msgstr[1] "secondes" + msgid "minute" msgid_plural "minutes" msgstr[0] "minute" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2021-12-03 12:02+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: hu\n" @@ -699,111 +699,6 @@ msgid " written by \"%s\", license: %s" msgstr "" #, fuzzy -msgid " commands hooked:" -msgstr " parancskezelők:\n" - -#, fuzzy -msgid " command_run hooked:" -msgstr " parancskezelők:\n" - -#, fuzzy -msgid " timers hooked:" -msgstr " időkezelők:\n" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr "" - -#, fuzzy -msgid "second" -msgid_plural "seconds" -msgstr[0] "másodperc" -msgstr[1] "másodperc" - -#, fuzzy -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "másodperc" -msgstr[1] "másodperc" - -#, c-format -msgid " %d %s (no call limit)" -msgstr "" - -#, fuzzy -msgid " fd hooked:" -msgstr " parancskezelők:\n" - -#, fuzzy, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d másodperc\n" - -msgid " read" -msgstr "" - -msgid " write" -msgstr "" - -#, fuzzy -msgid " exception" -msgstr " . leírás : %s\n" - -#, fuzzy -msgid " process hooked:" -msgstr " időkezelők:\n" - -#, fuzzy, c-format -msgid " command: '%s', child pid: %d" -msgstr " IRC(%s)\n" - -#, fuzzy -msgid " connect hooked:" -msgstr " parancskezelők:\n" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr "" - -#, fuzzy -msgid " prints hooked:" -msgstr " időkezelők:\n" - -#, fuzzy, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " (nincs üzenetkezelő)\n" - -#, fuzzy -msgid "(none)" -msgstr "(ismeretlen)" - -#, fuzzy, c-format -msgid " message: \"%s\"" -msgstr " (nincs üzenetkezelő)\n" - -#, fuzzy -msgid " signals hooked:" -msgstr " üzenetkezelők:\n" - -#, fuzzy, c-format -msgid " signal: %s" -msgstr " IRC(%s)\n" - -msgid "(all)" -msgstr "" - -#, fuzzy -msgid " configuration options hooked:" -msgstr "konfigurációs paraméterek beállítása" - -#, fuzzy -msgid " completions hooked:" -msgstr " parancskezelők:\n" - -#, fuzzy -msgid " modifiers hooked:" -msgstr " időkezelők:\n" - -#, fuzzy msgid "No plugin found" msgstr "Nem található modul.\n" @@ -824,6 +719,10 @@ msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr "" #, fuzzy +msgid "(none)" +msgstr "(ismeretlen)" + +#, fuzzy msgid "No proxy defined" msgstr "Nincs aliasz definiálva.\n" @@ -1418,8 +1317,8 @@ msgstr "" #, fuzzy msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "dump | buffer | windows" @@ -1431,6 +1330,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1438,7 +1339,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -6140,6 +6040,12 @@ msgid " (fake)" msgstr "" #, fuzzy +msgid "second" +msgid_plural "seconds" +msgstr[0] "másodperc" +msgstr[1] "másodperc" + +#, fuzzy msgid "minute" msgid_plural "minutes" msgstr[0] "perc" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-01-28 09:35+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: it\n" @@ -678,96 +678,6 @@ msgstr "Plugin caricati:" msgid " written by \"%s\", license: %s" msgstr " scritto da \"%s\", licenza: %s" -msgid " commands hooked:" -msgstr " hook sui comandi:" - -msgid " command_run hooked:" -msgstr " hook su command_run:" - -msgid " timers hooked:" -msgstr " hook sui timer:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d chiamate rimaste)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "secondo" -msgstr[1] "secondi" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "millisecondo" -msgstr[1] "millisecondi" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (nessun limite per la chiamata)" - -msgid " fd hooked:" -msgstr " hook su descrittore file:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (flag: 0x%x:%s%s%s)" - -msgid " read" -msgstr " lettura" - -msgid " write" -msgstr " scrittura" - -msgid " exception" -msgstr " eccezione" - -msgid " process hooked:" -msgstr " hook sul processo:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " comando: '%s', pid figlio: %d" - -msgid " connect hooked:" -msgstr " hook sulla connessione:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " socket: %d, indirizzo: %s, porta: %d, pid figlio: %d" - -msgid " prints hooked:" -msgstr " hook sulle stampe:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " buffer: %s, messaggio: \"%s\"" - -msgid "(none)" -msgstr "(nessuno)" - -#, c-format -msgid " message: \"%s\"" -msgstr " messaggio: \"%s\"" - -msgid " signals hooked:" -msgstr " hook sui segnali:" - -#, c-format -msgid " signal: %s" -msgstr " segnale: %s" - -msgid "(all)" -msgstr "(tutti)" - -msgid " configuration options hooked:" -msgstr " hook sulle opzioni di configurazione:" - -msgid " completions hooked:" -msgstr " hook sui completamenti:" - -msgid " modifiers hooked:" -msgstr " hook sui modificatori:" - msgid "No plugin found" msgstr "Nessun plugin trovato" @@ -786,6 +696,9 @@ msgstr "Elenco di proxy:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), utente: %s, password. %s" +msgid "(none)" +msgstr "(nessuno)" + msgid "No proxy defined" msgstr "Nessun proxy definito" @@ -1494,8 +1407,8 @@ msgstr "" #, fuzzy msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <livello> || dump [<plugin>] || buffer|color|infolists|" @@ -1509,6 +1422,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1516,7 +1431,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -6909,6 +6823,11 @@ msgstr "non connesso" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "secondo" +msgstr[1] "secondi" + msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-01-28 09:35+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n" "Language-Team: Japanese <https://github.com/l/weechat/tree/master/" "translation/ja_JP>\n" @@ -716,94 +716,6 @@ msgstr "ロード済みプラグイン:" msgid " written by \"%s\", license: %s" msgstr " 作者 \"%s\"、ライセンス: %s" -msgid " commands hooked:" -msgstr " フックされたコマンド:" - -msgid " command_run hooked:" -msgstr " フックされた command_run:" - -msgid " timers hooked:" -msgstr " フックされたタイマー:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (残り %d 回の呼び出し)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "秒" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "ミリ秒" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (呼び出し回数制限なし)" - -msgid " fd hooked:" -msgstr " フックされた fd:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (フラグ: 0x%x:%s%s%s)" - -msgid " read" -msgstr " 読み" - -msgid " write" -msgstr " 書き" - -msgid " exception" -msgstr " 例外" - -msgid " process hooked:" -msgstr " フックされたプロセス:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " コマンド: '%s', 子プロセス id: %d" - -msgid " connect hooked:" -msgstr " フックされた接続:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " ソケット: %d、アドレス: %s、ポート: %d、子プロセス id: %d" - -msgid " prints hooked:" -msgstr " フックされた表示:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " バッファ: %s、メッセージ: \"%s\"" - -msgid "(none)" -msgstr "(無し)" - -#, c-format -msgid " message: \"%s\"" -msgstr " メッセージ: \"%s\"" - -msgid " signals hooked:" -msgstr " フックされたシグナル:" - -#, c-format -msgid " signal: %s" -msgstr " シグナル: %s" - -msgid "(all)" -msgstr "(全て)" - -msgid " configuration options hooked:" -msgstr " フックされた設定オプション:" - -msgid " completions hooked:" -msgstr " フックされた補完:" - -msgid " modifiers hooked:" -msgstr " フックされた修飾:" - msgid "No plugin found" msgstr "プラグインが見つかりません" @@ -822,6 +734,9 @@ msgstr "プロキシリスト:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s、%s/%d (%s)、ユーザ名: %s、パスワード: %s" +msgid "(none)" +msgstr "(無し)" + msgid "No proxy defined" msgstr "プロキシが定義されていません" @@ -1553,8 +1468,8 @@ msgstr "デバッグ関数" #| "memory|tags|term|windows || mouse|cursor [verbose] || hdata [free] || " #| "time <command>" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <level> || dump [<plugin>] || buffer|color|infolists|" @@ -1592,6 +1507,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1599,7 +1516,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -7722,6 +7638,10 @@ msgstr "未接続" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "秒" + msgid "minute" msgid_plural "minutes" msgstr[0] "分" @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:11+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Krzysztof Korościk <soltys@soltys.info>\n" "Language-Team: Polish <kde-i18n-doc@kde.org>\n" "Language: pl\n" @@ -722,98 +722,6 @@ msgstr "Załadowane wtyczki:" msgid " written by \"%s\", license: %s" msgstr " napisany przez \"%s\", licencja: %s" -msgid " commands hooked:" -msgstr " powiązane komendy:" - -msgid " command_run hooked:" -msgstr " powiązane command_run:" - -msgid " timers hooked:" -msgstr " powiązane timery:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d wywołań pozostało)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "sekunda" -msgstr[1] "sekundy" -msgstr[2] "sekund" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milisekunda" -msgstr[1] "milisekundy" -msgstr[2] "milisekund" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (brak limitu wywołań)" - -msgid " fd hooked:" -msgstr " powiązane fd:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (flagi: 0x%x:%s%s%s)" - -msgid " read" -msgstr " odczyt" - -msgid " write" -msgstr " zapis" - -msgid " exception" -msgstr " wyjątek" - -msgid " process hooked:" -msgstr " powiązany proces:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " komenda: '%s', pid potomka: %d" - -msgid " connect hooked:" -msgstr " powiązane połączenia:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " gniazdo: %d, adres: %s, port: %d,pid potomka: %d" - -msgid " prints hooked:" -msgstr " powiązane wyświetlenia:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " bufor: %s, wiadomość: \"%s\"" - -msgid "(none)" -msgstr "(brak)" - -#, c-format -msgid " message: \"%s\"" -msgstr " wiadomość: \"%s\"" - -msgid " signals hooked:" -msgstr " powiązane sygnały:" - -#, c-format -msgid " signal: %s" -msgstr " sygnał: %s" - -msgid "(all)" -msgstr "(wszystkie)" - -msgid " configuration options hooked:" -msgstr " powiązane opcje konfiguracyjne:" - -msgid " completions hooked:" -msgstr " powiązane dopełnienia:" - -msgid " modifiers hooked:" -msgstr " powiązane modyfikatory:" - msgid "No plugin found" msgstr "Nie znaleziono wtyczki" @@ -830,6 +738,9 @@ msgstr "Lista proxy:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), użytkownik: %s, hasło: %s" +msgid "(none)" +msgstr "(brak)" + msgid "No proxy defined" msgstr "Nie zdefiniowano proxy" @@ -1589,14 +1500,15 @@ msgid "debug functions" msgstr "funkcje debugujące" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" -"list || set <wtyczka> <poziom> || dump [<wtyczka>] || buffer|certs|color|" -"dirs|hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] " +"list || set <wtyczka> <poziom> || dump|hooks [<wtyczka>] || buffer|certs|" +"color|dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] " "|| hdata [free] || time <komenda>" +#, fuzzy msgid "" " list: list plugins with debug levels\n" " set: set debug level for plugin\n" @@ -1604,6 +1516,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1611,7 +1525,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -1628,6 +1541,7 @@ msgstr "" " poziom: poziom debugowania wtyczki (0 = wyłączony)\n" " dump: zachowuje zrzut pamięci w pliku z logiem WeeChat (taki sam zrzut " "jest zapisywany podczas awarii WeeChat)\n" +" hooks: wyświetla informacje o hooks\n" " buffer: zrzuca zawartość bufora z wartościami heksadecymalnymi do pliku z " "logiem\n" " certs: wyświetla ilość załadowanych zaufanych centrów certyfikacyjnych\n" @@ -1636,7 +1550,6 @@ msgstr "" " dirs: wyświetla katalogi\n" " hdata: wyświetla informacje o hdata (z free: usuwa wszystkie hdata z " "pamięci)\n" -" hooks: wyświetla informacje o hooks\n" "infolists: wyświetla informacje o infolistach\n" " libs: wyświetla informacje o użytych zewnętrznych bibliotekach\n" " memory: wyświetla informacje o zużyciu pamięci\n" @@ -8037,6 +7950,12 @@ msgstr "nie połączony" msgid " (fake)" msgstr " (fałszywy)" +msgid "second" +msgid_plural "seconds" +msgstr[0] "sekunda" +msgstr[1] "sekundy" +msgstr[2] "sekund" + msgid "minute" msgid_plural "minutes" msgstr[0] "minutę" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-01-28 09:35+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Vasco Almeida <vascomalmeida@sapo.pt>\n" "Language-Team: Portuguese <>\n" "Language: pt\n" @@ -703,96 +703,6 @@ msgstr "Plugins carregados:" msgid " written by \"%s\", license: %s" msgstr " escrito por \"%s\", licença: %s" -msgid " commands hooked:" -msgstr " comandos ligados:" - -msgid " command_run hooked:" -msgstr " command_run ligados:" - -msgid " timers hooked:" -msgstr " temporizadores ligados:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (faltam %d invocações)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "segundo" -msgstr[1] "segundos" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milissegundo" -msgstr[1] "milissegundos" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (sem limite de invocações)" - -msgid " fd hooked:" -msgstr " ficheiro ligados:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (flags: 0x%x:%s%s%s)" - -msgid " read" -msgstr " leitura" - -msgid " write" -msgstr " escrita" - -msgid " exception" -msgstr " exceção" - -msgid " process hooked:" -msgstr " preocessos ligados:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " comando: '%s', pid do filho: %d" - -msgid " connect hooked:" -msgstr " conexões ligadas:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " socket: %d, endereço: %s, porta: %d, pid do filho: %d" - -msgid " prints hooked:" -msgstr " impressões ligadas:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " buffer: %s, mensagem: \"%s\"" - -msgid "(none)" -msgstr "(nenhum)" - -#, c-format -msgid " message: \"%s\"" -msgstr " mensagem: \"%s\"" - -msgid " signals hooked:" -msgstr " sinais ligados:" - -#, c-format -msgid " signal: %s" -msgstr " sinal: %s" - -msgid "(all)" -msgstr "(todos)" - -msgid " configuration options hooked:" -msgstr " opções de configuração ligadas:" - -msgid " completions hooked:" -msgstr " completações ligadas:" - -msgid " modifiers hooked:" -msgstr " modificadores ligados:" - msgid "No plugin found" msgstr "Nenhum plugin encontrado" @@ -811,6 +721,9 @@ msgstr "Lista de proxies:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), utilizador: %s, palavra-passe: %s" +msgid "(none)" +msgstr "(nenhum)" + msgid "No proxy defined" msgstr "Nenhum proxy definido" @@ -1556,8 +1469,8 @@ msgstr "funções de debug" #| "memory|tags|term|windows || mouse|cursor [verbose] || hdata [free] || " #| "time <command>" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <nível> || dump [<plugin>] || buffer|color|infolists|" @@ -1595,6 +1508,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1602,7 +1517,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -7504,6 +7418,11 @@ msgstr "não conectado" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "segundo" +msgstr[1] "segundos" + msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" diff --git a/po/pt_BR.po b/po/pt_BR.po index 40ffef9de..c69846cb4 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: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-01-28 09:35+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Érico Nogueira <ericonr@disroot.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: pt_BR\n" @@ -714,96 +714,6 @@ msgstr "Plugins carregados:" msgid " written by \"%s\", license: %s" msgstr " escrito por \"%s\", licença: %s" -msgid " commands hooked:" -msgstr " comandos relacionados:" - -msgid " command_run hooked:" -msgstr " command_run relacionado:" - -msgid " timers hooked:" -msgstr " timers relacionados:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d chamadas restantes)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "segundo" -msgstr[1] "segundos" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milisegundo" -msgstr[1] "milisegundos" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (nenhum limite de chamadas)" - -msgid " fd hooked:" -msgstr " fd relacionado:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (marcadores: 0x%x:%s%s%s)" - -msgid " read" -msgstr " ler" - -msgid " write" -msgstr " escrever" - -msgid " exception" -msgstr " exceção" - -msgid " process hooked:" -msgstr " processos relacionados:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " comando: '%s', pid do filho: %d" - -msgid " connect hooked:" -msgstr " conexões relacionadas:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " socket: %d, endereço: %s, porta: %d, pid do filho: %d" - -msgid " prints hooked:" -msgstr " impressões relacionadas:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " buffer: %s, mensagem: \"%s\"" - -msgid "(none)" -msgstr "(nenhum)" - -#, c-format -msgid " message: \"%s\"" -msgstr " mensagem: \"%s\"" - -msgid " signals hooked:" -msgstr " sinais relacionados:" - -#, c-format -msgid " signal: %s" -msgstr " sinal: %s" - -msgid "(all)" -msgstr "(todos)" - -msgid " configuration options hooked:" -msgstr " opções de configuração relacionadas:" - -msgid " completions hooked:" -msgstr " completações relacionadas:" - -msgid " modifiers hooked:" -msgstr " modificadores relacionados:" - msgid "No plugin found" msgstr "Nenhum plugin encontrado" @@ -822,6 +732,9 @@ msgstr "Lista de proxys:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), nome de usuário: %s, senha: %s" +msgid "(none)" +msgstr "(nenhum)" + msgid "No proxy defined" msgstr "Nenhum proxy definido" @@ -1557,8 +1470,8 @@ msgstr "" # find a better translation do log? #, fuzzy msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" "list || set <plugin> <nível> || dump [<plugin>] || buffer|color|cursor|" @@ -1573,6 +1486,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1580,7 +1495,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -6805,6 +6719,11 @@ msgstr "não conectado" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "segundo" +msgstr[1] "segundos" + msgid "minute" msgid_plural "minutes" msgstr[0] "minuto" @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2021-12-03 12:02+0100\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: ru\n" @@ -711,113 +711,6 @@ msgid " written by \"%s\", license: %s" msgstr " автор \"%s\", лицензия: %s" #, fuzzy -msgid " commands hooked:" -msgstr " обработчики команд:\n" - -#, fuzzy -msgid " command_run hooked:" -msgstr " обработчики команд:\n" - -#, fuzzy -msgid " timers hooked:" -msgstr " обработчики таймера:\n" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d вызовов осталось)" - -#, fuzzy -msgid "second" -msgid_plural "seconds" -msgstr[0] "секунда" -msgstr[1] "секунда" -msgstr[2] "секунда" - -#, fuzzy -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "секунда" -msgstr[1] "секунда" -msgstr[2] "секунда" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (без ограничений)" - -#, fuzzy -msgid " fd hooked:" -msgstr " обработчики команд:\n" - -#, fuzzy, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d секунд\n" - -msgid " read" -msgstr " чтение" - -msgid " write" -msgstr " запись" - -#, fuzzy -msgid " exception" -msgstr " . описание: %s\n" - -#, fuzzy -msgid " process hooked:" -msgstr " обработчики таймера:\n" - -#, fuzzy, c-format -msgid " command: '%s', child pid: %d" -msgstr " IRC(%s)\n" - -#, fuzzy -msgid " connect hooked:" -msgstr " обработчики команд:\n" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " соккет: %d, адрес: %s, порт: %d, child pid: %d" - -#, fuzzy -msgid " prints hooked:" -msgstr " обработчики таймера:\n" - -#, fuzzy, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " (нет обработчика сообщений)\n" - -#, fuzzy -msgid "(none)" -msgstr "(неизвестен)" - -#, fuzzy, c-format -msgid " message: \"%s\"" -msgstr " (нет обработчика сообщений)\n" - -#, fuzzy -msgid " signals hooked:" -msgstr " обработчики сообщений:\n" - -#, fuzzy, c-format -msgid " signal: %s" -msgstr " IRC(%s)\n" - -msgid "(all)" -msgstr "(все)" - -#, fuzzy -msgid " configuration options hooked:" -msgstr "настроить параметры конфигурации" - -#, fuzzy -msgid " completions hooked:" -msgstr " обработчики команд:\n" - -#, fuzzy -msgid " modifiers hooked:" -msgstr " обработчики таймера:\n" - -#, fuzzy msgid "No plugin found" msgstr "Plugin не найден\n" @@ -838,6 +731,10 @@ msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), имя пользователя: %s, пароль: %s" #, fuzzy +msgid "(none)" +msgstr "(неизвестен)" + +#, fuzzy msgid "No proxy defined" msgstr "Сокращения не заданы.\n" @@ -1440,8 +1337,8 @@ msgstr "" #, fuzzy msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "dump | buffer | windows" @@ -1453,6 +1350,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1460,7 +1359,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -6180,6 +6078,13 @@ msgid " (fake)" msgstr "" #, fuzzy +msgid "second" +msgid_plural "seconds" +msgstr[0] "секунда" +msgstr[1] "секунда" +msgstr[2] "секунда" + +#, fuzzy msgid "minute" msgid_plural "minutes" msgstr[0] "минута" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:12+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Ivan Pešić <ivan.pesic@gmail.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: sr\n" @@ -716,98 +716,6 @@ msgstr "Учитани додаци:" msgid " written by \"%s\", license: %s" msgstr " написао „%s”, лиценца: %s" -msgid " commands hooked:" -msgstr " прикачене команде:" - -msgid " command_run hooked:" -msgstr " прикачене command_run:" - -msgid " timers hooked:" -msgstr " прикачени тајмери:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (преостаје %d позива)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "секунда" -msgstr[1] "секунде" -msgstr[2] "секунди" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "милисекунда" -msgstr[1] "милисекунде" -msgstr[2] "милисекунди" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (нема ограничења позива)" - -msgid " fd hooked:" -msgstr " прикачени fd:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (заставице: 0x%x:%s%s%s)" - -msgid " read" -msgstr " читања" - -msgid " write" -msgstr " уписа" - -msgid " exception" -msgstr " изузетака" - -msgid " process hooked:" -msgstr " прикачени process:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " команда: ’%s’, pid дете процеса: %d" - -msgid " connect hooked:" -msgstr " прикачени connect:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " сокет: %d, адреса: %s, порт: %d, pid дете процеса: %d" - -msgid " prints hooked:" -msgstr " прикачени исписи:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " бафер: %s, порука: „%s”" - -msgid "(none)" -msgstr "(ништа)" - -#, c-format -msgid " message: \"%s\"" -msgstr " порука: „%s”" - -msgid " signals hooked:" -msgstr " прикачени сигнали:" - -#, c-format -msgid " signal: %s" -msgstr " сигнал: %s" - -msgid "(all)" -msgstr "(све)" - -msgid " configuration options hooked:" -msgstr " прикачене конфигурационе опције:" - -msgid " completions hooked:" -msgstr " прикачена довршавања:" - -msgid " modifiers hooked:" -msgstr " прикачени модификатори:" - msgid "No plugin found" msgstr "Није пронађен ниједан додатак" @@ -824,6 +732,9 @@ msgstr "Листа проксија:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), корисничко име: %s, лозинка: %s" +msgid "(none)" +msgstr "(ништа)" + msgid "No proxy defined" msgstr "Није дефинисан ниједан прокси" @@ -1578,14 +1489,15 @@ msgid "debug functions" msgstr "дибаг функције" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" -"list || set <додатак> <ниво> || dump [<додатак>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <додатак> <ниво> || dump|hooks [<додатак>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <команда>" +#, fuzzy msgid "" " list: list plugins with debug levels\n" " set: set debug level for plugin\n" @@ -1593,6 +1505,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1600,7 +1514,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -1617,13 +1530,13 @@ msgstr "" " ниво: дибаг ниво за додатак (0 = искључује дибаг)\n" " dump: чува садржај меморије у WeeChat лог фајл (исти садржај се " "записује када се програм WeeChat сруши)\n" +" hooks: исписује инфо о кукама\n" " buffer: уписује у лог фајл садржај бафера као хексадецималне вредности\n" " certs: приказује број учитаних ауторитета сертификата којима се верује\n" " color: приказује инфо о тренутним паровима боја\n" " cursor: пребацује дибаг за режим померања курсора\n" " dirs: исписује директоријуме\n" " hdata: исписује инфо о hdata (са free: уклања све hdata из меморије)\n" -" hooks: исписује инфо о кукама\n" "infolists: исписује инфо о инфолистама\n" " libs: исписује инфо о коришћеним спољним библиотекама\n" " memory: исписује инфо о употреби меморије\n" @@ -8023,6 +7936,12 @@ msgstr "није повезан" msgid " (fake)" msgstr " (лажни)" +msgid "second" +msgid_plural "seconds" +msgstr[0] "секунда" +msgstr[1] "секунде" +msgstr[2] "секунди" + msgid "minute" msgid_plural "minutes" msgstr[0] "минут" @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2022-04-23 19:04+0200\n" -"PO-Revision-Date: 2022-04-23 19:12+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+0200\n" +"PO-Revision-Date: 2022-04-24 10:20+0200\n" "Last-Translator: Emir SARI <emir_sari@icloud.com>\n" "Language-Team: weechat-dev <weechat-dev@nongnu.org>\n" "Language: tr\n" @@ -709,94 +709,6 @@ msgstr "Yüklü eklentiler:" msgid " written by \"%s\", license: %s" msgstr " \"%s\" tarafından yazıldı, lisans: %s" -msgid " commands hooked:" -msgstr " kancalanan komutlar:" - -msgid " command_run hooked:" -msgstr " kancalanan command_run:" - -msgid " timers hooked:" -msgstr " kancalanan zamanlayıcılar:" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr " %d %s (%d kalan çağrı)" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "saniye" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "milisaniye" - -#, c-format -msgid " %d %s (no call limit)" -msgstr " %d %s (çağrı limiti yok)" - -msgid " fd hooked:" -msgstr " kancalanan fd:" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr " %d (bayraklar: 0x%x:%s%s%s)" - -msgid " read" -msgstr " okuma" - -msgid " write" -msgstr " yazma" - -msgid " exception" -msgstr " istisna" - -msgid " process hooked:" -msgstr " kancalanan işlem:" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr " komut: '%s', alt pid: %d" - -msgid " connect hooked:" -msgstr " kancalanan bağlantı:" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr " soket: %d, adres: %s, kapı: %d, alt pid: %d" - -msgid " prints hooked:" -msgstr " kancalanan yazdırmalar:" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr " arabellek: %s, ileti: \"%s\"" - -msgid "(none)" -msgstr "(hiçbiri)" - -#, c-format -msgid " message: \"%s\"" -msgstr " ileti: \"%s\"" - -msgid " signals hooked:" -msgstr " kancalanan sinyaller:" - -#, c-format -msgid " signal: %s" -msgstr " sinyal: %s" - -msgid "(all)" -msgstr "(tümü)" - -msgid " configuration options hooked:" -msgstr " kancalanan yapılandırma seçenekleri:" - -msgid " completions hooked:" -msgstr " kancalanan tamamlamalar:" - -msgid " modifiers hooked:" -msgstr " kancalanan değiştiriciler:" - msgid "No plugin found" msgstr "Eklenti bulunamadı" @@ -813,6 +725,9 @@ msgstr "Vekiller listesi:" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr " %s%s%s: %s, %s/%d (%s), kullanıcı adı: %s, parola: %s" +msgid "(none)" +msgstr "(hiçbiri)" + msgid "No proxy defined" msgstr "Hiçbir vekil tanımlanmadı" @@ -1553,14 +1468,15 @@ msgid "debug functions" msgstr "hata ayıklama işlevleri" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" -"list || set <eklenti> <düzey> || dump [<eklenti>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " -"hdata [free] || time <komut>" +"list || set <eklenti> <düzey> || dump|hooks [<eklenti>] || buffer|certs|" +"color|dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] " +"|| hdata [free] || time <komut>" +#, fuzzy msgid "" " list: list plugins with debug levels\n" " set: set debug level for plugin\n" @@ -1568,6 +1484,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1575,7 +1493,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -1592,6 +1509,7 @@ msgstr "" " düzey: eklenti için hata ayıklama düzeyi (0 = hata ayıklama kapat)\n" " dump: bellek dökümünü WeeChat günlüğe kaydet (çöktüğünde de aynısı " "yazılır)\n" +" hooks: kancalar hakkında bilgi görüntüle\n" " buffer: onaltılı değer içeren döküm içeriğini günlük dosyasına yaz\n" " certs: yüklü güvenilen sertifika otoritesini görüntüle\n" " color: geçerli renk eşleri için bilgi görüntüle\n" @@ -1599,7 +1517,6 @@ msgstr "" " dirs: dizinleri görüntüle\n" " hdata: hdata hakkında bilgi görüntüle (free: bellekteki tüm hdata'yı " "kaldır\n" -" hooks: kancalar hakkında bilgi görüntüle\n" "infolists: bilgi listeleri hakkında bilgi görüntüle\n" " libs: kullanılan kitaplıklar için bilgi görüntüle\n" " memory: bellek kullanımı hakkında bilgi görüntüle\n" @@ -7895,6 +7812,10 @@ msgstr "bağlanmadı" msgid " (fake)" msgstr " (sahte)" +msgid "second" +msgid_plural "seconds" +msgstr[0] "saniye" + msgid "minute" msgid_plural "minutes" msgstr[0] "dakika" diff --git a/po/weechat.pot b/po/weechat.pot index 81e59fb99..4815fa771 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: 2022-04-23 19:04+0200\n" +"POT-Creation-Date: 2022-04-24 10:10+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" @@ -638,96 +638,6 @@ msgstr "" msgid " written by \"%s\", license: %s" msgstr "" -msgid " commands hooked:" -msgstr "" - -msgid " command_run hooked:" -msgstr "" - -msgid " timers hooked:" -msgstr "" - -#, c-format -msgid " %d %s (%d calls remaining)" -msgstr "" - -msgid "second" -msgid_plural "seconds" -msgstr[0] "" -msgstr[1] "" - -msgid "millisecond" -msgid_plural "milliseconds" -msgstr[0] "" -msgstr[1] "" - -#, c-format -msgid " %d %s (no call limit)" -msgstr "" - -msgid " fd hooked:" -msgstr "" - -#, c-format -msgid " %d (flags: 0x%x:%s%s%s)" -msgstr "" - -msgid " read" -msgstr "" - -msgid " write" -msgstr "" - -msgid " exception" -msgstr "" - -msgid " process hooked:" -msgstr "" - -#, c-format -msgid " command: '%s', child pid: %d" -msgstr "" - -msgid " connect hooked:" -msgstr "" - -#, c-format -msgid " socket: %d, address: %s, port: %d, child pid: %d" -msgstr "" - -msgid " prints hooked:" -msgstr "" - -#, c-format -msgid " buffer: %s, message: \"%s\"" -msgstr "" - -msgid "(none)" -msgstr "" - -#, c-format -msgid " message: \"%s\"" -msgstr "" - -msgid " signals hooked:" -msgstr "" - -#, c-format -msgid " signal: %s" -msgstr "" - -msgid "(all)" -msgstr "" - -msgid " configuration options hooked:" -msgstr "" - -msgid " completions hooked:" -msgstr "" - -msgid " modifiers hooked:" -msgstr "" - msgid "No plugin found" msgstr "" @@ -744,6 +654,9 @@ msgstr "" msgid " %s%s%s: %s, %s/%d (%s), username: %s, password: %s" msgstr "" +msgid "(none)" +msgstr "" + msgid "No proxy defined" msgstr "" @@ -1279,8 +1192,8 @@ msgid "debug functions" msgstr "" msgid "" -"list || set <plugin> <level> || dump [<plugin>] || buffer|certs|color|dirs|" -"hooks|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " +"list || set <plugin> <level> || dump|hooks [<plugin>] || buffer|certs|color|" +"dirs|infolists|libs|memory|tags|term|windows || mouse|cursor [verbose] || " "hdata [free] || time <command>" msgstr "" @@ -1291,6 +1204,8 @@ msgid "" " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is written when " "WeeChat crashes)\n" +" hooks: display infos about hooks (with a plugin: display detailed info " +"about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -1298,7 +1213,6 @@ msgid "" " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata in " "memory)\n" -" hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -5647,6 +5561,11 @@ msgstr "" msgid " (fake)" msgstr "" +msgid "second" +msgid_plural "seconds" +msgstr[0] "" +msgstr[1] "" + msgid "minute" msgid_plural "minutes" msgstr[0] "" diff --git a/src/core/wee-command.c b/src/core/wee-command.c index eb9eb0900..7ba936591 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -1910,7 +1910,10 @@ COMMAND_CALLBACK(debug) if (string_strcasecmp (argv[1], "hooks") == 0) { - debug_hooks (); + if (argc > 2) + debug_hooks_plugin (argv[2]); + else + debug_hooks (); return WEECHAT_RC_OK; } @@ -4425,8 +4428,7 @@ void command_plugin_list (const char *name, int full) { struct t_weechat_plugin *ptr_plugin; - struct t_hook *ptr_hook; - int plugins_found, hook_found, interval; + int plugins_found; if (!name) { @@ -4465,232 +4467,6 @@ command_plugin_list (const char *name, int full) _(" written by \"%s\", license: %s"), ptr_plugin->author, ptr_plugin->license); - - /* commands hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_COMMAND]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, _(" commands hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - " /%s %s%s%s", - HOOK_COMMAND(ptr_hook, command), - HOOK_COMMAND(ptr_hook, description) ? "(" : "", - HOOK_COMMAND(ptr_hook, description) ? - HOOK_COMMAND(ptr_hook, description) : "", - HOOK_COMMAND(ptr_hook, description) ? ")" : ""); - } - } - - /* command_run hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_COMMAND_RUN]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, _(" command_run hooked:")); - hook_found = 1; - gui_chat_printf (NULL, " %s", - HOOK_COMMAND_RUN(ptr_hook, command)); - } - } - - /* timers hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_TIMER]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, _(" timers hooked:")); - hook_found = 1; - interval = (HOOK_TIMER(ptr_hook, interval) % 1000 == 0) ? - HOOK_TIMER(ptr_hook, interval) / 1000 : - HOOK_TIMER(ptr_hook, interval); - if (HOOK_TIMER(ptr_hook, remaining_calls) > 0) - gui_chat_printf (NULL, - _(" %d %s " - "(%d calls remaining)"), - interval, - (HOOK_TIMER(ptr_hook, interval) % 1000 == 0) ? - (NG_("second", "seconds", interval)) : - (NG_("millisecond", "milliseconds", interval)), - HOOK_TIMER(ptr_hook, remaining_calls)); - else - gui_chat_printf (NULL, - _(" %d %s " - "(no call limit)"), - interval, - (HOOK_TIMER(ptr_hook, interval) % 1000 == 0) ? - (NG_("second", "seconds", interval)) : - (NG_("millisecond", "milliseconds", interval))); - } - } - - /* fd hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_FD]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" fd hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - _(" %d (flags: 0x%x:%s%s%s)"), - HOOK_FD(ptr_hook, fd), - HOOK_FD(ptr_hook, flags), - (HOOK_FD(ptr_hook, flags) & HOOK_FD_FLAG_READ) ? - _(" read") : "", - (HOOK_FD(ptr_hook, flags) & HOOK_FD_FLAG_WRITE) ? - _(" write") : "", - (HOOK_FD(ptr_hook, flags) & HOOK_FD_FLAG_EXCEPTION) ? - _(" exception") : ""); - } - } - - /* process hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_PROCESS]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" process hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - _(" command: '%s', child " - "pid: %d"), - (HOOK_PROCESS(ptr_hook, command)), - HOOK_PROCESS(ptr_hook, child_pid)); - } - } - - /* connect hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_CONNECT]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" connect hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - _(" socket: %d, address: %s, " - "port: %d, child pid: %d"), - HOOK_CONNECT(ptr_hook, sock), - HOOK_CONNECT(ptr_hook, address), - HOOK_CONNECT(ptr_hook, port), - HOOK_CONNECT(ptr_hook, child_pid)); - } - } - - /* prints hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_PRINT]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, _(" prints hooked:")); - hook_found = 1; - if (HOOK_PRINT(ptr_hook, buffer)) - gui_chat_printf (NULL, - _(" buffer: %s, message: \"%s\""), - HOOK_PRINT(ptr_hook, buffer)->name, - HOOK_PRINT(ptr_hook, message) ? - HOOK_PRINT(ptr_hook, message) : _("(none)")); - else - gui_chat_printf (NULL, - _(" message: \"%s\""), - HOOK_PRINT(ptr_hook, message) ? - HOOK_PRINT(ptr_hook, message) : _("(none)")); - } - } - - /* signals hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_SIGNAL]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, _(" signals hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - _(" signal: %s"), - HOOK_SIGNAL(ptr_hook, signal) ? - HOOK_SIGNAL(ptr_hook, signal) : _("(all)")); - } - } - - /* configuration options hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_CONFIG]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" configuration options " - "hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - " %s", - HOOK_CONFIG(ptr_hook, option) ? - HOOK_CONFIG(ptr_hook, option) : "*"); - } - } - - /* completion hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_COMPLETION]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" completions hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - " %s", - HOOK_COMPLETION(ptr_hook, completion_item)); - } - } - - /* modifier hooked */ - hook_found = 0; - for (ptr_hook = weechat_hooks[HOOK_TYPE_MODIFIER]; ptr_hook; - ptr_hook = ptr_hook->next_hook) - { - if (!ptr_hook->deleted && (ptr_hook->plugin == ptr_plugin)) - { - if (!hook_found) - gui_chat_printf (NULL, - _(" modifiers hooked:")); - hook_found = 1; - gui_chat_printf (NULL, - " %s", - HOOK_MODIFIER(ptr_hook, modifier)); - } - } } else { @@ -7626,8 +7402,8 @@ command_init () N_("debug functions"), N_("list" " || set <plugin> <level>" - " || dump [<plugin>]" - " || buffer|certs|color|dirs|hooks|infolists|libs|memory|tags|" + " || dump|hooks [<plugin>]" + " || buffer|certs|color|dirs|infolists|libs|memory|tags|" "term|windows" " || mouse|cursor [verbose]" " || hdata [free]" @@ -7638,6 +7414,8 @@ command_init () " level: debug level for plugin (0 = disable debug)\n" " dump: save memory dump in WeeChat log file (same dump is " "written when WeeChat crashes)\n" + " hooks: display infos about hooks (with a plugin: display " + "detailed info about hooks created by the plugin)\n" " buffer: dump buffer content with hexadecimal values in log file\n" " certs: display number of loaded trusted certificate authorities\n" " color: display infos about current color pairs\n" @@ -7645,7 +7423,6 @@ command_init () " dirs: display directories\n" " hdata: display infos about hdata (with free: remove all hdata " "in memory)\n" - " hooks: display infos about hooks\n" "infolists: display infos about infolists\n" " libs: display infos about external libraries used\n" " memory: display infos about memory usage\n" @@ -7664,7 +7441,7 @@ command_init () " || cursor verbose" " || dirs" " || hdata free" - " || hooks" + " || hooks %(plugins_names)|" PLUGIN_CORE " || infolists" " || libs" " || memory" diff --git a/src/core/wee-debug.c b/src/core/wee-debug.c index 50cf865bb..bd425fc8d 100644 --- a/src/core/wee-debug.c +++ b/src/core/wee-debug.c @@ -434,6 +434,103 @@ debug_hooks () } /* + * Displays info about hooks for a specific plugin. + */ + +void +debug_hooks_plugin (const char *plugin_name) +{ + struct t_weechat_plugin *ptr_plugin; + struct t_hook *ptr_hook; + char *desc, **result, **result_type, str_type[128]; + int i, count_total, count_type; + + if (!plugin_name) + return; + + if (strcmp (plugin_name, PLUGIN_CORE) == 0) + { + ptr_plugin = NULL; + } + else + { + ptr_plugin = plugin_search (plugin_name); + if (!ptr_plugin) + { + gui_chat_printf (NULL, "%sPlugin \"%s\" not found", + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + plugin_name); + return; + } + } + + result = string_dyn_alloc (1024); + if (!result) + return; + + result_type = string_dyn_alloc (1024); + if (!result_type) + { + string_dyn_free (result, 1); + return; + } + + count_total = 0; + + for (i = 0; i < HOOK_NUM_TYPES; i++) + { + count_type = 0; + string_dyn_copy (result_type, NULL); + + for (ptr_hook = weechat_hooks[i]; ptr_hook; + ptr_hook = ptr_hook->next_hook) + { + if (ptr_hook->deleted || (ptr_hook->plugin != ptr_plugin)) + continue; + + desc = hook_get_description (ptr_hook); + if (desc) + { + string_dyn_concat (result_type, " ", -1); + string_dyn_concat (result_type, desc, -1); + string_dyn_concat (result_type, "\n", -1); + free (desc); + } + count_type++; + } + + snprintf (str_type, sizeof (str_type), + " %s (%d)%s\n", + hook_type_string[i], + count_type, + (count_type > 0) ? ":" : ""); + string_dyn_concat (result, str_type, -1); + + if (count_type > 0) + string_dyn_concat (result, *result_type, -1); + + count_total += count_type; + } + + if (count_total > 0) + { + gui_chat_printf (NULL, ""); + gui_chat_printf (NULL, + "hooks in plugin \"%s\" (%d)%s", + plugin_name, + count_total, + (count_total > 0) ? ":" : ""); + gui_chat_printf (NULL, *result); + } + else + { + gui_chat_printf (NULL, "No hooks in plugin \"%s\"", plugin_name); + } + string_dyn_free (result, 1); + string_dyn_free (result_type, 1); +} + +/* * Displays a list of infolists in memory. */ diff --git a/src/core/wee-debug.h b/src/core/wee-debug.h index b0dea23fc..dbf2675a8 100644 --- a/src/core/wee-debug.h +++ b/src/core/wee-debug.h @@ -29,6 +29,7 @@ extern void debug_windows_tree (); extern void debug_memory (); extern void debug_hdata (); extern void debug_hooks (); +extern void debug_hooks_plugin (const char *plugin_name); extern void debug_infolists (); extern void debug_directories (); extern void debug_display_time_elapsed (struct timeval *time1, |